Hello,
I think the following constraint could be added:
If a teacher has less than X (total activity hours) hours of activity, they must be in school for a maximum of Y days.
For example,
(there are 10 hours per day)
- if a teacher has less than 20 total activity hours, they must be in school for a maximum of 2 days.
- if a teacher has less than 35 total activity hours, they must be in school for a maximum of 4 days.
...
Hello,
Couldn't you use the constraints of type teacher max days per week?
Of course I can use it. I guess I didn't make my point clear.
I mentioned that this rule should be automatically assigned to teachers under certain conditions.
Let me explain with an example:
Let's say there are 100 teachers in my school. 30 of them have 15 hours of class, and I want them to come to school two days a week. 40 of them have 25 hours of class, and I want them to come a maximum of three days a week.
Instead of manually defining rules for all of them, an update can be made as I mentioned.
Oh, I see. I will add your suggestion in the list of suggestions.