FET Forum

FET Support (International) => Italian / Italiano => Topic started by: Esposito Rosa Anna on July 23, 2025, 12:22:24 PM

Title: quali vincoli utilizzare
Post by: Esposito Rosa Anna on July 23, 2025, 12:22:24 PM
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
Title: Re: quali vincoli utilizzare
Post by: Liviu Lalescu on July 23, 2025, 12:34:36 PM
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.
Title: Re: quali vincoli utilizzare
Post by: Esposito Rosa Anna on July 23, 2025, 01:40:22 PM
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
Title: Re: quali vincoli utilizzare
Post by: Liviu Lalescu on July 23, 2025, 02:01:38 PM
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.
Title: Re: quali vincoli utilizzare
Post by: Esposito Rosa Anna on July 23, 2025, 03:05:30 PM
sicuramente sbaglio qualcosa perchè non funziona. COme posso fare
Title: Re: quali vincoli utilizzare
Post by: Liviu Lalescu on July 23, 2025, 03:08:59 PM
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.
Title: Re: quali vincoli utilizzare
Post by: Esposito Rosa Anna on July 24, 2025, 08:19:43 AM
Grazie mille