FET Forum

FET Support (English) => Get Help => Topic started by: sasbland on March 05, 2026, 08:54:22 PM

Title: Minimum hrs between activities on different days
Post by: sasbland on March 05, 2026, 08:54:22 PM
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
Title: Re: Minimum hrs between activities on different days
Post by: Liviu Lalescu on March 06, 2026, 06:34:04 AM
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.
Title: Re: Minimum hrs between activities on different days
Post by: sasbland on March 08, 2026, 06:45:27 PM
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
Title: Re: Minimum hrs between activities on different days
Post by: sasbland on March 08, 2026, 06:58:50 PM
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
Title: Re: Minimum hrs between activities on different days
Post by: Liviu Lalescu on March 08, 2026, 06:59:41 PM
You are welcome!

Please update to FET-7.8.0 and check the activities time constraints, Others (1), the 6th there.
Title: Re: Minimum hrs between activities on different days
Post by: Liviu Lalescu on March 08, 2026, 07:05:28 PM
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.