Disintegration of special lectures

Started by ngoctp29121982, September 17, 2022, 07:21:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ngoctp29121982

Hello Liviu!
I tried everything with example:
In official mode, I have seven school days from Monday to Saturday
In class 6A there is Math (4 = 1+1+1+1). I want them to appear on Mondays 2, 3, 5, 7 or 2, 4, 6, 7 meaning only 2 consecutive days of math will be allowed. What constraint do I have to use on the FET to solve it!

Liviu Lalescu

Do you mean Monday to Sunday?

Please add some carefully chosen min days between activities constraints.

Volker Dirr

hmmm.... I fear there is no easy solution.

maybe use variant a:
allow up to 3 consecutive days,
by adding a second min day constraint with wieght 100%, min day = 2, but only 3 subactivities.

maybe use variant b:
try to avoid consecutive days at all, (but in worst case still all might be consecutive),
by adding a second min day constraint with weight less then 100%, min day = 2, with all subactivities.

ngoctp29121982

In my opinion, you put this RB into the FET but only for some teachers. Thank you very much!

Liviu Lalescu

#4
It is best to keep implemented constraints in FET to a minimum, especially since this proposed constraint is so specialized.

A1, A2, A3, A4.

Doesn't it work if you add 100% min 2 days between A2, A3, and A4, and 100% min 3 days between A1 and A3 and A1 and A4? Or try other combinations if I am wrong?