Hi!
In the Algerian version of FET, the constraint cited below is for half a day or for a real day:
Max hours daily with an activity tag for a(all) teacher(s).
I think it is for a half-day. You can try it, to check. Add for a simple timetable (with a few activities) and check if the timetable is still solvable.
To make for a full day, I think you can use the constraint activities occupy max time slots from selection, selected activities = all activities of the teacher with the needed activity tag, selected slots = first full day, max occupied = the number you need. Add this constraint for each full day.
OK! I'll try it.
Is this constraint optimized? Is that the speed is not altered?
Quote from: Benahmed Abdelkrim on February 21, 2017, 06:19:40 PM
OK! I'll try it.
Is this constraint optimized? Is that the speed is not altered?
The constraint activities occupy max time slots from selection is highly optimized, you can safely ignore the decrease of speed warning.
I think it is very useful to make the constraint: max_H_daily activity tag for a real day, because this change makes avoiding the misuse of: activities occupy max time slot from selection. Which is wasting time and speed. Thanks!
OK, I'll think about it.
Thank you very much mr. Liviu for your interest.
I did it, please check thoroughly. I checked the new feature only a bit, more testing is necessary.
Thank you very much Mr.liviu, it is very nice of you. Ok! I will check the new feature.
I added a new version, with same name, minor change. Maybe you can get it again.