FET Forum

FET Support (English) => Get Help => Topic started by: pg788 on July 03, 2018, 08:30:29 PM

Title: Minimum hours with an activity tag
Post by: pg788 on July 03, 2018, 08:30:29 PM
Each teacher at my college needs to have at least one lecture daily. Can this be done? I know there is a max hours daily with activity tag, but I want the opposite of this.
Title: Re: Minimum hours with an activity tag
Post by: Liviu Lalescu on July 03, 2018, 08:39:09 PM
There is no direct constraint. I think this is possible, but with a lot of work (many constraints): add for each teacher and each day a constraint activities occupy max different slots (read the help of this constraint to see how you can you can force at least an activity from those with that tag on that particular day).
Title: Re: Minimum hours with an activity tag
Post by: Volker Dirr on July 04, 2018, 07:56:33 PM
Like Liviu said: not added (yet)

depending on the exact number of hours of lecture and other activities you might use other tricks that effect nearly the same:

for example allow max other activities per day you might with an normal max hours per day constraint you can indirectly increase the minimum of lectures per day.

also by adding a max lectures per day you can indirectly increase the minimum number of lectures per day.

a last variant might be just selecting as many lectures as you have days per week and add a min n day constraint with 100%

of course all that 3 variants are more strict then what you need. so the timetable might be too difficult by that.
Title: Re: Minimum hours with an activity tag
Post by: liquid on July 13, 2018, 12:28:52 PM
Doesn't "min hours daily for a teacher" solve the problem?
Title: Re: Minimum hours with an activity tag
Post by: Liviu Lalescu on July 13, 2018, 02:44:21 PM
Quote from: liquid on July 13, 2018, 12:28:52 PM
Doesn't "min hours daily for a teacher" solve the problem?

No, pg788 needs a teacher to have at least an activity of activity tag "Lecture" daily.