FET Forum

FET Development => Suggestions => Topic started by: ctonny on April 10, 2014, 05:33:39 AM

Title: Break request for a student / all students and a teacher / all teachers
Post by: ctonny on April 10, 2014, 05:33:39 AM
Dear admin,

Sorry for my poor English.

Is it possible to have a constraint to set the min number of empty slot(s), e.g. 1 slot, to a student / all student sets in a specific period, e.g. between 10:00-14:00, and it results the student set / all students are forced to have 1-empty-slot (a break) between 10:00 to 14:00 for lunch. Of course, it can more than 1 empty slot if the student set does not have any activities.

Or we may think in another opposite direction, is it possible to add a constraint to set the max number of slots occupied in a specific period for a student set / all students?
And it can make the same result as the first constraint.

Also, these constraints can also be applied to the teacher(s).

Thanks and looking forward for your reply.
ctonny
Title: Re: Break request for a student / all students and a teacher / all teachers
Post by: Liviu Lalescu on April 10, 2014, 06:17:20 AM
Quote from: ctonny on April 10, 2014, 05:33:39 AM
Or we may think in another opposite direction, is it possible to add a constraint to set the max number of slots occupied in a specific period for a student set / all students?

Constraint activities occupy max time slots from selection.
Title: Re: Break request for a student / all students and a teacher / all teachers
Post by: ctonny on April 10, 2014, 07:42:06 AM
Quote from: Liviu Lalescu on April 10, 2014, 06:17:20 AM
Constraint activities occupy max time slots from selection.

but this constraint can only set to activities but not student nor teacher.
Title: Re: Break request for a student / all students and a teacher / all teachers
Post by: Liviu Lalescu on April 10, 2014, 07:44:30 AM
For each students set/teacher add all its/his activities in the constraint (you may need to add many constraints).