Ciao a tutti! sono davvero in crisi quest'anno.
ho sollo 14 classi ma non capisco perchè non riesco a chiudere l'orario!
Per favore.. aiutatemi :(
Ciao,
I am trying. I read your file and I saw:
1) Many teachers in interval [12, 13) work a chosen maximum number of days. Are you sure? Not in [13, End of day)?
2) There is teachers max 1 gaps per day and a certain teacher allows 7 gaps per week. This teacher cannot have 7 gaps per week, but maximum 5.
I can remove the Many teachers in interval [12, 13 if it is necessary ( I prefere to leave it but if it doesn't work..)
I can also set max gaps for week 5 for De Caprio
but I need max 1 gaps for day for all teachers
If it's necessary I can increase max gaps per day to 2 for the teachers: De Caprio, Mazzaroppi, Irace, Sellitti, Ruotolo, Sereno, Iapicco
OK, I will investigate now.
I was curious why the interval [12, 13), and why not [12, End of day) or [13, End of day)? Could you clarify this request? The last hour is [13, End of day) and the last 2 hours are [12, End of day).
Is it a mid day pause?
because I would like that at least once at week teachers end at 12
Then you need interval [12, End of day). Select start = 12, end = End of day (not end = 13).
Also, you have many constraints activity preferred room. These are necessary?
yes, because I have two buildings (groups ID, 2D, 3D in a building and all the other in another building) so I need a gap when teachers change building
And I have teachers ZARRELLA and FERRAIOLI who teaches gym in the same gymnasium (one in the building Via siciliano (PALESTRA) and the other in the building Madre teresa (PALESTRA MONTEVESCOVADO) and I cannot have two student groups simultaneously in the gymnasium
Quote from: Liviu Lalescu on September 11, 2025, 07:16:13 PMThen you need interval [12, End of day). Select start = 12, end = End of day (not end = 13).
Also, you have many constraints activity preferred room. These are necessary?
but in this way i cannot differentiate.
For example.. a teacher can teach 4 times in [12,13] but only 3 times in [13, end of the day]
If I select [12, end of day] what can I select? 4 times or 3 times?
4 times is too many and 3 times I think it's too restrictive
You can add two constraints: [12, End of day), max 4; and [13, End of day), max 3. Both will be respected.
Added! But I still cannot get a timetable :(
Please give me the new file.
here it is.
I also deleted the unnecessary activity preferred room
If "LIVIU PROVA.fet" is what you intended to send me, it is unfortunately too difficult. You need to relax it.
If "LIVIU PROVA.fet" is another file than you intended to send me, please give me the correct file. I say this because I saw it was generated with an older FET (7.4.6), and has almost double the number of constraints min days between activities.
It's the same file of the begin. I only tried to add what you suggest.
I try to generate it again with 7.4.7
What is too difficult? :( What I need to remove to get the timetable?
Please allow me 10 minutes to try some things.
I deactivated all min days between activities constraints and the first 5 (I think) students activity tag max hours daily, and it solved. I attach a file and a solution (liviu5).
I am trying now on a better file, liviu6, in which I lowered the constraints of type activity tag max hours daily and min days between activities to 50%. It might solve, I got many 351/352 placed. If it solves, I'll let you know here.
It is late and I am tired. I will now try to sleep, and maybe see in the morning the results on liviu6.
I just got a solution for liviu6. I attach the file and the solution. I hope it is satisfactory for you.
thanks so so much!