wich room for an activity?

Started by Andrés Chandía, February 17, 2010, 12:24:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrés Chandía

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?
@ch

Liviu Lalescu

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.

Andrés Chandía

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
@ch

Liviu Lalescu

You need to add space constraints to force activities into rooms.

Andrés Chandía

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.
@ch

Liviu Lalescu

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.

Andrés Chandía

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.
@ch

Volker Dirr


Andrés Chandía

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.
@ch

Andrés Chandía

Thanks to both of you "Gurus", it worked out perfectly well. :D 8-)
@ch