FET Forum

FET Support (English) => Get Help => Topic started by: socky on August 30, 2020, 04:01:48 PM

Title: Constrain teacher work days for one free day (monday or friday)
Post by: socky on August 30, 2020, 04:01:48 PM
Hi
What is the best way to constrain teacher work days for one free day, but free day must be on monday or friday. Now for such a teacher I'm making two versions of file, one with monday not available and second with friday not available for teacher. Maybe there is simpler way of doing this. Any help would be greatly appreciated.
Title: Re: Constrain teacher work days for one free day (monday or friday)
Post by: Liviu Lalescu on August 30, 2020, 04:10:31 PM
Hello!

Of course I don't like your solution.

The good way:

1) Add all activities of this teacher in a constraint max 3 days between activities. This was suggested previously by Volker in another topic, I think. This is the nicest solution.

2) Add an activity for this teacher with duration max hours per day, preferred times Monday or Friday.
Title: Re: Constrain teacher work days for one free day (monday or friday)
Post by: socky on August 30, 2020, 08:56:37 PM
Thank you very much! Setting the constraint max 3 days between activities is working just fine. I don't want to believe that it was that simple ;-)
Title: Re: Constrain teacher work days for one free day (monday or friday)
Post by: Nando on September 23, 2020, 10:14:45 PM
Quote from: Liviu Lalescu on August 30, 2020, 04:10:31 PM
Hello!

Of course I don't like your solution.

The good way:

1) Add all activities of this teacher in a constraint max 3 days between activities. This was suggested previously by Volker in another topic, I think. This is the nicest solution.

2) Add an activity for this teacher with duration max hours per day, preferred times Monday or Friday.

Non riesco a capire come impostare il giorno libero a scelta tra due. E' possibile un esempio?
Grazie
Title: Re: Constrain teacher work days for one free day (monday or friday)
Post by: Liviu Lalescu on September 24, 2020, 01:17:42 PM
OK, I send you examples, see the teacher Agnes (the first teacher) and the last activity (in file 2) and the last time constraint (in files 1 and 2).
Title: Re: Constrain teacher work days for one free day (monday or friday)
Post by: fourat on September 24, 2020, 02:25:56 PM
With five days per week
dummies activities for this teacher without students :
3 activities with duration max hours possible per day with preferred time Tuesday Wednesday  Thursday
1 activity with duration max hours possible per day  with preferred time  Monday Friday