Work in an hourly interval max days per week

Started by sasbland, November 16, 2024, 05:33:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sasbland

Hi, I have a question regarding this constraint. Let's say most lessons are 2-hr long and I want student/teacher to only have lessons between 12-2pm for a maximum 1 day per week. Preferably lessons should be 10-12 follows by 1-3 or 11-1 follows by 2-4. But if we can't avoid it, 12-2 is ok but only 1 day a week max.

So I put in work in an hourly interval max days per week and select 12:00 as start and 14:00 and select 1 day. I found that most students now have a 2-hr lunch gap from 12-2 everyday. Is this because fet is trying not to put lessons during 12-2 at all? Preferably we want 1 hr lunch gap, either 12-1 or 1-2.

Do you have any suggestions what we should put in instead? Many thanks

Liviu Lalescu

This constraint will make students/teachers have max 1 day with lessons between 12 and 15 (note, it is 15, not 14, and 15 is not included).

I think you want students/teachers max 1 hours daily in interval [12, 15). There are no exceptions for 1 day a week, but I hope you will find a timetable with all days having a one hour pause.