Due insegnanti orario concomitante

Started by Drago, October 06, 2023, 12:55:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Drago

Scusate per le richieste continue ma è da poco che uso fet

Ho due insegnanti che devono avere le ore concomitanti
Mi spiego con un esempio

Insegnante rossi ha come classe la 3SV
Insegnante verdi ha come classe la 3ENO
 
Se rossi è in classe 3SV lunedì ore 8:00 per due ore
Allora verdi dev'essere in classe 3ENO lunedì ore 8:00 per due ore

Come faccio?

Liviu Lalescu

No problem!

You need a constraint activities occupy max time slots from selection. Select all activities of both teachers, all slots (with X, red), max occupied = 2 or more.

Drago

Ciao Liviu

non riesco ad ottenere il vincolo
ti invio il file fet così puoi verificare

gli insegnanti sono Limongi e Zullo le classi sono 3SV/3ENO e 5SV/5ENO

ho eliminato qualsiasi tipo di vincolo tranne questo ma non ottengo i risultati voluti

Liviu Lalescu

Ciao, Drago,

I assume you want ids 214-217 to be at the same time with 163-166.

There are two ways to do what you need: the occupy max way, or the same starting time way. The same starting time way is (much) more efficient and better.

I attach two files, LIVIU-3.fet is with same starting time constraints. You can add these constraints with a single click if you check "add multiple constraints".

Drago


Liviu Lalescu

#5
Maybe like in the attached file LIVIU-6.fet, which unfortunately does not solve. I modified the not available for Zullo and it solves (k.fet).

If you know exactly which pair of activities must be at the same time, it is better to use constraints activities same starting time.