Problema con i plessi....

Started by Prof., August 01, 2022, 10:32:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Prof.

Buongiorno a tutte/i,
sono nuovo in quanto a utilizzo del software e quindi anche in questo forum.

Ho seguito un bel tutorial su Youtube e inserito tutti i dati richiesti.

La cosa che non riesco a risolvere è questa: nella mia scuola media ci sono due plessi, in uno abbiamo 1 / 2 e 3 dei corsi A e B, nell'altra abbiamo 1 / 2 e 3 dei corsi C ed D.
Le scuole tra loro distano poco, diciamo 5/10 minuti in macchina. Capita che, soprattutto i docenti delle Educazioni, in una mattina possano iniziare in sede centrale per poi spostarsi a metà mattinata nell'altro plesso (o viceversa).

Ho quindi fatto presente al software che esistono due plessi (li chiamati "edifici") e ad ognuno di essi ho assegnato le rispettive classi. Ho anche spuntato la richiesta di inserire un ora buca per lo spostamento (ne ho messe al massimo uno al giorno) da un edificio all'altro.

Tuttavia mi continua a venir fuori l'orario con classi "miste" (ad esempio prima ora in 1A, seconda in 1C e terza in 1B, cosa ovviamente non corretta perché quella di mezzo è chiaramente nell'altro plesso).

Dove sbaglio  :(  ? Qualcuno sa suggerirmi dove apportare modifiche? Grazie

fourat

You can use max building change per day for a teacher constraint and min gap between building changes for teacher set to 1

Liviu Lalescu

Buongiorno,

Per favore, possi mandare il suo file? Qui o sull mio email? E dimmi l'errore.
Il suggerimento di fourat deve lavorare.

Inglese: Can you show us you file, please? Here or by email? And tell me the error.
fourat's suggestion should work.

Liviu Lalescu

I think we solved the problem by email. There were errors in the input.

Prof.

Grazie per l'aiuto Fourat & Liviu !!!!  ;D

Liviu Lalescu


Leonardo M

#6
We have the same problem: 3 classes at the branch and the other classes at the main building and we need a constraint of one hour gap between acivities on two different buildings (the branch and the main building). I tried to create rooms (associated with different buildings) with the same name of the classes and to associate each room to its class, inserting constraints for hour gaps as suggested, but the result continues to show, in some cases,  consecutive hours for the same teacher in different buildings in the same day, instead to insert always a gap of one hour. It happens for some hours, so I was wondering if this is a problem not always resolvable, but I do not get any warning of constraint breach. We have also associated teacher with matters (some teaches more than one), but situation doesn't change. Could you help me?

Liviu Lalescu

I will try to help. Please send here or by email a locked file of your data and tell me the conflict.

It is probably a misunderstanding in the input of data, because the program cannot be wrong.

Leonardo M

It seems that now it works, but I had:
1)   to insert the names of the two buildings in: space data -> buildings
2)   to create all the rooms, one by one, associated with the building name in: space data -> rooms
3)   to set the name of each room=name of student's set (class) for each student set (class) in: space constraint -> students -> one student' set has one room associated
4)   to create two keys with the name of buildings
5)   to associate to each activity the key (of the building): this is done on .csv file as the key field and uploaded with activities
6)   to associate to the key (buildings) to which rooms belong to the building in: space constraints -> keys -> a key of activity has a set of preferential rooms
7)   Insert that a teacher has a hole of 1 hour to move from one building to the other and a teacher can move only once a day
In this way the timetable is ok, one teacher remains at a building all the morning and has 1 hour to move to the other building in case. But in the timetables a second student'set (which is really a room name) in each box appears and it doesn't seem to be related to the first. May be we have used a double process to set buildings, but we do not understand where we are wrong, because if I wipe off some of the previous steps, it seems FET do not manage correctly the teacher's moving from one building to the other (allow one hour hole).

Liviu Lalescu

1) A home room only works if the activity has only a single students set. That is why for your activities with two students sets the room could be unspecified unless...

2) A preferred room is associated for that activity, and this preferred room completely overrides home room constraints.

3) In your file, the room name appears, and it is random, because in your preferred rooms constraints it is random. You could hide rooms in the final HTML timetables from the CSS file, @Volker Dirr knows exactly how, or you can read the CSS file or the manual - I think it should be easy. If you are interested in this procedure, I could try to see and let you know.

4) You could add home rooms, and only for activities with two students sets add two preferred rooms.

5) You have a Statistic: Activities rooms statistics - in this you should have no activities without rooms.

I hope it is clear now. Let me know.

Leonardo M

Thank you for your help!
A) I still miss the reason why. Where am I wrong in the procedure (your point 1 and 2)? It is not clear what it is intended for "home room" instead of simple "room". Could you explain a little bit more extensively or give me a link to better understand this issue?
B) Trying to manage laboratories, (inserting them as rooms, with capacity, number of students in student's sets, associating in space constraints, activities to preferential rooms) we got the following message and we do not understand what it is reffered to. Could you give us some hints, please? Thanks

Liviu Lalescu

You are welcome!

1) Home rooms constraints, which you added as many students home rooms constraints, are good, but you need to consider that an activity with at least 2 students sets will neglect the home rooms constraints and will end up in an unspecified room. You will need to treat the room of such an activity with a different constraint, probably preferred rooms; you can add one or more tags to such activities and constrain this tag to the preferred rooms. Note that if an activity has both a home rooms constraint and a preferred rooms constraint (or more constraints) will neglect the home rooms constraint(s).

2) Preferred rooms override the home rooms. You can add these for special activities with labs as rooms, or for activities with more students sets (which will not respect the home rooms).

3) The error is normal for your file. Activity id 388 has two constraints which contradict, and activity 284 has four constraints which contradict (meaning their intersection is void room).

What would I do: add home rooms for activities with a single students set, add some different tags for activities with more students sets which do not need a special lab, to be placed in their designated room with preferred room, and add preferred rooms for special labs. Disable the two space constraints preferred rooms for the two buildings.