Minimum hrs between activities on different days

Started by sasbland, March 05, 2026, 08:54:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sasbland

Hello,

I wonder if you could help me. Let say a subject has 2 sessions per week. If one session is the last lesson on one day, I want to avoid the other session being the first lesson the next day. There should be one or more of other lessons in between. Similar idea to min resting hrs. Is this possible?

Many thanks

Liviu Lalescu

Hello,

Maybe n_days_per_week-1 constraints activities pair of mutually exclusive time slots for each pair of activities. So math cannot be the last hour Monday and the first hour Tuesday.

sasbland

Thank you. I couldn't find this constraint. Is it under Time>>Activity? Will I have to apply it to each activity? In fact I would like it to be for all activities that have more than one session. Thank you

sasbland

Sorry I found it now as I upgraded to the latest version. It looks like I have to add each activity one by one and select each pair of day (Mon-Tue, Tue-Wed etc.) Is that correct? That is a lot of constraints as I actually want all activities to avoid slots like this. Thanks

Liviu Lalescu

You are welcome!

Please update to FET-7.8.0 and check the activities time constraints, Others (1), the 6th there.

Liviu Lalescu

#5
Yes, unfortunately a lot of data inputting work...

I will add your suggestion to the TODO list. Maybe a suitable name and behavior for a possible new constraint could be devised.