FET Forum

FET Support (International) => Italian / Italiano => Topic started by: Alessio on September 07, 2021, 04:26:38 PM

Title: Se due materie cadono lo stesso giorno allora devono essere consecutive
Post by: Alessio on September 07, 2021, 04:26:38 PM
Ciao a tutti! Volevo sapere se c'รจ un modo per dire a Fet che SE due materie distinte cadono lo stesso giorno (Es. FISICA E LABORATORIO DI FISICA) allora devono essere consecutive.

Vi ringrazio anticipatamente.
Title: Re: Se due materie cadono lo stesso giorno allora devono essere consecutive
Post by: Liviu Lalescu on September 07, 2021, 04:37:11 PM
Scusi l'inglese:

A1 (id 1) and A2 (id 2), add min 1 days between 1 and 2, weight = 0%, consecutive if same day = true.

It might work also with A1 (id 1, Fisica), A2 (id 2, Fisica), A3 (id 3, Lab. Fisica), A4 (id 4, Lab. Fisica), you can add all the 4 in the same constraint, but you will constrain all the pairs (1,2), (1,3), ..., (3,4) to be like this.