FET Forum

FET Support (English) => Get Help => Topic started by: evanchio on July 19, 2021, 05:32:02 PM

Title: Can I distribute a particular time periods to teachers evenly?
Post by: evanchio on July 19, 2021, 05:32:02 PM
Thx for the program.

I have a 5 days a weeks and 8 periods a day timetable.

In my school, the 4th and 6th Periods is a little bit longer then others, so the teachers teaching those periods can get extra pay.

Is it possible to make the timetable distribute the teachers to those time slocks "relatively" evenly?
(e.g. there is 10 of those time slocks, the max. teacher get 6 and min. teacher get 3 of those slocks is ok, but the max. teacher get 9 and min. teacher get 1 is not ok...)
Title: Re: Can I distribute a particular time periods to teachers evenly?
Post by: Liviu Lalescu on July 19, 2021, 05:44:08 PM
You're welcome!

If I understand correctly, you could add n_teachers constraints activities occupy max time slots from selection and n_teachers constraints activities occupy min time slots from selection (separately). Activities = all activities of a teacher, selected slots = the 10 slots of 4th and 6th of all the days (select with X or red), max occupied = 6 and then min occupied = 3 (you might want to go progressively first, to check the solution is possible).