FET Forum

FET Support (International) => Italian / Italiano => Topic started by: Giggino on October 25, 2018, 08:52:07 AM

Title: Per favore non darmi sempre le prime/ultime ore!
Post by: Giggino on October 25, 2018, 08:52:07 AM
Ciao a tutti,
scusate se mando un secondo post a breve distanza dal primo, ma leggendo nel forum mi è venuta la seguente domanda:
Come codificare al meglio la questione riportata in oggetto?

Avevo pensato a un vincolo tipo "Le sub attività di una selezione cadono/iniziano in un insieme di ore preferenziali" con vincoli tipo 90%

oppure è meglio usare "Un insieme di attivita occupano un massimo di ore scelte da una selezione"? In questo caso per non dare sempre la prima ora come si procederebbe?

Grazie
G
Title: Re: Per favore non darmi sempre le prime/ultime ore!
Post by: Liviu Lalescu on October 25, 2018, 08:59:31 AM
Scusi per l'inglese - per favore usi Google Translate:

No problem, you can ask many questions  :)

I think the best and easiest is to use constraints teacher(s)/students (set) work in an hourly interval max days per week.

Or, indeed, "massimo di ore scelte", but this is more complicated to use. Add all the activities of that teacher, select the first hour of each day, max occupied = the needed value.
Title: Re: Per favore non darmi sempre le prime/ultime ore!
Post by: Giggino on October 25, 2018, 09:17:46 AM
Thank you very much for the answer!
Which one could lead to best performance ? I suppose the first one...
G
Title: Re: Per favore non darmi sempre le prime/ultime ore!
Post by: Liviu Lalescu on October 25, 2018, 09:26:38 AM
Quote from: Giggino on October 25, 2018, 09:17:46 AM
Which one could lead to best performance ?

I am not sure. Maybe "interval max days per week", but some tests would help. Maybe they are comparable with each other.

But I would definitely choose "interval max days per week", which is much easier to add, to understand by other users, and you don't need to update it if you add/remove activities to the involved teachers.
Title: Re: Per favore non darmi sempre le prime/ultime ore!
Post by: Giggino on October 25, 2018, 03:43:00 PM
Grazie mille Liviu!
Title: Re: Per favore non darmi sempre le prime/ultime ore!
Post by: Liviu Lalescu on October 25, 2018, 03:46:51 PM
Prego!  :)

And another thing (does not apply to you, I suppose): the interval max days per week might not be possible if the intervals are more complex. In this case the occupy max will help. For instance if you want that from Monday first 2 hours and Tuesday 1st hour only 1 hour is occupied. So occupy max is more general.
Title: Re: Per favore non darmi sempre le prime/ultime ore!
Post by: Giggino on October 25, 2018, 07:09:01 PM
ok thanks
Title: Re: Per favore non darmi sempre le prime/ultime ore!
Post by: utismetis on November 03, 2018, 07:59:21 AM
Anch'io uso tempo / insegnanti / un insegnante fa lezione in un intervallo in un intervallo orario massimo n giorni a settimana, agggiungi, nome insegnante, ora di inizio intervallo: la prima, ora di fine intervallo: la seconda, numero max di giorni a settimana: quelli che vuoi, peso 100%