أMaximum gaps between morning and afternoon

Started by dey lyamine, July 26, 2020, 09:42:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dey lyamine

Mr. Liviu: How We avoid gaps in the real day between the morning and the afternoon, for example a professor works from 08.00 to 10.00 and is waiting
for evening work from 13.00 to 16.00, how do we make him work from 10.00 to 12.00 and then work in the evening from 13.00 to 1600

Liviu Lalescu

This should be possible with the constraint max 0 gaps per real day (enable it first, without worrying about the message).

Please tell me, in your situation, work time is 8-12 and 13-17, with a one hour break in between, and gaps in the timetable in the morning/afternoon are not allowed?

Benahmed Abdelkrim


كما قال ليفيو، هنالك قيد يمكن من التقليل من الفجوات بين الصباح و ما بعد الظهر؛ أقصى فجوات في يوم حقيقي للمدرس(كل المدرسين) يمكن مع أقصى فجوات >=0. لكن أعتقد أن القيمة صفر(0) ستجعل الجدول الزمني صعبا أو مستحيلا. من الأفضل التجريب مع قيم أكبر من الصفر ، وفي حالة العثور على جدول زمني بنجاح، يمكن التقليل من أقصى فجوات شيئا فشيا كلما تم الحصول على جدول زمني
B.A/krim

dey lyamine


Thank you, Mr. Liviu, for your response. In my case, the gaps are not recommended from 10.00 to 12.00 and from 13.00 to 14.00, or from 13.00 to 15.00.

Liviu Lalescu

Benahmed: do you think I should consider adding constraints teachers/students max sum of gaps per real days per whole week?

Liviu Lalescu

Quote from: dey lyamine on July 26, 2020, 10:09:06 PM

Thank you, Mr. Liviu, for your response. In my case, the gaps are not recommended from 10.00 to 12.00 and from 13.00 to 14.00, or from 13.00 to 15.00.

You are welcome!

Then why can't you use max 0 gaps per real day?

Benahmed Abdelkrim

No, I didn't mean that at all. Leaving the constraint as it is currently is best. Strengthening this constraint to work per week will make schedules very very difficult or possibly impossible!
B.A/krim

dey lyamine

      . أنا أحاول على قدر الإمكان التقليل من الفجوات سواء في الصباح أوالمساء ، شكرا جزيل على التوضيح وعلى كل المجهودات التي تبذلها الأستاذ بن أحمد عبد الكريم   

Liviu Lalescu

Quote from: Benahmed Abdelkrim on July 26, 2020, 10:19:48 PM
No, I didn't mean that at all. Leaving the constraint as it is currently is best. Strengthening this constraint to work per week will make schedules very very difficult or possibly impossible!

I mean to add a new constraint. Now, if the user adds max 1 gap per real day, it can be in each real day (so 5 or 6 in total the whole week, one for each day). But if the user adds max 1 gap per real day and max 2 gaps per real day per week, there can be only 2 in total. It would be a plus. The user can decrease one by one until it is no longer possible.

Benahmed Abdelkrim

#9
Quote from: Liviu Lalescu on July 26, 2020, 10:23:03 PM
Quote from: Benahmed Abdelkrim on July 26, 2020, 10:19:48 PM
No, I didn't mean that at all. Leaving the constraint as it is currently is best. Strengthening this constraint to work per week will make schedules very very difficult or possibly impossible!


I mean to add a new constraint. Now, if the user adds max 1 gap per real day, it can be in each real day (so 5 or 6 in total the whole week, one for each day). But if the user adds max 1 gap per real day and max 2 gaps per real day per week, there can be only 2 in total. It would be a plus. The user can decrease one by one until it is no longer possible.


I am not totally agree!
Gaps between morning and afternoon are essential in half-day schedules. It is allowed by laws. Perhaps there is a misunderstanding of the importance of gaps by some beginners. It represents life for schedules and without them, sorry the timetables becomes impossible.
B.A/krim

dey lyamine

Mr. Livio, because in Algeria we have a spare hour to receive the guardians, which is between two classes. It can be on any day of the week, morning or evening.

Benahmed Abdelkrim

Quote from: Liviu Lalescu on July 26, 2020, 10:23:03 PM
Quote from: Benahmed Abdelkrim on July 26, 2020, 10:19:48 PM
No, I didn't mean that at all. Leaving the constraint as it is currently is best. Strengthening this constraint to work per week will make schedules very very difficult or possibly impossible!

I mean to add a new constraint. Now, if the user adds max 1 gap per real day, it can be in each real day (so 5 or 6 in total the whole week, one for each day). But if the user adds max 1 gap per real day and max 2 gaps per real day per week, there can be only 2 in total. It would be a plus. The user can decrease one by one until it is no longer possible.

In addition, this constraint  will be useless, because it will simply make the timetables very difficult, which makes users abandon them...
B.A/krim

Liviu Lalescu

Benahmed: OK, I see (even if I am not sure you understood me correctly/completely).

Quote from: dey lyamine on July 26, 2020, 10:29:56 PM
Mr. Livio, because in Algeria we have a spare hour to receive the guardians, which is between two classes. It can be on any day of the week, morning or evening.

dey lyamine: Maybe in your case you need to add max 0 gaps per real day, and add this guardians hour as an activity with duration 1. You might even use the official FET, and add only 5 (or 6) days per week, and work with real days (not half days). Please let me know.

Liviu Lalescu

Mr. dey lyamine: the constraint teachers max gaps per real day also allows selectable a one day exception of +1 gap.

dey lyamine

Thank you very much, Mr. Leviu, for the helpful updates of your program, and I will send you a timeline that I am working on for this season, consisting of 38 educational cohorts and 79 professors, when he finishes his evaluation and comments.