Teacher must work at specified time

Started by Zsolt Udvari, August 20, 2010, 08:49:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zsolt Udvari

Can I do this? So e.g. TeacherA should have monday first hour. This is irrelevant, which activity.

Liviu Lalescu

No, you cannot do that (directly).

Maybe there are some tricks, but I am not sure.

tevi

I need it also. Perhaps we have to write it in suggestions forum.  ;)

Liviu Lalescu

#3
I added it in the TODO. But it is hard.

Yes, you can write it also in suggestions, if you want so.

A trick: maybe you can try to fix an exact specific activity of the teacher at that slot. It may work.

Chafik Graiguer

As stated by Livui, there is usauly a Trick with FET
If I were you, I wouls make a zero slot
0 - 1 - 2 -3 ..
Make all teachers unavailable except the designed teacher
give him a pseudo activity, fix it in slot zero on monday
FET will be forced to schedule first slot !
But this requires that you dont allow gaps for teachers

Zsolt Udvari

Quote
But this requires that you dont allow gaps for teachers
And when I want allow this constraint?
This is a good idea, maybe need some more thinking :)

Liviu Lalescu

Reviving an old topic: since FET-5.15.0, you can do that using constraint Activities occupy max time slots from selection.

Silver

you can make the hours (not the first) not avalible by "not avalible teacher".

Liviu Lalescu

Quote from: Silver on July 13, 2012, 07:20:48 AM
you can make the hours (not the first) not avalible by "not avalible teacher".

No, Silver, he means he wants exactly some hours occupied. It can be done perfectly since FET-5.15.0, using the constraint of type activities occupy max time slots, as described in the help of that constraint and in the FET FAQ.