problema distribuzione uniforme ore non consecutive

Started by wolfrain87, September 26, 2024, 09:07:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wolfrain87

Hi, I have problems with the distribution of subject hours. Let me explain better. Whether the hours are groups of two or one, many teachers find their hours in the same classes united on the same day even if I have expressly inserted the non-consecutive option on all hours. Can anyone help me understand or solve this problem?
For example, if you take the teacher Mattiolo he holds the 1bst twice on the same day but I don't understand why since they should be distributed non-consecutively and all on different days. This thing happens with mathematics and other subjects too

wolfrain87

Se ci fosse la funzione: minimo cambio di aula al giorno per tutti gli insegnanti forse avrei risolto.

Liviu Lalescu

I think you need to make weight 100% for min days (I would recommend 99.75% at first). Also, consecutive=no means it won't force consecutive, but they may be. You might need to add min gaps between activities or teachers/students activity tag max hours consecutive.

wolfrain87

Thanks for the quick reply. I'm trying but there's no way I can get a teacher to enter a classroom only once a day. If you can help me or explain better I would be grateful.

Liviu Lalescu

You are welcome!

Either modify the weights of the constraints min days between activities to 99.75% (or 100%, but it is risky for impossibility), or add corresponding tags to the activities and then constraints teachers (or students) activity tag max hours daily. Add the same tag to activities of same teacher and students set.

Giggino

Quote from: wolfrain87 on September 26, 2024, 09:07:15 PMHi, I have problems with the distribution of subject hours. Let me explain better. Whether the hours are groups of two or one, many teachers find their hours in the same classes united on the same day even if I have expressly inserted the non-consecutive option on all hours. Can anyone help me understand or solve this problem?
For example, if you take the teacher Mattiolo he holds the 1bst twice on the same day but I don't understand why since they should be distributed non-consecutively and all on different days. This thing happens with mathematics and other subjects too

Se le ore seprate te mette sempre accoppiate vuol dire che non può fare altrimenti. Controlla l'orario a partire da quello della classe.
Un suggerimento, se come per la mia scuola il numero di ore al giorno è dispari, assicurati di avere blocchi di 2, 3 (si da me anche blocchi da 3) sufficienti per mettere assieme l'orario della classe