FET Forum

FET Support (English) => Get Help => Topic started by: Cyrus Ireri on February 23, 2024, 09:32:45 PM

Title: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on February 23, 2024, 09:32:45 PM
In relation to the two photos, the two teachers have had 3 sessions in the afternoon for 3 days. If there is same activity tag for all the subject, is it possible to put a constrain that will restrain teachers from having more than 2 afternoons with 3 sessions of the same activity tag? At times, its hard to ensure teachers don't have 3 lessons in the afternoon one being because the total sessions and inter related factors and one doesn't want to stain them so much in the afternoon. Kindly assist on how to deal with this scenarios. Thanks
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Liviu Lalescu on February 23, 2024, 10:02:24 PM
Hello,

I can only think of these two alternatives:

1) Activities with that tag occupy max 8 slots from afternoon selection.

or

2) Consider adding 3 constraints teachers interval max 3 or 4 days per week, interval = a clever choice of the last hour(s).

It is late, I need to sleep now. See you in the morning.
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on February 24, 2024, 05:46:15 PM
I opt for option 2
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on April 25, 2024, 01:55:07 PM
For 4 sessions that are separated by a break,when i use max hours daily in an hourly interval for all teachers and have 3,i'm finding teachers having double sessions having a double and 2 split sessions meaning the constraint is having issues with subject with duration 2 and then singles.How do i solve this since i wish no teacher to have 4 sessions in a row even if they have a break?
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Liviu Lalescu on April 25, 2024, 06:28:40 PM
I am sorry, but I do not understand. To not have 4 continuous sessions you can add max 3 hours continuously, and to not have 4 hours in [a, b) you can add max 3 hours daily in interval.
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on April 25, 2024, 06:45:38 PM
When you add 3,a session with duration two is considered as an hour and hence a teacher is finding him/herself with 4 hours/sessions i.e double and 2 split sessions.I wish that at no time a teacher will have 4 sessions in a row whether its 4 split sessions, double and two splits or even two doubles.
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Liviu Lalescu on April 25, 2024, 06:52:53 PM
Please show me this bug in a timetable. Send me your locked file and tell me the teacher, the day, and the hourly interval.
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on April 25, 2024, 07:07:00 PM
Its like the constraint should be in a position to recognize a session with duration 2 like 2 split sessions that are joined but its not hence treating it like its an hour session
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on April 25, 2024, 07:07:20 PM
Quote from: Liviu Lalescu on April 25, 2024, 06:52:53 PMPlease show me this bug in a timetable. Send me your locked file and tell me the teacher, the day, and the hourly interval.

Fine
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on April 25, 2024, 09:23:08 PM
There we go
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Liviu Lalescu on April 26, 2024, 09:20:17 AM
I think I tried to explain more times and you agreed you understood. You should add the second max hours daily in interval constraint: [9:30-10:10, 12:30-1:10), max 3 hours. So the constraint should be from 9:30-10:10 to 12:30-1:10.
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on April 26, 2024, 09:33:45 AM
Quote from: Liviu Lalescu on April 26, 2024, 09:20:17 AMI think I tried to explain more times and you agreed you understood. You should add the second max hours daily in interval constraint: [9:30-10:10, 12:30-1:10), max 3 hours. So the constraint should be from 9:30-10:10 to 12:30-1:10.

So in simple language is if i have break1, l3,l4, break2 l5,l6 break3, my constraint should fall under l3- break 3 and not break 1-break 3?
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Liviu Lalescu on April 26, 2024, 07:12:33 PM
The interval is a, b. a is included in the constraint, b is not. I don't know how to explain better.
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on April 26, 2024, 07:34:51 PM
If i have break 1,h3,h4 break2, h5,h6 break 3 which options will work from the below options:

1) break 1-break 3 max hours 3
2) H3-h6 -max hours 3
3) Break 1-h6-max hour 3
4) H1-break 3- max hour 3

You answer this,i will be sorted out.
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Liviu Lalescu on April 26, 2024, 07:40:03 PM
It is

5) h3, break 3, max 3 hours.
Title: Re: Max hours with an activity tag in an hourly interval for all teachers
Post by: Cyrus Ireri on April 26, 2024, 10:12:27 PM
Quote from: Liviu Lalescu on April 26, 2024, 07:40:03 PMIt is

5) h3, break 3, max 3 hours.

Thanks