FET Forum

FET Support (English) => Get Help => Topic started by: Prabhash Paudel on April 07, 2024, 01:40:53 PM

Title: Activity setting
Post by: Prabhash Paudel on April 07, 2024, 01:40:53 PM
Suppose Mr. X has 4 periods in a week of 6 working days in a class. How to set the activity so that he will get his classes in continuous 4 days.
Title: Re: Activity setting
Post by: Volker Dirr on April 07, 2024, 03:30:56 PM
You can use the "MAX days between activities" constraint for this.

But you should know this before using it:
- I can't see why it is an advantge to have them consecutive. A day off is sometimes a good idea and normal. Think about weekend or other subjects with less hours. There are also many days between.
- With that constraint you can get very fast an impossible data set. Example: 6 days a week and 2 hours per day. So total 6*2=12 hours per week. Now you have activity 1 with 4 hours per week, activity 2 with 4 hours per week, activity 3 with 3 hours per week and activity 4 with 1 hour per week. So in total also 4+4+3+1=12 hours per week. It is very easy so solve that timetable if you don't add your requested constraint, but it is impossible with your requested constraint. (yes, I know: If you have activity 3 and 4 both with 2 hours, then it is easy solveable and maybe useful.)

So my advise: Think twice before using it.
Title: Re: Activity setting
Post by: Prabhash Paudel on March 03, 2025, 05:39:50 PM
I could not make you to understand. There are total 6 periods in a week where X takes 2 periods and Y takes 4 periods. Need to set the activities in such a way that there will be one period in each day,
Title: Re: Activity setting
Post by: Liviu Lalescu on March 03, 2025, 06:04:07 PM
A constraint min 1 days between the 6 activities, 100%.