many thanks to Liviu on behalf of Aissa and pther algerian users
there is still problems
How to set maximum periods per day for teachers ?
there should be no more than 5 periods in a REAL day
Now, if we set "maximum periods per day for teachersé" ---> 4
we will get 4 periods on FET_day 1
3 periods on FET_day 2 ( there is only 3 timeslots at afternoon)
So there will be 7 hours per day for a teacher !!
I'll think about and let you know on this topic.
if we have 1 large activity split into 5 activity
A1 duration 2
A2 duration 2
A3 duration 1
A4 duration 1
A5 duration 1
For example, how to avoid scheduling A1+A3 ( 3hours same subjec !!) same day
This can happen because constraint : "if actvities on same day, force consecutive"
You have constraint min n days between activities, 1 day, 95%, A1, A2, A3, A4, A5. Either:
1) you modify the weight to 100% (but might be too strong)
2) you add additional constraints: (A1, A3, 100%, 1 day), (A1, A4, 100%, 1 day), (A1, A5, 100%, 1 day), (A2, A3, 100%, 1 day), (A2, A4, 100%, 1 day), (A2, A5, 100%, 1 day), (A1, A2, 100%, 1 day) - so 7 additional constraints, which is difficult to add.