FET Forum

FET Development => Suggestions => Topic started by: btvinh on December 26, 2012, 05:00:00 AM

Title: Constraint teachers not working continuously thought lunch break
Post by: btvinh on December 26, 2012, 05:00:00 AM
First, I appreciate authors's working for this software. It's amazing about speed process and many flexible constraints for many situations. But my school in VietNam there are some different points:
- Classes studies only morning or only afternoon.
- Teachers teach both of morning and afternoon.
- Teachers come home for lunch break, not stay at school. Because school's not enough rest room for teacher. And, so timetable need avoid continouosly activities thought lunch break. In other words, teachers don't want to work continouosly activity at end morning and activity at start afternoon, they want more time at home to eat and rest.
With requirements I used official version and resolve easily #1, #2 by "not available times".
But #3, I couldn't find any constraints like that.

I tried moroccan version but I don't find any constraint of teacher like not working contiously thought lunch break.
You consider this requirement for new version.
Thanks so much.
Title: Re: Constraint teachers not working continuously thought lunch break
Post by: Liviu Lalescu on December 26, 2012, 06:44:03 AM
I think you can use more activities occupy max time slots from selection, one constraint for each teacher and each day, with all activities of a teacher and time slots = those two near the break and max occupied = 1.
Title: Re: Constraint teachers not working continuously thought lunch break
Post by: btvinh on December 28, 2012, 04:39:59 AM
thank you for your answer. I'm not sure I understand right the feature which you suggest.
I tried add 1 contraint for all activities of 1 teacher have 2 continouosly activities though the break as below picture.
But it generate failed.
I tried change time splot only morning hours or only afternoon hours near the break and the result same.
Title: Re: Constraint teachers not working continuously thought lunch break
Post by: Volker Dirr on December 28, 2012, 08:58:11 AM
You have too less timeslots then.
You must do that for every single day.
(So adding number of days constraint like that, but just with 2 marks.)