quali vincoli utilizzare

Started by Esposito Rosa Anna, July 23, 2025, 12:22:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Esposito Rosa Anna

Buongiorno è da poco che ho iniziato ad usare Fet per fare l'orario. Come posso imporre che tutti i docenti devono entrare alla prima ora e uscire all'ultima facendo 4 ore consecutive spacco e poi l'ultima ora? Ho già usato il vincolo dell 4 ore consecutive ma non a tutti i docenti fa fare prima sesta. grazie

Liviu Lalescu

Buongiorno,

Scusi per l'inglese:

To force a teacher have hours in the first and last hour each day, you could add a constraint activities occupy min time slots from selection: all the activities of that teacher, select with X (red) the first and last slots of each day, min occupied = 2 * n_days_per_week.

If the timetable for each teacher is 4 hours, gap, 1 hour, each day, it is easy to add a break constraint or more teacher not available constraints.

Esposito Rosa Anna

scusa mi potresti far vedere meglio dov'è questo vincolo. Il mio problema è che dopo aver sistemato italiano matematica e inglese l'orario delle altre materia non è ben distribuito sulla settimana molti fanno 10 ore in solo due giorni, Grazie

Liviu Lalescu

Non c'e problema!

Activities time constraints, Others (2), the second one from the top.

But I think you need another approach. Please consider also teacher(s) max/min days per week and max/min hours per day.

Esposito Rosa Anna

sicuramente sbaglio qualcosa perchè non funziona. COme posso fare

Liviu Lalescu

In this case, I will try to have a look at your file and help you. You can attach here your fet file (if it is too large you can archive it) or, if it is private, you can send it to me by email: fet4 AT lalescu.ro.