Hello!
Does the described here situation correspond to the one from the manual? https://timetabling.de/manual/FET-manual.en.html#id_29
"Subject physics must always be instructed in physics lab, but if physics lab is already occupied it is allowed to be instructed in the chemistry lab.
This example is sadly not possible, but very similar constraint is possible: Subject physics must always be instructed in physics lab or chemistry lab.
Add A subject has a set of preferred rooms."
Is then my reasoning correct that FET uses 2 constraints to handle this?:
constraint1: (phase1 says: subject.physics must take place in one of the 2 rooms):
subject.physics vs room.lab.physics = 100%
subject.physics vs room.lab.chemistry = 100%
constraint2: (phase2 says, that from the two rooms, room.lab.physics has a higher priority than room.lab.chemistry):
subject.physics vs room.lab.physics = 90%
So the same xml construct expresses two various concepts, first is for MUST-BE-IN-ONE-OF-THE-ROOMS and the second one is for PREFERRED-FROM-MUST-BE-IN-ROOMS? Am I getting this right?
<ConstraintSubjectPreferredRooms>
<Subject>Sys.wsp.dzi.lab</Subject>
<Weight_Percentage>100</Weight_Percentage>
<Number_of_Preferred_Rooms>2</Number_of_Preferred_Rooms>
<Active>True</Active>
<Comments/>
<Preferred_Room>02.lab.inf.003</Preferred_Room>
<Preferred_Room>01.lab.inf.216</Preferred_Room>
</ConstraintSubjectPreferredRooms>
<ConstraintSubjectPreferredRooms>
<Subject>Sys.wsp.dzi.lab</Subject>
<Weight_Percentage>90</Weight_Percentage>
<Number_of_Preferred_Rooms>1</Number_of_Preferred_Rooms>
<Active>True</Active>
<Comments/>
<Preferred_Room>02.lab.inf.003</Preferred_Room>
</ConstraintSubjectPreferredRooms>
Does the described here situation correspond to the one from the manual? https://timetabling.de/manual/FET-manual.en.html#id_29
"Subject physics must always be instructed in physics lab, but if physics lab is already occupied it is allowed to be instructed in the chemistry lab.
This example is sadly not possible, but very similar constraint is possible: Subject physics must always be instructed in physics lab or chemistry lab.
Add A subject has a set of preferred rooms."
Is then my reasoning correct that FET uses 2 constraints to handle this?:
constraint1: (phase1 says: subject.physics must take place in one of the 2 rooms):
subject.physics vs room.lab.physics = 100%
subject.physics vs room.lab.chemistry = 100%
constraint2: (phase2 says, that from the two rooms, room.lab.physics has a higher priority than room.lab.chemistry):
subject.physics vs room.lab.physics = 90%
So the same xml construct expresses two various concepts, first is for MUST-BE-IN-ONE-OF-THE-ROOMS and the second one is for PREFERRED-FROM-MUST-BE-IN-ROOMS? Am I getting this right?
<ConstraintSubjectPreferredRooms>
<Subject>Sys.wsp.dzi.lab</Subject>
<Weight_Percentage>100</Weight_Percentage>
<Number_of_Preferred_Rooms>2</Number_of_Preferred_Rooms>
<Active>True</Active>
<Comments/>
<Preferred_Room>02.lab.inf.003</Preferred_Room>
<Preferred_Room>01.lab.inf.216</Preferred_Room>
</ConstraintSubjectPreferredRooms>
<ConstraintSubjectPreferredRooms>
<Subject>Sys.wsp.dzi.lab</Subject>
<Weight_Percentage>90</Weight_Percentage>
<Number_of_Preferred_Rooms>1</Number_of_Preferred_Rooms>
<Active>True</Active>
<Comments/>
<Preferred_Room>02.lab.inf.003</Preferred_Room>
</ConstraintSubjectPreferredRooms>