FET Forum

FET Development => Suggestions => Topic started by: Silver on September 27, 2010, 08:16:29 PM

Title: add Min gaps between activites in the day
Post by: Silver on September 27, 2010, 08:16:29 PM
i hope you can add "Min gaps between activites in the day for teacher" .
i mean like this :
when i select Min gaps = 2
satarday:   activity - gap - gap - activity - gap - gap - activity
Title: Re: add Min gaps between activites in the day
Post by: Liviu Lalescu on September 28, 2010, 09:30:09 AM
I wrote this in the TODO. But why you cannot use the constraint min gaps between a set of activities?
Title: Re: add Min gaps between activites in the day
Post by: Silver on September 28, 2010, 03:56:53 PM
i made exams timetable with the new feature "An activity can now be split into 35".
But some of the tasks (teacher activites) to be consecutive.
please see the timetable.
http://lalescu.ro/liviu/fet/forum/index.php?topic=874.0

(subject timetable)
Title: Re: add Min gaps between activites in the day
Post by: Silver on September 28, 2010, 03:57:53 PM
QuoteI wrote this in the TODO.
sorry, thanks
Title: Re: add Min gaps between activites in the day
Post by: Volker Dirr on September 28, 2010, 04:29:05 PM
i am not sure if i understood the problem completly, but maybe you can use one of this hints:

a) just increase the duration of the activities up to 3. so in real they use only the first period, but there are 3 periods in the timetable. just say that the other 2 are gaps.

of course this affect also the students. if you don't want this, try this:

b) each (teacher-)activity need a pseudo activity. only the teacher with subject "gap" and duration 2. use activity constraint 2 activities must be consecutive to them.

so the teacher always have 2 gaps.

be carefull, you (maybe) need to increase the number of hours per day +2. but that shouldn't be a problem.
Title: Re: add Min gaps between activites in the day
Post by: Liviu Lalescu on September 28, 2010, 07:48:47 PM
You could use for the moment constraint min gaps between a set of activities (add for each teacher a constraint with all his activities), and take care that min days between activities for these activities should have 'consecutive if same day' false, if they can be in the same day and you need to add gaps between them.
Title: Re: add Min gaps between activites in the day
Post by: Silver on September 29, 2010, 09:09:11 PM
ok, Thank you very much.