The teacher teaches 2 consecutive periods at random time minus a fixed interval

Started by ngoctp29121982, September 06, 2022, 04:08:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ngoctp29121982

Hello Liviu
I have an example for my Literature teacher as follows
A week has 7 days from Monday to Saturday, each day of study time: 8:00 to 9:00; 9:00 to 10:00; 10:00 to 11:00; 11:00 to 12:00 and 12:00 to 13:00. I want my teacher to teach literature on any day of the week, teaching 2 periods at intervals: 8:00 to 10:00 or 10:00 to 12:00 or 11:00 to 13:00. No classes from 9:00 to 11:00. Is there any constraint in Fet that randomly generates such teachers of literature or other subjects?

Liviu Lalescu

Hello, ngo,

Constraint activities preferred starting times, do not allow start 9:00, select subject Literature and duration 2 (enable duration selection by clicking the check box).

ngoctp29121982

Thank you. I thought it was very difficult, but the FET did it. Thank you so much for supporting me

Liviu Lalescu