Max hours with an activity tag in an hourly interval for all teachers

Started by Cyrus Ireri, February 23, 2024, 09:32:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cyrus Ireri

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

Liviu Lalescu

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.


Cyrus Ireri

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?

Liviu Lalescu

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.

Cyrus Ireri

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.

Liviu Lalescu

Please show me this bug in a timetable. Send me your locked file and tell me the teacher, the day, and the hourly interval.

Cyrus Ireri

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

Cyrus Ireri

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


Liviu Lalescu

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.

Cyrus Ireri

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?

Liviu Lalescu

The interval is a, b. a is included in the constraint, b is not. I don't know how to explain better.

Cyrus Ireri

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.

Liviu Lalescu