Max giorni a settimana intervallo orario

Started by Oscar, September 08, 2025, 01:56:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Oscar

Buongiorno,

vorrei che gli insegnanti facessero al massimo 2 giorni a settimana dalla prima ora al termine delle lezioni. Se uso la funzione "max giorni a settina con un intervallo" (con intervallo dalla 1 alla fine della giornata) la generazione si blocca quasi subito. E' normale? E' un vincolo troppo stretto?
Grazie

Liviu Lalescu

Buongiorno,

It is wrong. This constraint means that from 1 to end_of_day the teachers can work only 2 days, meaning that the teachers can work only 2 days per week.

You can add two constraints, from 1 to 2 and from previous_to_end to end_of_day, and the teachers will work a maximum number of days in the first hour and a maximum number of days in the last hour.

You can also use the constraint of type activities occupy max time slots from selection: for each teacher, add his activities, and select with X (red) the first and the last slots, and specify a suitable maximum occupied.

Or you could use teachers max span per day, but this allows only 1 exception day, not 2.

All these above approaches are not perfect, but I hope they might be satisfactory.

Oscar

Buonasera, ho provato ma senza ottenere il risultato voluto-

In pratica un insegnante che fa la prima ora non può fare l'ultima con eccezione al massimo per due giornate. E' possibile usando l'opzione "ore mutuamente esclusive?

Grazie

Liviu Lalescu

Buonasera,

Yes, indeed, you could try this. Please explore the recent constraints, Teacher(s) (1), the last 3 constraints (pair of mutually exclusive time slots, pair of mutually exclusive sets of time slots, and occupy max sets of time slots). They are recent, introduced this year in FET.

Oscar

"occupy max sets of time slots"

A cosa serve e come funziona?

Liviu Lalescu

You select 3 or more sets of time slots, and the teacher can only work in maximum 1 or 2 (a number selected by you) sets of time slots from these.

Oscar

Grazie mille.

Questa sembra funzionare!

"You can also use the constraint of type activities occupy max time slots from selection: for each teacher, add his activities, and select with X (red) the first and the last slots, and specify a suitable maximum occupied."

Liviu Lalescu