Splitted activity one pair not in consecutive days

Started by juancmar, September 05, 2008, 12:48:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

juancmar

Hi, normative for High-School in Spain specifies that if an activity is scheduled in 3 periods in a week, they can't be in three consecutive days. So if I set min n days between activities as 1, then sometimes I get the 3 activities in consecutive days. If I set it as 2, then a restriction must be broken as I only have 5 days and not always can be used Monday, Wednesday and Friday. Then sometimes I got two of these activities the same day.

How can I do these 3 days activities not being in three consecutive days? (I'd like to schedule two of them in consecutive days, and the other one two days after, or Monday, Wednesday and Friday)

Liviu Lalescu

#1
More solutions possible:

1) the perfect solution, which is a bit difficult to implement: say A1, A2, A3 are the activities. Add constraint min n days between activities A1 and A2, 100%, 1 day, constraint min n days between activities A1 and A3, 2 days, 100% and between A2 and A3, 2 days, 100%.

2) add a constraint min n days between activities for A1, A2 and A3, min days 1, weight 100%. Then add a second constraint min n days between activities, A1, A2, A3, min days 2, weight somewhere from 50% to 95% or even 99.75% if it is possible.
From the add activity interface, you can add min days 2 and FET will ask about a second constraint, with min days 1, so you can add them directly from add activity dialog.

Also, you can change multiple constraints at once from the min n days constraints dialog, using an intelligent filter.

juancmar

Thanks, I'm trying to do it right now. I'll tell you...

juancmar

Solution #1 works perfectly. Thanks.

Anyway, maybe it'll be useful to add a checkbox in the Add Activity dialog. That checkbox will say "Activity not in consecutive days".

Liviu Lalescu

I'm glad it worked out.

It is difficult to do what you suggest, and maybe not general (universal). I am trying to maintain a file format usable by any institution.

I hope other people will be able to use the suggested approaches if they are in the same situation. I added them in the FAQ.

juancmar

I don't know anything about that file format, but I guess it'll be possible to do it without changing that. Maybe a script checking the checkbox and executing a script to convert that checked checkbox to the constraints specified in #1 solution. That script will be executed when you push the Add Activity button.

Well, that's just an idea. You know what you're looking for and how to do it better than me, so you decide. I'll be using FET anyway. If you need some help from me, just let me know.

Liviu Lalescu

You are right. I'll think about it. But it is not easy. To add 3 min n days constraints from the interface is very easy, but to add an additional check box in the add activity dialog is complicated, because the dialog is full already.