vincoli di tempo ingressi alla terza ora

Started by midus74, July 24, 2025, 07:12:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

midus74

Ciao
ho visto che è possibile impostare il numero di ingressi alla seconda ora utilizzando questo vincolo:
"Un gruppo di studenti deve iniziare le lezioni presto, rispettando un numero max di ingressi alla seconda ora".

Esiste un vincolo per impostare il numero massimo di ingressi alla terza ora? oppure come posso fare?

grazie mille

Liviu Lalescu

Ciao,

Scusi per l'inglese:

I added your words in the TODO, but it is probably too complicated.

Note that if you add a begin early max beginnings at second hour for a students set, it cannot begin at the third hour. It can only begin at second hour, for the maximum number of times.

To ensure that a students set has activities at certain time slots, you need to add a constraint activities occupy min time slots from selection for all the activities of this students set. So you can constrain the students set for instance to have activities at 3 out of 5 third slots of the days.