Married teachers would like same timetable

Started by braxcugs, September 03, 2012, 08:12:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

braxcugs

Hello forum,
a married couple teaches in the same school and would like to have idential (if possible) timetables. Is it possible to linkthe time of arrival and departure of two teachers together?

Thanks

Liviu Lalescu

#1
Yes, please use the constraint activities occupy max time slots. Say the teachers are T1 - 7 activities, and T2 - 7 (or say 8 activities, if the teachers do not have exactly the same number of hours). Then add all activities of T1 and T2 in the constraint, select all slots of the week, and say that maximum 7 (or 8 ) are occupied from those selected.

The only thing is that this constraint can have only 100% weight, so it is compulsory to respect it if you add it.