1 activities need lot of room in same day and time

Started by kdsayang, May 30, 2008, 06:02:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kdsayang

Hi,

I've this subject Y. Subject Y is 1 1/2 hours with 2 split activities per week. Subject Y is taught to 1 course that is Course A. There are 12 teachers involved in teaching this Subject Y. 1 teacher per group. Means that this 12 teachers will be teaching about 12 group of Course A. Subject Y also need 12 rooms. 1 teacher will be teaching 1 group at the SAME day and time BUT with in different room.

What I do is to create an activity like image below. The PROBLEM is, how to set the 12 room at the SAME day and time?? I tried to fix the day and time so that I can arrange the 12 room but It clash with other subjects. So, I just let FET decide which slot is available. Finally, I have slot for that subject BUT don't have any room for it

Please help....TQ


Liviu Lalescu

One possibility is to add 12 activities (each split into 2 per week), with a teacher and a group, and add one constraint activities same starting time, with all 12 activities. All activities have a preferred room.

Another possibility: add another 11 dummy activities with the one already added (these dummy activities have no teacher or students) and add a constraint activities same starting time with all 12 activities. The dummy activities have a preferred room.

kdsayang

QuoteOne possibility is to add 12 activities (each split into 2 per week), with a teacher and a group, and add one constraint activities same starting time, with all 12 activities. All activities have a preferred room.

I've been thinking about that too BUT when u create It like that, HOW are u gonna fit that 12 group in different 12 room in SAME day and time ???

Quote
Another possibility: add another 11 dummy activities with the one already added (these dummy activities have no teacher or students) and add a constraint activities same starting time with all 12 activities. The dummy activities have a preferred room.

I think this solution too will have to answer HOW are u gonna fit that 12 group in different 12 room in SAME day and time ???

My suggestion is, maybe FET can make "an activity have a set of preferred room" BUT in this case, instead of choosing between room A to H, this feature will choose ALL the room at the SAME day and time.

For example: Activity 1 of Subject Y is Sunday, 10am-11.30am and it booked 12 different room as mention in the constraints at that SAME day and time. Activity 2 is also the same.

TQ

Liviu Lalescu

I am not sure I understand correctly. I think you need to use my solution with constraint activities preferred roomS, adding all rooms in this constraint.

kdsayang

If I add all rooms (Room A to F) , it will select only one room (Room A or B or C etc) . What I want is to select ALL the room (Room A to F) at the SAME time and day.

I try using "an activity has a preferred room" and manually add each room for that particular activity BUT it just clash....

Liviu Lalescu

I do not understand. You have 12 activities (1 real and 11 dummy, or all 12 real) and add constraint activity preferred room(s) for each, where is the clash?

kdsayang

That is not what i meant.... What I meant is I ONLY have 1 subject where this subject have 2 activities. What I want to do is for each activity (that is only 2), I want 12 rooms for that activity at the SAME day and time.

If I do like u said, I Have 12 activities on the time table (I only want 2) with 12 different room. What I want to do is, for each activity (that is only 2), I want 12 free period rooms for each activity at the SAME day and time.

For the moment, I can achieved that by fixing the day and time of the activities. Then in room not available, I just make the slot for that activities to not available.

So, my suggestion is to make a new constraint that is "an activity has a set of permanent room" Meaning that If I choose this constraint and set room from room A to F, the output will be that I have booking room A to F at that SAME day and time.

It is different with "an activity has a set of preferred room" where it will randomly choose between room A to F.

Volker Dirr

Hallo

I am not sure if i understand correct, but i think liviu answerd your problem correct already in his first mail. I will try to explain more detailed:

You have an activity with 12 teachers, 12 rooms and the whole year with 2 hours per week.

Solution 1:
add an activity  with the year, all teachers and split this activity into 2 parts.
currently this mean you have (maximum) only one room looked for this activity.
So you need to add 11 more activities.
All without teachers and groups.
add a room constraint for that activities (or subject).
then add activity time constraint "A set of activities  has the same starting time (day+hour)" and add all 12 activities into that constraint.

if you generate this timetable, then it mean you only see one room in the timetable, but the other rooms are free! So you can use them!


Solution 2:
add an activity  with the year, ONE teacher and split this activity into 2 parts.
Add 11 more activities. Each Activity with an other teacher, but WITHOUT the year.
add a room constraint for that activities (or subject or teachers).
then add activity time constraint "A set of activities  has the same starting time (day+hour)" and add all 12 activities into that constraint.

if you generate this timetable, then it look like the other teachers don't have a group, but of course they get the students of the first activity, because it is at the same time.



Solution 3:
you need to split the year into 12 groups. (don't forget subgroups!)
add an activity  with one group, one teacher and split this activity into 2 parts.
Add 11 more activities. Each Activity with an other teacher and an other group.
add a room constraint for that activities (or subject or teachers).
then add activity time constraint "A set of activities  has the same starting time (day+hour)" and add all 12 activities into that constraint.

if you generate this timetable, then it look "best", because you can see wich room must by used by which group and teacher.


All 3 solutions can generate the same timetable, they have only a different "style", because it look like sometimes a room is not looked (solution 1) or it look like a teacher(activity) has not a free room (solution 2), but that is not true. If you have a closer look, then you will see, that the rooms are free!

Please write one more time if i still don't understand your problem.