Max hr daily but can only have 1 day of this

Started by sasbland, August 10, 2025, 02:34:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sasbland

Hello,

I come across another constraint that I couldn't work out how to set it in fet. I set max hrs daily for a student set to be 6 hrs. We get the timetable where students have 2 or 3 days of 6 hrs, and very little for the rest of the week. What we would like is students only have 6 hrs for a maximum one day per week as it's too tiring for them. Do I have to use min hrs daily =4 for example, so the lessons are distributed. Or is there a way to limit the max hrs constraint to 1 day, where fet is more free to put the rest anywhere without min hrs daily.

Thank you very much

Liviu Lalescu

Hello,

Possible tricks:

1) Max 6 hours daily 100% and max 5 hours daily 95% or another value. I don't like this.

2) For each students set, forbid each pair of days to have 12 activities. For each pair of days (10 times, if week = 5 days), for each students set, add all its activities, select the two days with X (red), and max occupied = 11. Difficult to enter, much data to add, and I am not sure the speed is OK with that many constraints. But the generation might be fast, I am not sure.

I am sorry there is not available a perfect solution. Now, after the generation code is ready, it would be very difficult to take care of this aspect (allow 1 day of exception to max hours daily). I am available to try to search for a solution, but unfortunately the lack of financial support is a problem.

sasbland

Thank you for the suggestion. I'll try. Thanks again.