Importazione dati in formato CSV

Started by Fritzlang, October 08, 2021, 01:55:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fritzlang

Buongiorno,
FET importa alcuni file con le impostazioni principali in formato CSV
E' possibile in qualche modo importare anche le ore di assenza degli insegnanti ossia le ore non disponibili per ogni singolo insegnante
Grazie per la cortesia e dispnibilità che tutti avete su questo forum.

Liviu Lalescu

Buona sera,

Scusi l'inglese:

In the present, there is no such facility implemented. It should be possible to derive a custom version for this, or even adding such a facility into the official FET. But I can only do this with financial support.

Fritzlang

Grazie per la puntuale risposta. La mia era un pura curiosità.

Liviu Lalescu

Prego!

If you open the .fet input file, there is a section <Time_Constraints_List> and in it XML data like the following:


<ConstraintTeacherNotAvailableTimes>
<Weight_Percentage>100</Weight_Percentage>
<Teacher>Sepp</Teacher>
<Number_of_Not_Available_Times>6</Number_of_Not_Available_Times>
<Not_Available_Time>
<Day>Monday</Day>
<Hour>1</Hour>
</Not_Available_Time>
<Not_Available_Time>
<Day>Monday</Day>
<Hour>2</Hour>
</Not_Available_Time>
<Not_Available_Time>
<Day>Monday</Day>
<Hour>3</Hour>
</Not_Available_Time>
<Not_Available_Time>
<Day>Monday</Day>
<Hour>4</Hour>
</Not_Available_Time>
<Not_Available_Time>
<Day>Monday</Day>
<Hour>5</Hour>
</Not_Available_Time>
<Not_Available_Time>
<Day>Monday</Day>
<Hour>6</Hour>
</Not_Available_Time>
<Active>true</Active>
<Comments></Comments>
</ConstraintTeacherNotAvailableTimes>


If you want, you can generate this information from other programs, and include this information in your .fet file.

Liviu Lalescu

#4
I added your suggestion in the TODO list. It was already suggested in the item #424, I added also your words. Thank you for the suggestion!

Edit: I am sorry I requested financial support. I should help users if possible. I am ready to help benevolently if you need this customization, but to add into the official FET is complicated (it is thus only in the TODO for now).

Fritzlang

Grazie per la sua magnifica cortesia!
Avevo visto che il file con estensione .FET conteneva queste informazioni le ho prelevate e salvate in modo da inserirle nei vari test che sto facendo.
Ieri è arrivato un nuovo insegnante e devo stravolgere l'orario.
Deve fare solo 2 ore e solo per 1 giorno.
Adesso tutto l'orario va in conflitto con il vincolo minimo di 3 ore per insegnante. :'(

Liviu Lalescu

Either add a constraint for each teacher (min 3 hours) without teacher T and min 2 hours for this teacher T. This work is not so difficult, just press Down arrow and Enter.

Or add a dummy activity for this teacher T.