Attività con chiave fissate in max 2 giorni della settimana

Started by napoli776, September 21, 2025, 02:26:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

napoli776

Ho selezionato un sottoinsieme di attività e subattività a cui ho attribuito una specifica chiave. Vorrei imporre la condizione che tutte queste attività fossero posizionate in non più di 2 giorni della settimana. Come si impone questo vincolo? Grazie

Liviu Lalescu

Maybe:

If you have 5 days per week, add 10 constraints activities pair of mutually exclusive sets of time slots. The first constraint has in the first set of time slots Monday and Tuesday, and in the second set Wednesday, Thursday, and Friday. The other constraints have in the first set of time slots other two days and in the second set of time slots the other slots.