FET Forum

FET Support (English) => Get Help => Topic started by: nguyenhuuduyet on November 08, 2021, 12:45:55 PM

Title: Consecutive days off
Post by: nguyenhuuduyet on November 08, 2021, 12:45:55 PM
How do teachers not have two consecutive days off? Thank you!
Title: Re: Consecutive days off
Post by: Liviu Lalescu on November 08, 2021, 03:14:04 PM
Sorry, I cannot think of a solution.
Title: Re: Consecutive days off
Post by: Volker Dirr on November 08, 2021, 04:49:40 PM
As a workaround:

Don't use constraint teachers max days.

Add a new subject. Maybe call it "---" or "free".

If a teacher have got 2 free days, then give him 2 new activities with subject "free" but no students. These activities need highest possible duration (so the number of hours per day or the number of max allowed working hours for the teacher). Set constraint min 2 days between this activities.
Title: Re: Consecutive days off
Post by: nguyenhuuduyet on November 09, 2021, 12:25:32 AM
Thank you very much!