I'd like to doing timetable for University, but I've some problems.
Ex:
The courses at university an even or an odd number of hours.
For example: the databases course has three hours per week
Single-hour on one day and two hours on another day.
but
The data structures course has four hours per week
two hours on one day and two hours on another day.
The even number of hours such as:
the first lecture must be start: 8:00 a.m to 10:00 a.m
the 2nd lecture must be start: 10:00 a.m to 12:00 p.m
the 3ed lecture must be start: 12:00 p.m to 14:00 p.m
the 4th lecture must be start: 14:00 p.m to 16:00 p.m
The odd number of hours must be:
the fifth lecture start: 12:00 pm to 13:00 pm
the sixth lecture start: 13:00 pm to 14:00 pm
the seventh lecture start: 14:00 pm to 15:00 pm
the eighth lecture start: 15:00 pm to 16:00 pm
How I can do these constraints?
Thanks for your patience in answering questions on the Forum.
maybe add an activity tag to each activity ("even" or "odd").
then add a set of activities has a set of preferred starting times. set this constraint once for the "even" and once for the "odd" constraint.
Thanks Volker :)
could you give me an example, please!
QuoteThanks Volker :)
could you give me an example, please!
This answer is from Volker:
I am not sure what you mean. You need an example for constraint preferred time? Check this: http://www.timetabling.de/manual/FET-manual.en.html#id_26
like i said:
you need to do 2 activitiy tags. "odd" and "even".
then add the correct tag to each activity.
then add a preferred time constraint to tag "even".
do the same with tag "odd".
ready.