best time for teacher

Started by dimzev, October 23, 2019, 07:27:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dimzev

i need your advice ...
one teacher have 7 hour per week 2-2-1-1-1 or 2-1-2-1-1 or....
the teacher have only
mon hours 1 and 2
tues hours 1 and 2
wed hours 1 and 2
thu hours 1 and 2 and 3
fri hours 1 and 2
the teacher prefer work  2nd hour and after....

the solution is put 2 hours on thu to the 2nd &3nd hour
one hour to 2nd hour for others day
and difficult part is put the only one hour to the best for FET solution day ...
how put this data to FET ?

Liviu Lalescu

I am not sure I understand exactly what you would like to do, but I think you want to use the constraint teacher interval max days per week, interval = 1st-2nd, max days per week = 1.

dimzev

i wanna put

monday 2nd hour
tuesday 2nd hour
wensday 2nd hour
thues 2nd and 3nd hour
friday 2nd hour

and the last of 7 hour per week for teacher put the FET in the best solution for timetable
i dont know what is this solution
put on the 1 hour of monday or in first hour of tuesday or in the first hour of wensday or in the first hour for friday ?
how insert this data to FET and when run the proggram put the hour to the day for faster solution ?


Liviu Lalescu

Use the constraint I suggested, teacher works in an interval max days per week, interval = 1st to 2nd, max days per week = 1.

dimzev

ok thank you for your help!!!

Liviu Lalescu

You are welcome!

You can also use a constraint activities occupy max time slots from selection (all activities of the teacher, selected =  first slot of each day, max occupied = 1), but interval max days per week is easier in your case.