Allocate correctly classes in a gym

Started by teispng, July 06, 2016, 02:50:09 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

teispng

Hi Volker, I have added all the other activities and enabled the constraints.
The result is not good yet because I have in several case that the 7 hours is used.
Attached the file.
Thanks
Regads

Volker Dirr

i guess you are not talking about ph in 7th hour, don't you.
i will check your file now.

Volker Dirr

ok. first of all.
please replace year "1" with year "3" in the "Students set must arrive early" constraint.

Volker Dirr

and as second improvement you need to set students work in an hourly intervall max 1 hour (for the last hour).
i attach the file.

Volker Dirr

we can also improve a bit more if you want (but we need to use activity tags than)

Volker Dirr

i added it with tags. i used "m" like "morning". you can rename and hide it of course.
i allowed "m" only from 1-6.
i disallowed friday the last hour.
i hope that is something you like to have.
see attached file.

Volker Dirr

hmmm. maybe think about using shortcuts for teacher names. it might look a bit better.

Volker Dirr

hmm..
you can even improve a bit more by set one room disabled in the last hour.
see attached file.

Volker Dirr

you maybe should do main subjects more early.
when do you have break? between 2 and 3 ; 4 and 5
or between 3 and 4?

i don't know your subject shortcuts.
which subjects should be early (like math, english, ...)?
which subjects can be late (like art, music, sports, ...)?

Volker Dirr

i guess Math and Let are your main subjects that should be early. i suggest to place some of them early. but i should know your break time to decide how to do it best.

Volker Dirr

you can also improve the teachers gaps and min days a bit more. (maybe even more later. add other constraints first)

teispng

I Volker,
thank you for your all suggestion.
Unfortunately the timetable is still not correct. As you can see for MO subject (i.e. physical education) the 7 hour is still usedby a 3 room.
What I'd like to have is:
1) two rooms in each hours  (7 hour not used at all) except in 4 hours.
2) only in 4 hours I need three 3 rooms (7 hour not used at all), for example 3A, 3C, 3F; 3F, 3H, 3G ...... (just example).
Thanks a lot for your interest.
Regards
Giovanni

Volker Dirr

#57
You are funny. You decided for variant b) with 7th hour.

it is only used 1 room in 7th hour. not 3!

Now you ask me for variant a). can you please think about that next time earlier.
You should ask the physics teachers now which activities don't need to many times the physics rooms. that is depending on what they are teachering. in some years they highly need the room, because they will do much practical stuff. in other years it isn't highly needed. You should talk to them, not doing it randomly. i can show you how to do it randomly, but in my opinion that is a nasty way to do it (i am physics teacher myself).


Volker Dirr

#58
ok. i attached a variant like you want. But it is not good. I highly recommend to talk with the physics teachers. maybe you can offer them to use the computer lab and/or the workshop in that 4 hours. So i highly recommend to use my variant a) if you don't like variant b). Don't use this c) variant. it is not good.

Vangelis Karafillidis

Quote from: Vangelis Karafillidis on July 08, 2016, 02:14:24 PM
You can also try the following:

1) Insert all the activities (without room constraints).
2) Create a DUMMY (pseudo) teacher, for example PSEUDO_GYM
3) Create an DUMMY (pseudo) activity (this means an activity with teacher the PSEUDO_GYM, and without students) out , split = 56, min days = 0, duration =1
4) Go to Time - > Activities -> Max simultaneous activities from a set in selected time slots
5) Insert all the gym lessons along with the DUMMY activity.
6) Select all time slots
7) Set max simultaneous = 3.

I think that this should work.

teispng: Did you try my "tricky" approach? Does it work?

Volker Dirr: I think that my solution is not the only "tricky" one!  ;)