Buongiorno, è la prima volta che scrivo nel forum. Ho creato in ogni classe un'attività che dura due ore e che volendo potrebbe anche essere inserita a cavallo della pausa cioè un'ora prima della pausa e un'ora dopo. Come si può impostare?
Grazie!
Stefania
Buongiorno e benvenuta sul forum!
Scusi l'inglese:
In FET an activity with duration 2 cannot spread over a break. You can either not add the breaks in the program, or add two activities, each with duration 1, no min days between activities constraints between them, and a constraint two activities grouped. This second solution allows the two activities to be separated by a break (but not by students not available).
Grazie, gentilissimo!
Ho capito, provo
Stefania
Buongiorno,
nell'orario della mia scuola ci sono unità di lavoro di 15 minuti, 30 minuti o 60 minuti nell'arco di ogni giornata, quindi ho suddiviso ad esempio le subattività di italiano (5h 30' in tutto) in 4+4+4+4+2+2+1+1 (4 = 1 ora, 2 = 30' 1 = 15')
In tutto sono 8 subattività. Come è meglio aggiungerle affinché si distribuiscano uniformemente nella settimana e siano vicine fra loro?
Grazie mille
Stefania
Buonasera,
Spero che non esse problema che rispondo in inglese:
I am not sure, but if you have 5 days and want at most 5 or 6 hours per day, you could:
1) Add min 1 days between 4+4+4+4+2+2+1+1, 0% percentage (take care, 0%!!!), consecutive if same day = true. Take care that there cannot be 3 or more subactivities on the same day, and 2 activities cannot include a break between them if they are on the same day.
Then you can use activity tags, adding them for each of these activities, and students/teachers activity tag max hours daily (enable the constraint).
or
2) The same min 1 days between 4+4+4+4+2+2+1+1, 0% percentage, consecutive if same day = true. Then add some constraints manually, like one between say 4+4+4+4, 100% percentage, min 1 days, and other combinations that you can imagine.
Please let me know if you succeed. If you have the last year's timetable as an example you can send it so I/we can have a look.
Grazie Liviu, provo.
E' il primo anno che faccio gli orari con il programma.
Ti invio la foto della scansione oraria dove devo fare entrare
italiano 5h 30'
matematica 5h 15'
tedesco 6h
storia/geografia 2h
inglese 2h
religione 2h
ginnastica 2h
scienze 1h
arte 1h
musica 1h
Stefania
Prego, Stefania! :)
I think my previous answer is correct, but I see that the activities with duration 4 have only some possible starting times in the week, and same the activities with duration 2 and those with duration 1. You need to add 3 constraints activities preferred starting times, specifying only the duration (4, then 2, then 1), 100% each.
I think you can use 15 minutes FET "hours", even if you also have 10 minutes in your timetable, because it is not important for scheduling, just for aesthetics.
Alle prime ore non ci devono per forza essere attività di durata 4, la mattina potrebbe iniziare con 2,4,4, importante è che le attività 1 non rimangano isolate.
Grazie per tutti i suggerimenti, provo anche se sono un po' preoccupata :)
Stefania
Quote from: Stefania on December 03, 2022, 08:09:44 PMimportante è che le attività 1 non rimangano isolate
I am not sure I understand this. If you mean daily, you have constraints students/teachers activity tag min hours daily, and you may add min 2 hours daily. If you mean continuously, we need to think further. But if you add min days constraints with selected consecutive if same day, combined maybe with tag min hours daily, things should be OK.
Buongiorno Liviu, sono riuscita a generare l'orario! Fondamentale è stato inserire nelle attività più lunghe lo 0%. Grazie! Il programma impiega circa 2 minuti per inserire 804 attività (23 classi). Va bene? Adesso devo sistemare gli orari degli insegnanti ad esempio tutti gli insegnanti devono fare almeno un pomeriggio ma non più di due (nelle classi a tempo pieno i pomeriggi sono quattro). Hai un suggerimento da darmi?
Stefania
Buongiorno, Stefania,
2 minutes is OK.
Max 1 afternoon per week: constraint teachers interval max days per week, max 1 intervals per week, interval = from beginning of the afternoon to the end of the day.
Min 1 afternoon per week: a constraint activities occupy min time slots from selection for each teacher. All activities of that teacher, select with X (or red) all the slots in the afternoon, min occupied = how many hours you want occupied.
Buon pomeriggio Liviu,
il mio orario procede. Vorrei sapere se è possibile, per gli insegnanti che hanno due classi, imporre un pomeriggio in una classe e l'altro pomeriggio nell'altra classe. Ho provato a cercare nel forum ma non ho trovato...
Grazie
Stefania
Buonasera, Stefania!
By "classe" do you mean students set? I am not sure it is possible with the official FET. If you know the exact activities which are in pomeriggio, you can add many constraints min 1 days 100% between each pair of such activities, or use tags, and teacher min gaps between ordered pair of activity tags, two constraints, one from AT1 to AT2 and one from AT2 to AT1, min gaps = maximum allowed by FET (n hours per day), so they cannot be on the same day.
If any activities can be in the pomeriggio, a customization just for you might work. I cannot add such a facility in the official FET, it is not general to describe in FET notation.
There is a perfect solution with the official FET, but it involves adding very many constraints of type activities occupy max time slots from selection: for each pair of activities from the same teacher and different students sets, add a constraint of this type for each day, max occupied = 1, select with X the slots of the afternoon.
But this solution is very difficult to construct.
Grazie Liviu,
provo a ragionarci su. Al momento il programma impiega circa 12 minuti a generare un orario, temo che inserendo ulteriori vincoli non funzioni più. Provo...
Buonasera Liviu,
sono tornata e ho un nuovo problema.
Devo inserire le seguenti attività
italiano 2+2+2+2+2+2+1+1
tedesco 2+2+2+2+1+1
matematica 2+2+2+1+1
inglese 2+2+1+1
da lunedì a giovedì.
Le attività di durata 1 si devono unire alle attività di durata 2 e diventare 2+1 oppure si devono unire alle attività di durata 1 e diventare 1+1
Come posso fare?
Le attività di durata 3 (2+1) possono essere solo 4 alla settimana e devono iniziare alla prima ora.
Grazie
Stefania
Buonasera, Stefania,
Inglese:
If I understand correctly, it does not matter if 2 activities are on the same day? (I mean there is no preference to place them on different days or on the same day?)
Then, add the activities in this way: For italiano, 2+2+2+2+2+2+1+1, min days between them 1 with consecutive if same day = true and weight 0% (yes, 0%). FET won't place more than 2 activities on the same day. Then, add a constraint min 1 days between activities 100%, between 2+2+2+2+2+2. If you prefer all the activities on different days, you may increase that special 0% to say 50% or more, but not too much.
But what you need further, activities 2+1 to be placed necessarily on the first hour, I think is not possible with the official FET. I think you need a customization.
Also, if I understand correctly, from all these 4 subjects' activities you need maximum 4 on the week to be 2+1? I think that this is also not possible with the official FET, requires a customization, and seems a bit difficult.
Also, is it true that you do not accept a single activity with duration 1 on a single day? Then you might need to use teachers/students activity tag min 2 hours daily (add a tag "ita", for the Italian activities, etc.).
Grazie Liviu per la risposta chiara,
è fondamentale che le attività 2+1 inizino alla prima ora e immaginavo non si potesse. Decideremo prima di iniziare gli orari chi farà la prima ora e stabiliremo una rotazione annua.
Buona giornata e grazie ancora!
Stefania
It is possible (the 2+1 begin at first hour), but only as a customization, because it is not an usual request from the users.
Prego, Stefania!
Per personalizzazione intendi che lo devo inserire io?
No, by customization I meant I could try to design you a FET code modification, just for your school. It should take care automatically that 1+2 or 2+1 are placed only at the first hour.
I think this customization is possible. But I can do this customization based on a work contract, if this is acceptable.
I am sorry I wrote that, Stefania. I should be helping people benevolently on the forum. I will try to help you with your needed customization, no contract needed.
I apologize once again!
Non ti preoccupare Liviu, possiamo parlarne :)
Stefania
OK, let me know if and when you would like me to give it a try. I'll need your file, to work with (privately, if needed), and I can begin working on the code. I hope it is possible, because I thought a bit about it.
Buon pomeriggio Liviu, ho ripreso in mano il mio orario. Ho 23 classi e 862 attività.
Vorrei che quando un insegnante conclude la giornata, non entrasse alla prima ora.
Grazie!
Stefania
Buona sera, Stefania,
I think this is very easy, use the constraint teacher(s) max span per day, max span = number of hours per day - 1.
Grazie,
vorrei che un insegnante non avesse più di due attività dalle 13 in poi.
Stefania
I am not sure I understand well:
1) If you want a teacher to work a single afternoon, use constraints teacher(s) interval max days per week.
2) If you want a teacher to work maximum 2 hours in the afternoon, allowed for instance both on the same day or one on a day and one on another day, use constraints activities occupy max time slots from selection, one for each teacher, add all the activities of that teacher, select with X (red) the afternoon slots.
Grazie Liviu, mi serviva il suggerimento numero 2. Alcuni insegnanti non possono fare più di 2 ore per ogni pomeriggio (i pomeriggi in tutto sono al massimo 2). Ho inserito il vincolo come da te indicato ma non genera più l'orario. :-\
Stefania
Prego, Stefania,
I do not understand correctly.
If there are max 2 afternoons, each with max 2 hours, you need both of these:
1) Teacher interval 13 - end of day max 2 days per week
and
2) 5 constraints activities occupy max time slots from selection, all the activities of the teacher, select a single afternoon (Monday), max occupied = 2, then another constraint with Tuesday selected, again max occupied = 2, ..., Friday.
Buon pomeriggio Liviu,
avrei finito l'orario, ho inserito tutti i vincoli che servono cercando di non appesantirlo molto, solo che il programma non riesce a piazzare le ultime 20 attività.
Per piazzare 930 di 948 attività impiega 25 minuti.
Se guardo l'ordine iniziale di piazzamento delle attività vedo che quelle che non riesce a inserire sono quelle che valgono 1 che dovrebbero essere le più facili.
Cosa mi consigli di fare?
Stefania
Buonasera, Stefania,
You can send me your file by email, but now I am a bit busy, it will take 1-2 hours until I can check it.