Prohibiting Consecutive Days From Having Equal Subject Durations

Started by umid, April 30, 2015, 08:04:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

umid

After assigning duration of a certain subject to different days in a week is there a way to put a constraint which would prohibit having consecutive days with equal subject durations (e.g. prohibit having "2" set to physics both on Wednesday and Thursday)?

Liviu Lalescu


umid

The thing is I am assigning 7 hours in total, 1,1,1,2,2 per each day of a weak.
I wouldn't want to have have consecutive two days with 2 hours assigned to them. Is it possible to do this?

Liviu Lalescu

Yes, you can add a separate constraint min 2 days between activities, 100%, (sub)activities ids with duration 2.

For instance, if activity is split: id 34 (duration 1), 35 (dur 1), 36 (dur 1), 37 (dur 2), 38 (dur 2), add min days between ids 37 and 38.

Let me know if now is clear.

umid