Can I distribute a particular time periods to teachers evenly?

Started by evanchio, July 19, 2021, 05:32:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

evanchio

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...)

Liviu Lalescu

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).