FET Forum

FET Support (International) => Italian / Italiano => Topic started by: utismetis on June 19, 2019, 09:36:31 AM

Title: impedire che due materie siano nello stesso giorno
Post by: utismetis on June 19, 2019, 09:36:31 AM
Buongiorno,
come posso impedire che due materie siano nello stesso giorno?
Grazie
Title: Re: impedire che due materie siano nello stesso giorno
Post by: star73 on July 07, 2019, 09:18:48 AM
Puoi fare in modo che il numero minimo di giorni tra un insieme di attività sia almeno 1.
Vai nei vincoli di tempo / Attività / Numero minimo di giorni tra un insieme di attività, poi clicca su "Aggiungi" e nella finestra che si apre scegli le attività che non devono capitare nello stesso giorno. Nella parte bassa della finestra puoi scegliere quanti giorni minimo devono intercorrere tra due attività. Ciao
Arsenio
Title: Re: impedire che due materie siano nello stesso giorno
Post by: Est on September 07, 2022, 05:47:06 PM
Vorrei evitare che due materie (inglese e spagnolo) siano nello stesso giorno, ma con la soluzione proposta da star73 il numero di combinazioni da aggiungere come vincoli è enorme (per ogni classe ci sono 3 ore di inglese e 2 di spagnolo, quindi devo incrociare ogni ora di inglese con le due di spagnolo per un totale di 6 vincoli per classe che moltiplicato per le 14 classi fanno 84 vincoli). è possibile aggiungere lo stesso vincolo fra materie invece che fra attività? Oppure fra insegnanti?

I would avoid 2 subject in the same day (english and spanish must be not in the same day). With the solutions proposed by star73 the numer of combinations to add as constraints is too big (each room have 3 h of english and 2 of spanish, so I have to state each hours of english have at least one day with each hour of spanish, this lead to 6 constraint per room which multiplied per 14 room makes 84 constraints). It is possible to have the same constraint referred to two subjects? Or two teachers?
Title: Re: impedire che due materie siano nello stesso giorno
Post by: Liviu Lalescu on September 07, 2022, 05:57:13 PM
I will show you some possible solutions. You could:

1) Add a single constraint min 1 days between all activities of English and Spanish of a single students set.

2) Add two tags: En, Sp, and two constraints students min gaps between ordered pair of activity tags, min gaps = a very large value, from En to Sp and from Sp to En.

Please let me know if you succeed.
Title: Re: impedire che due materie siano nello stesso giorno
Post by: Est on September 11, 2022, 05:38:23 PM
Hi Liviu,
I used the second option you proposed and it works. Thank

Ciao Liviu,
ho usato la seconda opzione che mi hai proposto e funziona. Grazie
Title: Re: impedire che due materie siano nello stesso giorno
Post by: Liviu Lalescu on September 11, 2022, 05:42:16 PM
Ciao, Est! Prego!