FET Forum

FET Support (English) => Get Help on Your Input File => Topic started by: lalloso on September 08, 2015, 09:43:50 PM

Title: Activity has a set or preferred time slots 100% constraint seems to be ignored
Post by: lalloso on September 08, 2015, 09:43:50 PM
Hello fetters ^_^,

this is something which is really puzzling me. I'm trying to use this simple constraint in the subject to have the activities tagged with "Allattamento" always at the first hour. There are 5 sub-activities  (5 lessons which last 1 hour) and 5 possible work days for the teacher.
However even if I generate the timetable without conflicts, the constraint does not seem to be respected. It seems so strange to me that I think I'm probably overlooking something very simple, but until now I haven't found the problem. You know when you try to turn on the TV and you are using the wrong remote control, that's the feeling. ^_^
Title: Re: Activity has a set or preferred time slots 100% constraint seems to be ignored
Post by: Volker Dirr on September 08, 2015, 09:59:35 PM
You set that time constraint only to 3 activities (id 124, 126 and 123).
I guess you want to have something like this:
FET -> Data -> timeconstraint -> Activities -> An activitiy has a set of pref. timeslots
remove that 3 constraints.

then go to
FET -> Data -> timeconstraint -> Activities -> A set of activities has a set of pref. times
now add fot tag "Allattamento" an constraint with only 1st hour allowed.
Title: Re: Activity has a set or preferred time slots 100% constraint seems to be ignored
Post by: Volker Dirr on September 08, 2015, 10:03:25 PM
(But it look like that is impossible in year 2. i didn't check the exact reason at the moment. i recommend to remove at least 1 "Allattamento" tag somewhere.)
Title: Re: Activity has a set or preferred time slots 100% constraint seems to be ignored
Post by: lalloso on September 08, 2015, 10:35:55 PM
Quote from: Volker Dirr on September 08, 2015, 09:59:35 PM
You set that time constraint only to 3 activities (id 124, 126 and 123).
I guess you want to have something like this:
FET -> Data -> timeconstraint -> Activities -> An activitiy has a set of pref. timeslots
remove that 3 constraints.

then go to
FET -> Data -> timeconstraint -> Activities -> A set of activities has a set of pref. times
now add fot tag "Allattamento" an constraint with only 1st hour allowed.

Thanks a lot for the hint! I think I have not understood very well the differences between activity, sub-activity and maybe even activity group.