Started by silvia, July 07, 2009, 10:27:33 PM
0 Members and 1 Guest are viewing this topic.
QuoteI'lln try with dummy activities, but will them appear in the teacher's timetable?
Quotethe problem with this is that free days are illegal here for teachers full time. I have a timetable with a full time teacher with 1 free day, so I should restrict min 2 hours a day (the law again), but if I do that, I get an impossible timetable because I have a part time teacher with only 3 classes (this teacher can have 2 free days). This means 1 class each day, but it can't be generated because there is a restriction of Min 2 hours a day for all teachers. I think I'm stuck, hahhahaha.I'lln try with dummy activities, but will them appear in the teacher's timetable? She will be scared to death if she sees 6 classes
Quotei thought one more about the "min n hours per day" problem again, because we had a similar discuss at my school.i think there is "just" a "min days per week for teacherS" constraint needed. doesn't solve that the problem in a good way?so if you want a min n hours == 1 constraint, then you just add a "min n days per week" constraint.if you want a min n hours ==2 constraint with allowed free days, then you add a "min n hours per day == 2" constraint.if you want a min n hours == 2 constraint without free days, then you add a "min n hours per day ==2" and a "min n days per week == daysPerWeek" constraint.hmm... i am currently just not sure how difficult to code that constraint.
Quotemaybe you can (also) try to coupled it with max days per week? but you know much better then me.