FET Forum

FET Support (English) => Get Help => Topic started by: Zsolt Udvari on August 20, 2010, 08:49:53 AM

Title: Teacher must work at specified time
Post by: Zsolt Udvari on August 20, 2010, 08:49:53 AM
Can I do this? So e.g. TeacherA should have monday first hour. This is irrelevant, which activity.
Title: Re: Teacher must work at specified time
Post by: Liviu Lalescu on August 20, 2010, 05:29:18 PM
No, you cannot do that (directly).

Maybe there are some tricks, but I am not sure.
Title: Re: Teacher must work at specified time
Post by: tevi on August 21, 2010, 07:34:31 PM
I need it also. Perhaps we have to write it in suggestions forum.  ;)
Title: Re: Teacher must work at specified time
Post by: Liviu Lalescu on August 21, 2010, 07:45:07 PM
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.
Title: Re: Teacher must work at specified time
Post by: Chafik Graiguer on September 18, 2010, 10:52:05 PM
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
Title: Re: Teacher must work at specified time
Post by: Zsolt Udvari on September 19, 2010, 05:34:18 PM
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 :)
Title: Re: Teacher must work at specified time
Post by: Liviu Lalescu on May 29, 2012, 02:52:00 PM
Reviving an old topic: since FET-5.15.0, you can do that using constraint Activities occupy max time slots from selection.
Title: Re: Teacher must work at specified time
Post by: Silver on July 13, 2012, 07:20:48 AM
you can make the hours (not the first) not avalible by "not avalible teacher".
Title: Re: Teacher must work at specified time
Post by: Liviu Lalescu on July 13, 2012, 06:57:55 PM
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.