FET Forum

FET Support (English) => Get Help => Topic started by: max on September 14, 2008, 09:51:37 PM

Title: Consecutive if same day not working?
Post by: max on September 14, 2008, 09:51:37 PM
Hi,

I have the following problem:

let's say I have a class with 2 sections, let's call it 7A and 7B.  My subject is Math (of course, the schedule is much more complicated and is full, but this is what we need here).  Now each section has 6 periods of math over 5 days with the same teacher.
The way I created the activities for each section was 2+2+2.  I also tried 5+1.  I specified min 1 day with 99%, and consecutive if same day.  What's happening when I get the schedule is I'm getting something like this all the time:

Period           1       2       3
Teacher1     7A     7B     7A  ......

on the same day, I'm getting a split in the two periods for 7A.  Is it becausa FET is getting one period from the first activity, and another from the second activity (one from the first 2, and the other from the second 2?)  I tried adding min n days constraints between these activities as well with 100%, so that each of the  2+2+2 can't be on the same day, but that didn't seem to help.

Any advice would be greatly appreciated.

Note: schedule is filled all week.

max
Title: Re: Consecutive if same day not working?
Post by: Liviu Lalescu on September 14, 2008, 10:05:18 PM
I am not sure I understood correctly.

So, you have 6 hours of Maths in a 5 days week. It is wrong to add 6 subactivities. The solution is for you to choose a splitting. I think the best is to split into 5 subactivities, A1, A2, A3, A4 and A5, with A1 having duration 2 and the rest duration 1. This way, FET will add a constraint min n days between activities, with A1, A2, A3, A4 and A5. It must work OK this way, because nobody else reported such bugs. If Ai will be in the same day with Aj, they will be consecutive in the timetable.

If you want to split into A1, A2 and A3 (duration 2 each) - do the same way, split into 3 and FET will add automatically a constraint min n days for A1, A2 and A3.
Title: Re: Consecutive if same day not working?
Post by: max on September 14, 2008, 10:14:09 PM
thanks for the amazingly fast reply  :D

I think, as you said, the way I'm doing it is wrong.

right now, I'm putting 1 activity split into 5 subactivities, and another single activity to get 6.  I've also tried 2+2+2 each with 1 activity split into 2 with duration 1.  From what I understand, that's not the right way to do it.  Instead, I should split into 5 with the first one duration 2.  I'll try that and let you know how it goes.

Thanks for the great program.

max