Riunire ore di stesso insegnante

Started by silvia69, July 30, 2015, 08:40:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

silvia69

Ciao e grazie a tutti!
Ho impostato l'orario per materia (italiano, storia, geografia) invece che per insegnante (Tizio ha 8 ore di storia e geografia, Caio  ha 6 ore di Matematica e scienze). Adesso posso evitare che un insegnante entri in una classe 2 o 3 volte?
Ho messo un vincolo che tutte le ore dell'insegnante siano a distanza di almeno un giorno chiedendo che siano unite se la regola non è soddisfatta, ma il pc mi sta calcolando all'infinito (oltre 18h) e non so se è il metodo giusto. Devo fare io gli abbinamenti? (Chiedere che un'ora di storia sia consecutiva a una singola di Italiano, ecc. per raggiungere 5 gruppi corrispondenti a 5 giorni di lavoro).
Vorrei anche sapere da chi ha esperienza: se i vincoli sono irrisolvibili il programma se ne accorge dopo un po' o continua a calcolare all'infinito? Ha senso farlo lavorare per 24h o più?



Liviu Lalescu

18 ore e troppo.

C'e anche il vincolo insegnante chiave dell' attivita massimo ore al giorno.

Forse poi alegare il suo file.

silvia69

Per Liviu

What I meant is "how can I  make consecutive different subactivities held by the same teacher in the same student group if they happen the same day"?
I see two ways:
- put a time constrain, the kind we use for subactivities of the same activity; in this case, the number of subactivities may be higher than workdays in a week and fet should group them as it needs;
- group the subactivities before fet works, using constraint between subactivities of different activities to be one after another till you have the exact number of "groups" (five, in my case) and constrain "the groups" to be in different day (tipically costrain the main activities to be in different days).
Which is the best? 'Cause I have problem with first approach but maybe the problem is elsewhere.


Liviu Lalescu

In the second approach, yes, you may choose how to group the (sub)activities. But you will make some good solutions impossible by this.

The first approach seems good. If for instance you have 7 subactivities in a 5 days week, you can add a constraint min days between activities with weight 0% and consecutive if same day = true. This is best, but does not work if you want 3 or more subactivities in the same day. FET only allows two activities to be put consecutive in a day if using this constraint.