To accommodate for all the students during their breaks, we divided the school into 3 groups. with their breaks shifted as follows
Period 1[/th][td]
Break[/td][td]||[/td]
[th]
Period 2[/th][td]
Break[/td][td]||[/td]
[th]
Period 3[/th][td]
Break[/td][td]||...
not relevant[/td]
[/tr]
[tr][td]Group 1[/td]
[td]8:00-8:55[/td][td]
(8:55-9:15)[/td][td]||[/td]
[td]9:15-10:10[/td][td]-[/td][td]||[/td]
[td]10:10-11:05[/td][td]-[/td][td]||...[/td]
[/tr]
[tr][td]Group 2[/td]
[td]8:00-8:55[/td][td]-[/td][td]||[/td]
[td]8:55-9:50[/td][td]
(9:50-10:10)[/td][td]||[/td]
[td]10:10-11:05[/td][td]-[/td][td]||...[/td]
[/tr]
[tr][td]Group 3[/td]
[td]8:00-8:55[/td][td]-[/td][td]||[/td]
[td]8:55-9:50[/td][td]-[/td][td]||[/td]
[td]9:50:10:45[/td][td]
(10:45-11:05)[/td][td]||...[/td]
[/tr]
[/table]
The problem we have while scheduling is that a teacher who is teaching
Group 1 during
Period 2 cannot teach
Period 3 in
Group 3. (Period 2 in Group 1 finishes at 10:10, and Period 3 in Group 3 starts at 9:50). :exclamation
Is it possible to add a constraint where the same teacher cannot have a period in a certain Level and then followed by a period in a another level.
So lest we enumerate all the possible combination of classes, is it possible to group Years in a higher level (maybe called School/Section/....) and then set this condition based on them?
Cheers
Your suggestions are too difficult for me.
What you could do: define a FET hour=5 real minutes. An activity with duration 55 real minutes will have duration in FET 11 ("hours"). A break will have FET duration 4. But the max FET hours per day is 60.
Or, maybe if you are not so strict, you may consider real 20 minutes=1 FET hour.
QuoteSo lest we enumerate all the possible combination of classes, is it possible to group Years in a higher level (maybe called School/Section/....) and then set this condition based on them?
Cheers
You dont need level higher than Years
You only need to add some extra years as follow:
Say you have five years 1, 2, 3, 4 and 5
define yeras as follow:
1-SEC1
1-SEC2
1-SEC3
2-SEC1
2-SEC2
...etc
For a group form year1 /group 1, put it into 1-SEC1
For a group form year1 /group 2, put it into 1-SEC2
For a group form year2 /group 2, put it into 2-SEC2
Now for you can simply define constraints for all groups form all years belonging to group1 by settings those constraints to:
1-SEC1, 2-SEC1, 3-SEC1..5-SEC1
Hope it helps
Reviving an old topic:
Please see http://lalescu.ro/liviu/fet/forum/index.php?topic=1088.msg6282#msg6282 . Starting with FET-5.15.0 there is a new constraint, activities occupy max time slots from selection, and you can say that from two slots a teacher can only work in a single one of them.