Quote from: Volker Dirr on January 10, 2025, 05:54:35 PMWell, in fact you are wrong.
If you set max 7 hours per day, then it might happen that a teacher always have got free the last period on Monday to Thursday also. So the only difference between that 4 days and Friday is, that the free period on Friday will be 100% the last one, while on the other days the chance is below 100%. I don't know your dataset, but if the students don't have got Monday to Thursday always 8 hours per day (and I guess that is not the case), then the chance for a teacher to have free the last period on Monday to Thursday is very high! Probably close to 95%!
You can force to have a free period on Friday on several ways. There are a few variants for it. But please rethink about the problem I wrote above first. In my opinion you shouldn't add such a rule, it sounds like you only want to force teachers to stay in school, even most of the time they have nothing to do in their gap time.