FET Forum

FET Support (International) => Moroccan Arabic / (العربية (المغربية => Topic started by: Omar Ben Ali on August 30, 2018, 10:40:11 PM

Title: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 10:40:11 PM
Hi
I set the constraint " min hours daily for all students"=2 with WP=100% and allow empty day. Here fet respect minimum 2 hours daily for fet days (half day) but allow reel empty day. But this is unacceptable for students to have entire free day. So the solution is to use the constraint "a set of activities occupiers max time from selection" to all subgroups to force fet to give all students minimum 2 hours a day. So i was obliged to apply this constraint 240 times (I have 40 subgroups) which is painful.
Also i noticed that this slowed down considerably fet.
Is there an easy solution to this problem for having 2 hours a day with possible half free day but not a full free day?
Thanks
Title: Re: On the constraint " min hours daily for all students"
Post by: Liviu Lalescu on August 30, 2018, 10:50:38 PM
The slowdown comes because the timetable is more difficult to find, not because there are many constraints "occupy".

The only problem is that you need to add many constraints, which is very tedious.

I could try to make you a customized version, but I am not sure if it is not too complicated. Let me know if you need it.
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 10:53:08 PM
Quote from: Liviu Lalescu on August 30, 2018, 10:50:38 PM
The slowdown comes because the timetable is more difficult to find, not because there are many constraints "occupy".
I mean the two constraints combined slow down considerably fet and the timetable become difficult.
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 10:55:46 PM
Quote from: Liviu Lalescu on August 30, 2018, 10:50:38 PM
The only problem is that you need to add many constraints, which is very tedious.

I could try to make you a customized version, but I am not sure if it is not too complicated. Let me know if you need it.

Thank you Liviu for your generosity . i think my request will be useful for many users of moroccan fet version.
Title: Re: On the constraint " min hours daily for all students"
Post by: Liviu Lalescu on August 30, 2018, 10:56:20 PM
Quote from: Omar Ben Ali on August 30, 2018, 10:53:08 PM
I mean the two constraints combined slow down considerably fet and the timetable become difficult.

I don't understand. I just meant that even if you add very many constraints "activities occupy" the time will not slow because there are too many, but because the timetable is more difficult.
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 11:07:16 PM
Quote from: Liviu Lalescu on August 30, 2018, 10:56:20 PM
Quote from: Omar Ben Ali on August 30, 2018, 10:53:08 PM
I mean the two constraints combined slow down considerably fet and the timetable become difficult.

I don't understand. I just meant that even if you add very many constraints "activities occupy" the time will not slow because there are too many, but because the timetable is more difficult.

I think the problem come from the constraint "min hours daily" because it is not highly optimized like "activities occupy"
Title: Re: On the constraint " min hours daily for all students"
Post by: Liviu Lalescu on August 30, 2018, 11:08:56 PM
Quote from: Omar Ben Ali on August 30, 2018, 11:07:16 PM
I think the problem come from the constraint "min hours daily" because it is not highly optimized like "activities occupy"

It is highly optimized.
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 11:12:29 PM
I found in the forum the same request
https://lalescu.ro/liviu/fet/forum/index.php?topic=1928.msg10446#msg10446
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 11:16:12 PM
Quote from: Liviu Lalescu on August 30, 2018, 11:08:56 PM
Quote from: Omar Ben Ali on August 30, 2018, 11:07:16 PM
I think the problem come from the constraint "min hours daily" because it is not highly optimized like "activities occupy"

It is highly optimized.

I thought that the symbol ! before this constraint mean that is not highly oblimized
Title: Re: On the constraint " min hours daily for all students"
Post by: Liviu Lalescu on August 30, 2018, 11:18:27 PM
Quote from: Omar Ben Ali on August 30, 2018, 11:16:12 PM
I thought that the symbol ! before this constraint mean that is not highly oblimized

No, it means that it is advanced usage, with "allow empty days". Anyway, even the other "!" constraints are OK (activity tag max hours daily and students max gaps per day. It is too difficult to make these perfect).
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 11:21:29 PM
Quote from: Liviu Lalescu on August 30, 2018, 11:18:27 PM
Quote from: Omar Ben Ali on August 30, 2018, 11:16:12 PM
I thought that the symbol ! before this constraint mean that is not highly oblimized

No, it means that it is advanced usage, with "allow empty days". Anyway, even the other "!" constraints are OK (activity tag max hours daily and students max gaps per day. It is too difficult to make these perfect).

Ok, thank you . i understood now .
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 11:30:05 PM
In this link
https://lalescu.ro/liviu/fet/forum/index.php?topic=1928.msg10446#msg10446
I see that you have made a customized version of fet to Jillali .
Is is still available?
Thank you once again.
Title: Re: On the constraint " min hours daily for all students"
Post by: Liviu Lalescu on August 30, 2018, 11:32:06 PM
It seems that the public FET-Morocco is OK for you. You just need to uncheck "Allow empty days", as in my screenshot below.
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 11:36:04 PM
Quote from: Liviu Lalescu on August 30, 2018, 11:32:06 PM
It seems that the public FET-Morocco is OK for you. You just need to uncheck "Allow empty days", as in my screenshot below.
I think that it is not practical to bring young students every a half day for 2 hours. The best alternative is to study 4 hours in half day and having the other half day free.
Title: Re: On the constraint " min hours daily for all students"
Post by: Liviu Lalescu on August 30, 2018, 11:42:50 PM
Quote from: Omar Ben Ali on August 30, 2018, 11:36:04 PM
Quote from: Liviu Lalescu on August 30, 2018, 11:32:06 PM
It seems that the public FET-Morocco is OK for you. You just need to uncheck "Allow empty days", as in my screenshot below.
I think that it is not practical to bring young students every a half day for 2 hours. The best alternative is to study 4 hours in half day and having the other half day free.

It is what you need. Just do as in my screenshot and see the timetable. It will work. It allows 4 hours morning and 0 afternoon, or inverse.
Title: Re: On the constraint " min hours daily for all students"
Post by: Omar Ben Ali on August 30, 2018, 11:46:50 PM
Ok I will try. Thank you for your help.