FET Forum

FET Support (English) => Get Help => Topic started by: beanb34n on July 23, 2024, 03:01:35 PM

Title: spreading activities evenly
Post by: beanb34n on July 23, 2024, 03:01:35 PM
I have to give 4 classes distributed into 6 days per week. 4xP + 4xM + 4xC = 12 classes =2 classes per day.
i want to make it so that the classes of one subject are not clumped together in the first 4 days of classes. I tried using spread the activities evenly over the week, but it did not work as i hoped it would. and i cannot use min days between set of activities as it has to be 1 or 2. Do i try to use min 2 days between set of activites with 95% weight, but the gaps cannot all be 2 so many constraints will be broken.
Title: Re: spreading activities evenly
Post by: Liviu Lalescu on July 23, 2024, 03:10:03 PM
Hello,

Say you have (A1, A2, A3, A4). Then you can:

1) Min 4 days between A1 and A4, 100% (the best solution).

2) Preferred times of A4 with X (red) on the first 4 days. But the activities A1..A4 can be on the last 4 days, so you might need another constraint of this type for A1, X (red) on the last 4 days.

3) Use activities (A1, A2, A3, A4), select first 4 day, max occupied slots = 3 (if each activity has duration 1). This is an overkill for what you need, but works. Might need 2 constraints, as in my point 2).
Title: Re: spreading activities evenly
Post by: beanb34n on July 23, 2024, 05:09:59 PM
Note: Constraint Min days between activities, WP:100%, NA:2, Id:1, Id:2, mD:4, CSD:yes was skipped, because it does not refer to a whole larger container activity
Note: Constraint Min days between activities, WP:100%, NA:2, Id:5, Id:6, mD:4, CSD:yes was skipped, because it does not refer to a whole larger container activity

I tried your 1st solution and set min days between A1 and A2 as 4 days. However A1 and A2 were part of A whose min days was set to 1 so i got above error
Title: Re: spreading activities evenly
Post by: Liviu Lalescu on July 23, 2024, 05:19:29 PM
Some corrections regarding my first answer:

(3) is not as efficient as the first two. It is in fact quite inneficient.

(2) might be more efficient than (1), but I am not sure. The reason is that FET will know exactly the days that the activities are allowed, before generating. You can also use two constraints subactivities preferred times for each subject, so it is easier to input and simpler.

I am not sure where you got these Notes. Did you export to CSV? They are not errors, FET will generate correctly. But FET cannot export this additional constraint to the activities CSV, and FET reports this.
Title: Re: spreading activities evenly
Post by: beanb34n on July 23, 2024, 05:52:49 PM
 ;D Thanks for your help. I will put another post in get help if i have any more issues. Have a good day
Title: Re: spreading activities evenly
Post by: Liviu Lalescu on July 23, 2024, 05:56:01 PM
You are welcome! :) You, too!