Complicated break rule

Started by HappyIX, April 21, 2013, 05:20:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HappyIX

Hello,

I'm trying to add a constraint so that:


  • If students have <=7 lessons on a day then no break is required
  • If students have >= 8 lessons on a day then a break is required in one of 3 specific periods (time around 12:00; i.e. 11:00 - 13:00)

I read the manual and I believe this is really hard condition because none of the approaches in the manual seem to be usable.

Thank you!

Liviu Lalescu

I see no solution at the moment. Maybe try to think of the very general constraint activities occupy max time slots from selection, but I see no way to apply it.

HappyIX

Thank you!

I'll check if I can add the constraint in a little different form.

Volker Dirr

Maybe there is a special activity if you mave >=8 hours a day? In that case you can add a pseudo activity "break" with constraint same day as the special activity.