Quote from: topposempre on September 08, 2024, 06:29:55 PM- insert the maximum number of teachers and/or subjects possible per day (to avoid having 5 different subjects in one day)
Depending on your data set, it might be very easy. If you have sub-activities with duration > 2 you only need to select that sub-activities and place a min day constraint with 100%.
If you have less then "number of days per week" of those sub-activities, then your request "to avoid having 5 different subjects in one day" is impossible.
For example at my current school it is impossible, since there is only art and physical education with duration = 2. At my old school it was possible since the 3 main subjects had also an sub-activity with duration = 2. But in my opinion that rule is too strict. let's say if you have subjects like art, sport, cooking, ... with duration 1 only, then it doesn't matter if there are many different subjects the same day. Most schools tag the "difficult learning" subjects and set a max tags per day constraint instead.