FET Forum

FET Support (English) => Get Help => Topic started by: math on June 14, 2018, 11:57:05 AM

Title: Preventing same-day activities
Post by: math on June 14, 2018, 11:57:05 AM
What is the recommended way of preventing that two activities are scheduled to the same day?

I thought that I have to use Time -> Activities -> Min days between set of activities
Here I select the respective activities that shall not be planned to the same day, specify "1" as min days and ensure "weight percentage" to be set to 100%.

However, sometimes activities are planned to the same day even though I specified this constraint for them.

Is this a bug or am I using the contraint in the wrong way?

Background: in my department teachers are giving lectures, exercises, seminars and some other types of activities. While there is no problem in giving multiple exercises per day, most teachers don't want to give more than one lecture per day. So if a teacher is assigned to two or three different lectures, I want these lectures to be scheduled to different days.
Title: Re: Preventing same-day activities
Post by: Liviu Lalescu on June 14, 2018, 01:20:41 PM
It is the correct way. Maybe you don't add all the (sub)activities in the constraint.

It should work. There can't possibly be a bug. Maybe you can send us your file.
Title: Re: Preventing same-day activities
Post by: math on June 14, 2018, 02:25:37 PM
Since I'm talking about two activities (two lectures), I'm pretty sure that I did not forget to add one of them to that constraint. Unfortunately I'm not allowed to disclose personal information contained in my configuration file, so I cannot send you the fet file. Sorry.

I'll try to create a dummy file for reproducing the problem.
Title: Re: Preventing same-day activities
Post by: Liviu Lalescu on June 14, 2018, 02:32:25 PM
OK, I'll wait.

Please check again the weight is 100% to all the constraints. The default weight when you open the "Add" dialog is 95%.
Title: Re: Preventing same-day activities
Post by: Volker Dirr on June 14, 2018, 05:39:47 PM
The best way to check is going to:
FET->Time constraints->activities->min days
you can see it pretty fast there.

the fastest way to change them all to 100% is using the "Modify multiple constraints at once" feature in that dialog.
Title: Re: Preventing same-day activities
Post by: liquid on July 13, 2018, 12:24:44 PM
In my timetables, min days between activities with weight 100% always worked.