Thx for the amazing program.
I got a problem about lunch break and I don't know how to solve it.
I have 5 days a week, 8 periods a day, and there is a lunch break between the 5th and the 6th period, some class may have lunch lesson during the lunch break. (different classes have different number of lunch lesson)
All students must have lesson at the 6th Period, but teacher having Lunch Lesson can't have the 6th Period
5th Period <--Teachers end morning before here
Lunch Lesson <---**Teachers end morning here
Dum Lunch
6th Period <--Teachers can teach this period <---**Teachers can't teach this period
7th Period <---**Teachers can teach this period
I want the program to decide which teachers teach the Lunch lesson, but the teachers teaching the lunch lesson must have a break at the 6th Period at the same day.
Thx a lot.
Thank you for the appreciation!
To say that on day D the teacher cannot teacher both hours H1 and H2, you can use a constraint activities occupy max time slots from selection, all activities of that teacher, selected = (D-H1, D-H2) (with X or red), max occupied = 1. Unfortunately, you need to add a lot of constraints: n_days * n_teachers, but it can be done in a reasonable time if you work smart. The process could be automated if you examine the .fet XML file structure or customize FET.