FET Forum

FET Development => Suggestions => Topic started by: auriolar on April 15, 2018, 09:47:39 AM

Title: New constraint suggestion: Teacher(s) max span per Week
Post by: auriolar on April 15, 2018, 09:47:39 AM
Hello

I've borrowed a previos subject and made a small change.
In our school it is interesting to have the constraint not only per day, but per week.

The constraint implemented last year helped us a lot, but if implementing this new constraint will help us even more.
(from the outside it seems that it could be the sum of the spans per day over a week).

Thank you for your awsome work and help.
Title: Re: New constraint suggestion: Teacher(s) max span per Week
Post by: Liviu Lalescu on April 15, 2018, 11:26:27 AM
I added this into the TODO item #312 (already suggested by Vangelis Karafillidis).

But this constraint is not really necessary. You know the number of hours each teacher works per week, and you can use constraints teacher(s) max gaps per week.
Title: Re: New constraint suggestion: Teacher(s) max span per Week
Post by: auriolar on April 15, 2018, 02:29:41 PM
Thank you.

I've tried, but it is not enaugh in our school, because some teachers could have an extra hour wich adds a gap a day for everybody else.
I'll look into it again, anyway.
Title: Re: New constraint suggestion: Teacher(s) max span per Week
Post by: Liviu Lalescu on April 15, 2018, 02:32:47 PM
Quote from: auriolar on April 15, 2018, 02:29:41 PM
I've tried, but it is not enaugh in our school, because some teachers could have an extra hour wich adds a gap a day for everybody else.
I'll look into it again, anyway.

Unfortunately, you need to add the constraint max gaps per week for each teacher. But I can assure you that if you do this correctly you'll get exactly the same behavior as teachers max span per week.