Max H_Daily_activity tag

Started by Benahmed Abdelkrim, February 21, 2017, 05:54:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

 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).
B.A/krim

Liviu Lalescu

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.

Benahmed Abdelkrim

 OK! I'll try it.
Is this constraint optimized? Is that the speed is not altered?
B.A/krim

Liviu Lalescu

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.

Benahmed Abdelkrim

 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!
B.A/krim

Liviu Lalescu

#5
OK, I'll think about it.

Benahmed Abdelkrim

 Thank you very much mr. Liviu for your interest.
B.A/krim

Liviu Lalescu

I did it, please check thoroughly. I checked the new feature only a bit, more testing is necessary.

Benahmed Abdelkrim

Thank you very much Mr.liviu, it is very nice of you. Ok! I will check the new feature.
B.A/krim

Liviu Lalescu

I added a new version, with same name, minor change. Maybe you can get it again.