How to increase probability that a teacher will have an activity in his home room rather than in other allowed by space constraint for a subject? I've assigned a home room for a teacher with the weight of 100% and an activity has been scheduled in other room despite there was a free time slot in the teacher home room.
by deleting the space constraint for the subject (and/or by reducing it's weight).
a home room will be only used if there is no other preferred constraint used for that activity.
see:
http://www.timetabling.de/manual/FET-manual.en.html#id_46
Just to be sure:
Suppose:
- a teacher T teaches subject S
- a subject S has preferred room R1
- teacher T has home room R2
Assuming above, will FET be able to schedule S in room R2?
I would doubt but I may be wrong.
As Volker said, preferred rooms are more important than home rooms. At level of activity: if it has a preferred room and a home room, if the preferred room is not respected (if the algorithm skips the constraint with >100% weight), the home room constraint is considered.
You might want to add a preferred room constraint for this activity in particular, with 100%. And keep the preferred room for subject with <100%. But it is not entirely efficient (the algorithm loses computing cycles in vain trying to skip the preferred room with <100% weight). The best might be to do some work with activity tags preferred room.