Hi!
I have set max gaps per day for all teachers to be 2. If I set max gaps per day for a specific teacher to be 1 or 3, does this setting override the general setting? Does this apply for all global settings that can be altered for a specific teacher, like max hours continuously, min days, etc?
All constraints are respected. The stronger wins. This is not always pleasant for the user. In some cases you need to add individual constraints for each teacher.
Ex: All teachers max gaps = 2, T1 max gaps = 3, then the second constraint is ignored.
Quote from: Liviu Lalescu on September 20, 2014, 04:35:42 PM
All constraints are respected. The stronger wins. This is not always pleasant for the user. In some cases you need to add individual constraints for each teacher.
Ex: All teachers max gaps = 2, T1 max gaps = 3, then the second constraint is ignored.
What exactly does "stronger" mean?
Why is "all teachers" stronger in "All teachers max gaps = 2, T1 max gaps = 3"? Is it because it has lower value?
If it was "All teachers max gaps = 2, T1 max gaps = 1", which one would be stronger?
Stronger: max gaps means lower value. Stronger min hours daily means higher value, as another example. Stronger max hours means lower value.
All teachers max gaps 2, T1 max gaps 3 => all teachers max gaps 2.
All teachers max gaps 2, T1 max gaps 1 => all teachers without T1 max gaps 2, T1 max gaps 1.
Got it! Thanks very much :)