Quote from: Liviu Lalescu on February 07, 2023, 07:39:03 AMI think the constraint activities occupy min time slots from selection should work.
Time constraint
Activity with id=56 ( 2/5 - Teacher - 1C - 1C)
has a preferred starting time:
Day=Friday
Hour=7º 17:10-17:50
Weight (percentage)=100%
This activity is permanently locked, which means you cannot unlock it from the 'Timetable' menu (you can unlock this activity by removing the constraint from the constraints dialog or by setting the 'permanently locked' attribute false when editing this constraint)
Time constraint
[Randomly choose one activity of: Activity with [id=56 ( 2/5 - Teacher - 1C - 1C )] OR [id=55 ( 2/5 - Teacher - 1C - 1C )] OR [id=57 ( 1/5 - Teacher - 1C - 1C )]
has a preferred starting time:
Day=Friday
Hour=7º 17:10-17:50
Weight (percentage)=100%
This activity is permanently locked, which means you cannot unlock it from the 'Timetable' menu (you can unlock this activity by removing the constraint from the constraints dialog or by setting the 'permanently locked' attribute false when editing this constraint)