Re: How to put activities in certain rooms?

Started by Chafik Graiguer, September 13, 2008, 03:27:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chafik Graiguer

Well
I am still entring data...
one question about room
we have
9 general purpose rooms
2 physics laboratory/rooms
2 biology laboratory/rooms

Activities from subject "bio" can take place only in one of the two biology rooms
Activities from subject phys can take place only in one of the two physics rooms
All other activities from remainnig subjects can take place in any available room including biology and physics rooms when they are free
How to input this into avtivities !?

Liviu Lalescu

You need to add space constraints: subject preferred rooms, subj. physics, 2 rooms: phys 1 and phys 2. Then subject biology, the same procedure. Then, you can ignore the rest of rooms or add for each subject preferred rooms = list of all rooms.

Chafik Graiguer

#2
  well
I am also reading in Volker Dirr user's manual   ;) [smiley=wink.gif]   :)  
maybe ?I should use  
Space constraints (subject) → A subject has a set of preferred rooms
But what about other subjects ( the most) whitch can take any available room ?

Liviu Lalescu

Add for each subject preferred rooms = all rooms, or add home rooms for students or teachers (not for both). If an activity has no preferred room, then it will go in a home room (so preferred rooms override home rooms) - this will be OK in your case, the bio and phys go where they need.

Chafik Graiguer

QuoteYThen, you can ignore the rest of rooms or add for each subject preferred rooms = list of all rooms.
I can't ignore them
since I want to ensure that no more than 13 activities (9+2+2) are scheduled at the same time in the whole school

Chafik Graiguer

#5
sorry sorry sorry
I am posting too fast  :-[
so I asked a question you juste answred it a second ago  

Liviu Lalescu

No problem :-)

Please let me know your results. I am interested.

Chafik Graiguer

#7
Finaly & Now the data input is over   :)
before timetable generation , I would like to know
QuoteAdd for each subject preferred rooms = all rooms, or add home rooms for students or teachers (not for both). .
shall I add home  room to teachers or students, because I want the FET to assign the same room to the teacher during the half day
for example, if FET assign the room 4 to teacher fr1 at 08H00-09H00 lesson, this teacher should stay in room 4 for the followinfg working tree hours  
In other words, students who change room not teachers


Volker Dirr

QuoteIn other words, students who change room not teachers

So you have teacher home rooms.
that is possible if you have equal or more rooms then teachers. so every teacher (that is not only teaching in special rooms) has his own home room.
if you have more teachers then rooms, then some teacher must share a home room. just set the same home room to 2 teachers (several times).
Read more about that at http://www.timetabling.de/manual/FET-manual.en.html#id_46

Chafik Graiguer

#9
Quote
So you have teacher home rooms.

No

unfortunatly, I have more teachers than rooms
But I know from previoud yeas that rooms can hold the total amount of working hours
Now the problem is how tell FET to assign same room ( no matter witch is) to a given teacher for a number of contiguous activity in a given day
please take a look at this image

FET assign room 3 at 08H00 then room 5 at 09H00 then room1 ...
it is possible that another teacher   got room5 at 08H00 and then room3 at 09H00
So why not the first teacher stay at room he get at first lesson (room3) whilme the second stay at room he got at 08H00 (room5) without interchanging them !!?
Should I put every single room to a different "artificial" building ? then set constraint "Max building changes per day for teacher" to 0 !!?

Volker Dirr

#10
At our school are 31 teachers, but we have only 24 teacher home rooms!
that is possible!

3 teacher don't need a home room, because they teach only in special rooms.

so 28 teacher just have 24 rooms.

so i just set 4*2 teachers into the same teacher home room!
you just need to think a little bit about which is the best combination  :)

Volker Dirr

Ok. In your image it look like you have much more teachers then rooms.

Your building hint might be possible.

You should think about teachers that can share a room. Give that teachers the same home room. So all that teachers don't need to change the room. if you are lucky, then every teacher can get his own (shared!) room.

Chafik Graiguer

#12
Quoteso 28 teacher just have 24 rooms.
I fear this is not possible in our school
we have
3 teachers sharing one special room
another 3 teachers sharing one special room
one teacher has a home room
and 22 teachers  sharing 10 rooms !!

Volker Dirr

Nevertheless if you want to avoid that teacher change rooms you can give at least 10 teachers a home room. so that 10 teacher will never change the room.
maybe you can see some other teachers, that can share a room with one of the 10 privileged teachers.
so of course there are still a few teachers left. maybe you can try your building hint with the last teachers.

Liviu Lalescu

#14
I was reading and the building changes just passed through my mind. Yes, alfaromeo is right, add a building for each room and use max building changes per day for teachers. I think it should work.

Please try with this trick and let us know your results.