FET Forum

FET Support (International) => Italian / Italiano => Topic started by: napoli776 on September 21, 2025, 02:26:54 PM

Title: Attività con chiave fissate in max 2 giorni della settimana
Post by: napoli776 on September 21, 2025, 02:26:54 PM
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
Title: Re: Attività con chiave fissate in max 2 giorni della settimana
Post by: Liviu Lalescu on September 21, 2025, 02:51:34 PM
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.