FET Forum

FET Support (English) => Get Help => Topic started by: Andrés Chandía on February 17, 2010, 12:24:11 PM

Title: wich room for an activity?
Post by: Andrés Chandía on February 17, 2010, 12:24:11 PM
Maybe I'm wrong, but I thought when timetable is generated, in one of the pages should appear, besides all that appears, in some place, the correspondence between an activity and the room where it should take place.
I mean, if I have "Group A", "Teacher A", "Subject A", "Group B", "Teacher B", "Subject B", "Group C", "Teacher C", "Subject C"
Then I have "Activity A", "Activity B", "Activity C", "Activity A1", "Activity B1", "Activity C1", etc
And "Room 1", "Room 2", "Room 3", "Room 4" "Room 5"
Then I generate the timetable.
Then I would like to see
Activity A - Room 3
Activity B - Room 1
Activity C - Room 1
Activity A1 - Room 2
Activity B1 - Room 5
Activity C1 - Room 4

Is that possible, or is it already implemented and am I doing something wrong that I can not see it?
Title: Re: wich room for an activity?
Post by: Liviu Lalescu on February 17, 2010, 01:48:57 PM
I think the information you want appears in activities.xml file in generate timetables and possibly if you export the data into CSV, in the timetable CSV variant.
Title: Re: wich room for an activity?
Post by: Andrés Chandía on February 17, 2010, 02:26:40 PM
Actually, there is some info at that file, but it looks as if it where broken or incomplete:

<Activities_Timetable>

<Activity>
<Id>1</Id>
<Day>Dimarts</Day>
<Hour>09:45</Hour>
<Room/>

and the same for every activity......
Thanks for answering so quickly
Title: Re: wich room for an activity?
Post by: Liviu Lalescu on February 17, 2010, 02:38:16 PM
You need to add space constraints to force activities into rooms.
Title: Re: wich room for an activity?
Post by: Andrés Chandía on February 17, 2010, 02:50:10 PM
At the moment I have this one, besides of the basic one:

Space constraint
Students minimum gaps between building changes
Weight (percentage)=100%
Minimum gaps between building changes=1

Do you mean I have to add a space constraint to the rooms?, if so the only possible constraint that I see is "A room's not available times" which I don't need.
Title: Re: wich room for an activity?
Post by: Liviu Lalescu on February 17, 2010, 02:54:36 PM
QuoteAt the moment I have this one, besides of the basic one:

Space constraint
Students minimum gaps between building changes
Weight (percentage)=100%
Minimum gaps between building changes=1

Do you mean I have to add a space constraint to the rooms?, if so the only possible constraint that I see is "A room's not available times" which I don't need.

You need to add home rooms or preferred rooms constraints. Otherwise, the room for an activity will be unspecified.
Title: Re: wich room for an activity?
Post by: Andrés Chandía on February 17, 2010, 03:01:05 PM
Ok, I will try it, but I think is like doing it manually, like in the case I'm working on now where I have "x rooms" different sizes, and "y groups" different amounts, so I wanted FET to look for the more suitable room for each group.
Title: Re: wich room for an activity?
Post by: Volker Dirr on February 17, 2010, 03:06:50 PM
Did you read this:
http://www.timetabling.de/manual/FET-manual.en.html#id_46
Title: Re: wich room for an activity?
Post by: Andrés Chandía on February 17, 2010, 03:17:19 PM
Yes, but while I'm implementing your suggestion I'm reading it again, and I'm realizing that is not that manually I told you before :).
thanks again.
Title: Re: wich room for an activity?
Post by: Andrés Chandía on February 17, 2010, 03:50:39 PM
Thanks to both of you "Gurus", it worked out perfectly well. :D 8-)