2 consecutive real days?

Started by Benahmed Abdelkrim, September 24, 2021, 08:51:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

Quote from: Benahmed Abdelkrim on March 07, 2026, 05:27:54 PMHello!
Can this constraint be generalized? A teacher works a maximum of n consecutive days. The variable n can take the value 2 or 3 (with the exception AMAM for n=3)?


That's not exactly what I meant; perhaps I didn't express myself clearly. I wanted to know if it's possible to allow teachers a rest period the following morning after a full day of work (morning + afternoon).
B.A/krim

Liviu Lalescu

I think it is possible: for each three consecutive days, teachers work only two. Use teachers occupy max 2 sets of time slots from 3.

Benahmed Abdelkrim

Oh ... yes!, that's right! I wonder why I didn't think of that constraint? Thank you, dear Liviu!.  :)
B.A/krim

Liviu Lalescu