Max 5 ore una sola volta a settimana

Started by astigol, September 30, 2019, 09:12:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

astigol

Buongiorno.
Ho impostato 5 come massimo numero di ore al giorno per tutti i docenti.
Come potrei fare per indicare al programma che le 5 ore in un giorno devono capitare al massimo una volta a settimana?

Grazie

Liviu Lalescu

#1
Buongiorno,

Scusi per l'inglese:

Do you want max 4 hours daily and on a day allowed max 5?

There were also other users suggesting this. The next version, 5.40.0, will have the constraint teacher(s) max span per day with allow one day exception (you can input max 4 and allow a one day exception of 4+1=5). See the snapshot: https://lalescu.ro/liviu/fet/forum/index.php?topic=4280.msg23255#msg23255 . You can download the snapshot and test it. I hope I will release the official version in a few days.

I made this exception only for teacher(s) max span per day. It is too difficult for me to make this exception for teacher(s) max hours daily.

You can achieve exactly what you want (max 4 hours daily and in a day accepted 5) with many constraints of type activities occupy max time slots from selection. For each teacher and each pair of possible days, select all the activities of that teacher, all the slots of those 2 days, max occupied  = 9. But there are very many constraints to add.

See also: https://lalescu.ro/liviu/fet/forum/index.php?topic=3915.msg20887#msg20887 , and https://lalescu.ro/liviu/fet/forum/index.php?topic=4177.msg22460#msg22460 .

Please let me know.

liviov

io ho aggiunto un prof2 che fa tre ore (o 2+1) e che precede il prof (che è lo stesso) e che fa 2 ore (o 2+1) in altra classe.
Aggiungi Rossi2 -> che fa tre ore -> prima di
Rossi -> che fa 2 ore

liviov

imposto che rossi2 fa solo 3 ore la settimana
e che rossi fa 15 ore con max 4 ore al giorno