FET Forum

FET Support (English) => Get Help => Topic started by: flauta on September 07, 2017, 03:44:29 PM

Title: max number of hours for all activities in a time selection
Post by: flauta on September 07, 2017, 03:44:29 PM
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
Title: Re: max number of hours for all activities in a time selection
Post by: Liviu Lalescu on September 07, 2017, 04:15:42 PM
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.
Title: Re: max number of hours for all activities in a time selection
Post by: flauta on September 07, 2017, 05:11:28 PM
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. :)
Title: Re: max number of hours for all activities in a time selection
Post by: Liviu Lalescu on September 07, 2017, 05:15:20 PM
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.