AIUTO! Non riesco a chiudere l'orario per una sola attività

Started by dustofstar, September 11, 2025, 05:29:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dustofstar

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 :(

Liviu Lalescu

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.

dustofstar

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

dustofstar

If it's necessary I can increase max gaps per day to 2 for the teachers: De Caprio, Mazzaroppi, Irace, Sellitti, Ruotolo, Sereno, Iapicco

Liviu Lalescu

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?

dustofstar

because I would like that at least once at week teachers end at 12

Liviu Lalescu

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?

dustofstar

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

dustofstar

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

Liviu Lalescu

You can add two constraints: [12, End of day), max 4; and [13, End of day), max 3. Both will be respected.

dustofstar


Liviu Lalescu


dustofstar

#12
here it is.
I also deleted the unnecessary activity preferred room

Liviu Lalescu

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.

dustofstar

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