A teacher works in a concrete period

Started by anblado, July 29, 2015, 11:50:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

anblado

Hello, another question would help a lot is to make a teacher work in a certain period, never mind the activity or subject.

For example, the teacher must work tuesday from 8 to 10.

Does anybody know how to do that?

Thank you

Liviu Lalescu

Constraint activities occupy max time slots from selection.

anblado

But the problem is that tis constrain only assures a maximum but not a minimum

Liviu Lalescu

Please press the Help button there. Quote:

Uses of this constraint are probably very wide. The main reason it was added was to enable users to specify that a teacher should have activities in certain time slots. Example: we have a week with 30 hours. Teacher T has 20 hours of activities, and we would like him to have activities Monday and Tuesday on the first two hours. Add a constraint of this type, with the set of activities being all the activities of teacher T, selected time slots being the remaining 30-2*2=26 slots of the week, and the maximum number of selected time slots which can be occupied by these activities being 20-2*2=16.

anblado

Great!! I didn't think of negative thinking!! that opens a much wider range of possibilities. Thank you