FET Forum

FET Support (English) => Get Help => Topic started by: ngoctp29121982 on September 17, 2022, 07:21:10 PM

Title: Disintegration of special lectures
Post by: ngoctp29121982 on September 17, 2022, 07:21:10 PM
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!
Title: Re: Disintegration of special lectures
Post by: Liviu Lalescu on September 17, 2022, 07:36:11 PM
Do you mean Monday to Sunday?

Please add some carefully chosen min days between activities constraints.
Title: Re: Disintegration of special lectures
Post by: Volker Dirr on September 17, 2022, 07:43:24 PM
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.
Title: Re: Disintegration of special lectures
Post by: ngoctp29121982 on September 17, 2022, 10:39:31 PM
In my opinion, you put this RB into the FET but only for some teachers. Thank you very much!
Title: Re: Disintegration of special lectures
Post by: Liviu Lalescu on September 18, 2022, 07:20:23 AM
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?
Title: Re: Disintegration of special lectures
Post by: ngoctp29121982 on September 18, 2022, 03:05:13 PM


Ok, thank you so much