FET Forum

FET Development => Suggestions => Topic started by: Nikos Koutsoukos on September 19, 2009, 10:20:47 PM

Title: min days per week for a teacher
Post by: Nikos Koutsoukos on September 19, 2009, 10:20:47 PM
I want every teacher to be in school every day (min 1 hour every day)
because this is the law here in Greece.
If I put min hours daily for a teacher =2 will not work and I still get timetables with empty days for a teacher. Also some teachers have less than 10 hours at week and I can not put  "min hours daily for a teacher =1"

So I need a constrain like "min days per week for a teacher = 5"

Thank you in advance
Nikos Koutsoukos
Title: Re: min days per week for a teacher
Post by: Volker Dirr on September 20, 2009, 12:47:35 AM
please try latest snapshot, because that constraint already exist in that version.
Title: Re: min days per week for a teacher
Post by: Liviu Lalescu on September 20, 2009, 07:21:34 AM
Snapshot is on http://lalescu.ro/liviu/fet/download/test/ , and has this constraint.

Please report to us if the constraint min days per week works good for you. It is a new feature, not tested as much as it should be.
Title: Re: min days per week for a teacher
Post by: Nikos Koutsoukos on September 20, 2009, 10:34:59 AM
I have version: 5.10.3 (August 2009)
I will download the snapshot and check it out

Thank you
Nikos
Title: Re: min days per week for a teacher
Post by: Liviu Lalescu on September 24, 2009, 08:10:14 PM
Nikos, did you test generating with this new constraint? Does it solve correctly in a reasonable time (about the same time as without this constraint or a bit longer)?
Title: Re: min days per week for a teacher
Post by: Nikos Koutsoukos on September 26, 2009, 05:24:45 PM
Yes. I generate OK. I did not notice any delay. In fact when I test it (417 activities)  without the max gaps constrains (so to be fast) it is faster with the "min days per week constrain" (12 sec)  than without it (40 sec)
When I test it with the max gaps constrains (max 1 in week for all teachers)  it took 10 - 20 minutes and I did not notice any diferent with or without the "min days per week" constrain.

Nikos