max number of hours for all activities in a time selection

Started by flauta, September 07, 2017, 03:44:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

flauta

Hello *

I want to set a constraint so that in all classes, all subjects and all days for a selection of hours (say the 2 afternoon hours) a single subject can appear only for a max number of hours a week. ( e.g. all classes can have only 2 hours a week of each subject in the afternoon)

I tried setting the constraint "A set of activities occupy max time slot from selection"  setting one constraint for each teacher, but FET gets stuck after a few seconds.

Thanks if someone can help. AP

Liviu Lalescu

1. I am not sure you need for each teacher. You might want to add all activities with this subject in a single constraint.

2. Please note that the selected slots are X or red.

If this does not happen, send us your file. If it is private, send by email to me or anonymize it.

flauta

Thanks Liviu, that's correct I don't need it for each teacher or subject.
I was only wondering if there was another way to get that constraint on every subject with a single rule.
I'll try and put into only those who are strictly needed. :)

Liviu Lalescu

Quote from: flauta on September 07, 2017, 05:11:28 PM
Thanks Liviu, that's correct I don't need it for each teacher or subject.

Not separately for each teacher, but I think you need it separately for each subject.