min days per week for a teacher

Started by Nikos Koutsoukos, September 19, 2009, 10:20:47 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Nikos Koutsoukos

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

Volker Dirr

please try latest snapshot, because that constraint already exist in that version.

Liviu Lalescu

#2
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.

Nikos Koutsoukos

#3
I have version: 5.10.3 (August 2009)
I will download the snapshot and check it out

Thank you
Nikos

Liviu Lalescu

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)?

Nikos Koutsoukos

#5
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