Allocate More Students sets than Rooms.

Started by daniele.rocci, September 18, 2022, 09:22:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

daniele.rocci

In my school we have a big issue. We have more students sets than rooms. In order to find a place to all students sets when a students set is in the gym and leave its room, another one can occupy it. This happen also when a students set go in the laboratory. Moreover we have some spaces that are not proper rooms but can help solve the issue, for instance the library.

Let say we have these rooms: R1, R1, R3... proper rooms. r1, r2, r3... spaces that we want to use at least as possible only if needed and L1, L2, L2 laboratories that should be used only for certain subject (but if they are not available the subject can be placed in a normal room)

Students sets: S1, S2, S3... that we want to place in a room R1, R2, R3, and allow than to move only to go in laboratories L1, L2, L3 and s1, s2, s3... that should occupy the free rooms when S1, S2, S3... are in the gym or laboratories or go in the r1, r2, r3, if needed but only for certain subjects (for instance Litterature but not Math)

Subjects M1, M2, M3, that can go only in R1, R2, R3...
Subjects m1, m2, m3, that can go anywhere but not L1, L2, L3...
Subjects Ml1, Ml2, Ml3 that should go in their specific laboratory L1, L2, L3... if it is available or at least in a free room R1, R2, R3...

I know that is a bit complicated! At the moment I solved the problem using activity tags.
Tag "a" for all the activities M1, M2, M3... with a constrain 100% on all rooms R1, R2, R3...
Tag "b" for all the activities m1, m2, m3... with a constrain 100% on all rooms R1, R2, R3... and r1, r2, r3..
Tag "Ml1" for activities Ml1 with a constrain 100% on all rooms R1, R2, R3.... plus L1
Tag "Ml2" for activities Ml1 with a constrain 100% on all rooms R1, R2, R3.... plus L2
ecc..

This works but all the students are changing rooms a lot (I put the constrain "max 2 room changes a day") and I did not match the requirement to have students S1, S2, S3... always in the same room.

I really appreciate if someone have a suggestion to better implement these requirements!
thanks in advance
Daniele

Liviu Lalescu

Hello!

1) Are you mixing rooms' names in your post? Maybe you are using S1, S2, S3, ... instead of R1, R2, R3, ... in some places? Please check your post and let me know if you modify it and I need to read it again.

2) I think the solution might come from the constraint activities occupy max different rooms (which can have max occupied rooms = 1). Please let me know if it is solved or we need to think of further problems.

daniele.rocci

You are right, I corrected my post. I try to investigate the constraint you are suggesting.
Daniele

daniele.rocci

It works with one set of students, but if I put the constrain over more than one after 20 minutes FET allocate only 75/885 activities...

Liviu Lalescu

I think I need to see your .fet data file to be able to help you. You can send here (public) or by email (if it is private).

There is no need to leave it to generate 20 minutes if after a few seconds it goes to 75 and then backtracks or stays there.

daniele.rocci

I have sent the fet file I can generate via email. I would like to add constraints on this one to mitigate room changes and keep the students in the same room as much as possible.
Daniele

Liviu Lalescu

Email received. Let me try to see what I can do.

Could you please also send the file with your added constraints which stops at max 75/885 placed?

daniele.rocci

May be I got the point why that file didn't generate. I set 1 room for activities that should go in the lab together with activities that should go in a normal room... I'm trying again excluding the activities in the laboratory.
Daniele