FET Forum

FET Development => Suggestions => Topic started by: kdsayang on April 16, 2008, 01:57:30 AM

Title: min hours continuously for teacher/student
Post by: kdsayang on April 16, 2008, 01:57:30 AM
hi....

In latest FET, there is Max hours continuously for teachers and students.... This features is to ensure that between classes, each lecturer and student will be given at least 1 free period before they continue to another classes..

So, I like to suggest that min hours continuously for teacher/student is to be implement in future FET (Is it possible??). Why??
This is because every lecturer have different slots that they need to teach... For mine, I need to cater for 2, 3 and 4 slots ( at the moment)... When I set the Max hours continuously for all teachers and students to 4, teachers and student that have 3 and 4 slots are okay BUT teachers and students on 2 slot will have NO gap at all between each classes...


For more info, just try and generate the files that have been given

TQ
Title: Re: min hours continuously for teacher/student
Post by: Liviu Lalescu on April 16, 2008, 07:39:58 AM
I do not know how a min hours continuously constraint would help you.

It is very difficult (impossible) to implement min hours continuously.

There is a trick you could use: put each activity in a different room, each room in a different building, and add constraint min gaps between building changes = 1. I don't know if you can apply this.
Title: Re: min hours continuously for teacher/student
Post by: Liviu Lalescu on April 16, 2008, 08:39:29 AM
If you need at least one hour space between each pair of activities, I think I have a good solution for you, in fact a trick:

-activity A1 has real duration 3. Then add this activity with FET duration 3+1. You will consider that the last period (hour 4) will be a break, just to keep the next activity at least 1 hour apart.

- all the activities will have FET duration=real duration+1., the last hour is a break.

- the FET number of hours per day will be real number of hours per day+1, to have space.

This way, an activity can only be placed after the break of a previous activity.

Maybe you have to take care of other things (like not available), but I think it works.
Title: Re: min hours continuously for teacher/student
Post by: kdsayang on April 16, 2008, 11:03:31 AM
Quote
There is a trick you could use: put each activity in a different room, each room in a different building, and add constraint min gaps between building changes = 1. I don't know if you can apply this.

You're right....  I can't apply that.. hehe

I will try your other suggestion.... tq