FET Forum

FET Support (English) => Get Help on Your Input File => Topic started by: Nando on September 29, 2025, 10:19:28 PM

Title: Il software non colloca una attività anche se possibile
Post by: Nando on September 29, 2025, 10:19:28 PM
Il software in diverse elaborazioni non riesce a collocare una attività anche se non c'è alcun vincolo che lo impedisce. Potete aiutarmi a capire il problema? La docente 20 potrebbe fare l'ora in 1ARiv senza infrangere alcun vincolo. Grazie
Title: Re: Il software non colloca una attività anche se possibile
Post by: khemis on September 29, 2025, 11:15:08 PM
Vi chiedo di valutare se è possibile ridurre le seguenti restrizioni per tutti gli insegnanti:
1) Numero massimo di ore buche al giorno per gli insegnanti = 2 (nel tuo file appare 1)
2) Numero massimo di ore buche a settimana per gli insegnanti = 6 (nel tuo file appare 5)
Potrebbero essere possibili altre soluzioni, riducendo parzialmente le restrizioni per gli insegnanti (uno per uno o per tutti).
Title: Re: Il software non colloca una attività anche se possibile
Post by: Liviu Lalescu on September 30, 2025, 07:20:56 AM
Scusi l'inglese:

What I saw in your file:

1) Many constraints activity preferred room not permanently locked. Should they be removed?

2) You have teachers max gaps per day = 1, but for 4 teachers you have larger values, like 2 or 3 per day. These 4 teachers will have max 1 as well, in FET, since all constraints are respected. If you want exceptions, you need to add for each teacher his value.
Title: Re: Il software non colloca una attività anche se possibile
Post by: Nando on September 30, 2025, 11:09:52 PM
Grazie ad entrmbi dei suggerimenti. Facendo le modifiche suggerite da Khemis, l'elaborazione giunge alla fine (283/283). Però se riuscissi ad allegare il file bloccato (supera le dimensioni massime) potreste vedere che l'orario potrebbe essere comunque elaborato anche con 1 ora al giorno e 5 a settimana di ore buche. A liviu chiedo se è possibile modificarmi il file come meglio crede. Non ho capito il punto 1 della risposta. Ho capito invece il punto 2. Grazie

Thanks to both of you for the suggestions. By making the changes suggested by Khemis, the processing reaches the end (283/283). However, if I managed to attach the blocked file (it exceeds the maximum size), you could see that the schedule could still be processed even with 1 hour per day and 5 free hours per week. I ask Liviu if it's possible to modify the file as he thinks best. I didn't understand point 1 of the reply, but I did understand point 2. Thanks.
Title: Re: Il software non colloca una attività anche se possibile
Post by: Liviu Lalescu on October 01, 2025, 04:52:02 AM
You are welcome, Nando!

You can archive/zip your files and attach here, if they are too large.

I meant you have individual constraints activity preferred room, which I was not sure were needed.

But I modified your file (as I said, allowing 3 gaps per day for teachers 20 and 4, and 2 gaps per day for teachers 14 and 10) and obtained some solutions. I attach my file and the solutions.
Title: Re: Il software non colloca una attività anche se possibile
Post by: Nando on October 01, 2025, 01:43:32 PM
Grazie mille, ti allego il file con l'orario bloccato in modo da poter capire il problema. A me sembra un bug del software. Spero possa essere utile
Title: Re: Il software non colloca una attività anche se possibile
Post by: Liviu Lalescu on October 01, 2025, 02:29:25 PM
Non c'e bug FET. Tortorella a 2 ore buche nel sabato.
Title: Re: Il software non colloca una attività anche se possibile
Post by: Nando on October 01, 2025, 05:55:45 PM
Ora ho finalmente capito. Erano le due ore del sabato il problema non l'ora del martedì che si poteva collocare senza infrangere vincoli. Sei un grande. Grazie, grazie. Ho chiesto alla scuola di prevedere un compenso per te e per il grande lavoro che fai. Complimenti

Una curiosità, come fai ad elaborare gli orari in meno di 10 minuti? Hai un pc particolare?
Title: Re: Il software non colloca una attività anche se possibile
Post by: Liviu Lalescu on October 01, 2025, 06:20:48 PM
Grazie! :) Le donazione sono molto appreciate, le singole sorse di income.

Si, il algoritmo va per ore buche che il somma de attivita piazzate e buche non e sopra il somma di totale ore di professore.