hi
in my timetable I see that student groups changes their rooms during a day;
example:
MONDAY 1 2 3 4 5 period
room A 3B 3B 4A 4A 3B not good
room B 3C 3C 4B 4B 3C not good
LAB 1 3D 3D 3C 3C 4A this is OK
LAB 2 3E 3E 3B 3B 4B this is OK
must be
MONDAY 1 2 3 4 5 period
room A 3B 3B x x 3B
room B 3C 3C x x 3C
LAB 1 3D 3D 3C 3C 4A
LAB 2 3E 3E 3B 3B 4B
I cannot assign permanently room A to class 3B and room B to 3C, because the next day the groups 3B and 3C are in another building
how can I do?
thanks
Space constraint activities occupy max 1 different rooms, for all activities of the students set other than labs.
Hmm, this does not allow them to change rooms in other days - so it is more restrictive that what you want.
does this mean I cannot keep a room empty when the students are in LAB?
any trick for having this?
maybe i missunderstood.
but why don't you simply disallow room A and B fot group 4A and 4B?
BTW: Where should 4A and 4B be at hour 3 and 4?
4A and 4B come from Gym
I try to make it easier:
I have two buildings
- one with labs and gym
- one without
I must swap students from one building to another, but I surely forgot some constraint because when group 1 is in LAB, FET uses 1's empty room for group 2; when group 1 returns from LAB and group 3 goes to LAB, FET uses 3's empty room to store the group 2; when group 3 returns from LAB and group 4 goes to LAB, FET uses 4's empty room to store group 2. So group 2 moves from room to room!
My boss desn't want a group spinning around in the building and wants group 2 to stay in the other building that day;
so I must tell FET that when group 1 goes to LAB, 1's room is not available for other groups (students leave in the room their books, rucksacks, garments, helmets, money...)
but I really don't know how to do it :(
consider that I cannot permanently disallow those rooms for group 2, otherwise FET keeps always group 2 in the second building, where there is no LAB.
I'm blocked!
Add dummy activities, constrain them with same starting time to the lab activities. Then, same room (activities occupy max 1 room) for all real activities which are not lab and including the dummy ones.
if I understood the right way (not sure)
what I get:
MONDAY
building 1 building 2
room A 3D 3D 3A 3A 3A 3A room D 3E 3E 3E 3E 3E 3E
room B 3B 3B 3D 3D 3B 3B room E 4A 4A 4A 4A 4A 4A
room C 3C 3C 3C 3C 3D 3D room F x x x x x x
LAB 3A 3A 3B 3B 3C 3C
what I want:
MONDAY
building 1 building 2
room A x x 3A 3A 3A 3A room D 3D 3D 3D 3D 3D 3D
room B 3B 3B x x 3B 3B room E 3E 3E 3E 3E 3E 3E
room C 3C 3C 3C 3C x x room F 4A 4A 4A 4A 4A 4A
LAB 3A 3A 3B 3B 3C 3C
what I need to solve:
3A_dummy, 3B_dummy, 3C_dummy
dummy_teacher
dummy_activity_2_hours
menu Time->Activities->A set of activity has same starting time (day + hour)
Add: activities: LAB-3A & dummy_activity_2_hours-3A_dummy
Add: activities: LAB-3B & dummy_activity_2_hours-3B_dummy
Add: activities: LAB-3C & dummy_activity_2_hours-3C_dummy
menu Space->Activities->A set of activities occupies max different rooms
Add: ALL activities of 3A except LAB; Add dummy_activity_2_hours-3A_dummy; Select Max different room = 1
Add: ALL activities of 3B except LAB; Add dummy_activity_2_hours-3B_dummy; Select Max different room = 1
Add: ALL activities of 3C except LAB; Add dummy_activity_2_hours-3C_dummy; Select Max different room = 1
that doesn't sound similar to what you told me, so I'm a little messy :-\
Antonio
Quote from: AZ on September 11, 2012, 04:02:30 PM
if I understood the right way (not sure)
I think you understood correctly
Quote
that doesn't sound similar to what you told me, so I'm a little messy :-\
What do you mean?
1.
you told me
Quote
same room (...) for all real activities which are not lab and including the dummy ones.
the constraint I used instead is
Max different room = 1
and this is not the same, just the more similar I found
(or maybe this means
1 and only 1 room for all the selected activity)
2.
I tried with one single group of students (3A), just to see the result:
FET stopped after some minutes telling me that a constraint was blocking the placement of an activity of 3A
so probably I didn't understand your trick the right way
I'll try again changing something
Thanks for all
Antonio
Max different rooms = 1, yes.
Please try practically, I hope you'll get it.
maybe i missunderstood, but maybe just using HOME room contraints is already enough.
I cannot set home rooms, since I must swap students
example
MONDAY
building 1 building 2
room A x x 3A 3A 3A 3A room D 3D 3D 3D 3D 3D 3D
room B 3B 3B x x 3B 3B room E 3E 3E 3E 3E 3E 3E
room C 3C 3C 3C 3C x x room F 4A 4A 4A 4A 4A 4A
LAB 3A 3A 3B 3B 3C 3C
TUESDAY
building 1 building 2
room A x x 3D 3D 3D 3D room D 3A 3A 3A 3A 3A 3A
room B 3E 3E x x 3E 3E room E 3B 3B 3B 3B 3B 3B
room C 4A 4A 4A 4A x x room F 3C 3C 3C 3C 3C 3C
LAB 3D 3D 3E 3E 4A 4A
but maybe I'm asking too much
Antonio
maybe you can use home roomS. (maybe select one room per building).