Activity has a set or preferred time slots 100% constraint seems to be ignored

Started by lalloso, September 08, 2015, 09:43:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lalloso

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. ^_^

Volker Dirr

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.

Volker Dirr

(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.)

lalloso

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.