Timetable with mixed time breaks

Started by Ramon, July 05, 2017, 08:12:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ramon

My secondary school is organized into two different sections: compulsory (ESO) and not compulsory (Bachillerato). It has different timetable structures, although teachers are the same for both sections.

All teaching periods consist of 50 minutes "classes".
Compulsory section general structure is: 2 teaching periods, 30 minutes break, two periods, big lunch break and 2 more periods.

So the teaching period times are:
9:00-9:50
9:50-10:40
BREAK
11:10-12:00
12:00-12:50
BREAK
14:50-15:40
15:40-16:30

Not compulsory structure is: 3 teaching periods, 30 minutes break, and 3 more periods.
So the teaching period times are:
9:00-9:50
9:50-10:40
10:40-11:30
BREAK
12:00-12:50
12:50-13:40
13:40-14:30

I've tried to set a time constraint where students are not available.



It works fine with students but I find that some teachers teach from 10:40 to 11:30 with one class and the next class is from 11:10 to 12:00. Which is impossible. I haven't been able to find a teacher constraint for teaching at 10:40 and not to teach at the "next" period which is 11:10. Any help? Thanks

Liviu Lalescu

1. I am not sure this definition of times will work for students, but I might be wrong. If you think that it is correct, then use it. You might want to think of using as FET hour = real 10 minutes, but I am not sure this will work.

2. To answer your exact question, to make teacher T not teach both 10:40 and 11:10 you can add a constraint activities occupy max time slots from selection for each day (I know, it is difficult to add, for each teacher and each day - a lot of constraints - for the algorithm it is no problem), all activities of T, select slot 10:40 Monday and 11:10 Monday, max occupied = 1, and so on for Tuesday, ... .

Please let me know.

Ramon

It works great! Thank you very much, Liviu!