Max subjects per week?

Started by itiskane, September 28, 2022, 12:59:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

itiskane

Hello! I might be doing something wrong but i just cant figure this out.

Lets say i have a single group of students. Lets also say they have 40 hours of Math every week. Thats 2 of 4-hour activity every day (Morning 9-13 and Evening 14-18).

And then i have 10 different teachers with a very strict schedule where they weekly can afford only 1 or 2 shifts (morning or evening) each.

It doesnt matter who or when will be teaching and some can even skip teaching completely, they have target of 0.
I only need to make sure that students always have someone at their class.



The problem is i want to edit teacher's availability times weekly and then generate the timetable because it will constantly change.

I tried to create activities with different teachers but for the same subject but i dont know to limit the amount of times a subject can be

Liviu Lalescu

#1
Hello!

If I understand correctly, you want from A1...An of the activities of some teachers, with subject Math, no students sets, to have 40 of them occupy all the slots of the week. This is solved with a constraint of type activities occupy min time slots from selection: A1..An, selected slots = all 40 slots, with X (red), min occupied = 40.

Please let me know. If you want, you can send me your file so I can understand better.