ore del pomeriggio

Started by flauta, September 13, 2015, 01:56:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

flauta

ciao *

ho bisogno di inserire questo vincolo:
a) ogni insegnante fa almeno un pomeriggio (ultime 2 ore) ma nessuno ne fa più di due (questa parte l'ho già inserita, Un insegnante fa lezione in un intervallo... max volte..)
b) se un insegnante fa due pomeriggi, non li deve fare nella stessa classe

ho già verificato che l'orario è possibile, ma mi esce sempre con qualche docente che non rispetta questo schema

grazie per i suggerimenti

Liviu Lalescu

Ciao, scusi per l'inglese:

(a1) Use constraint activities occupy max time slots from selection to ensure that the teacher has at least one hour to work in pomeriggio. Selected activities = all activities of teacher, selected slots = other than pomeriggio, max occupied slots = n_activities_of_teacher - 1. I hope I am not mistaking.

(b) This is not possible directly, I think. Maybe use max interval per week pomeriggio for each students set. Or I might develop for you a custom version, if this condition is really important for you. We may talk some more about (b).

flauta

Grazie per la risposta! Proverò la sua soluzione per (a)

per (b) sto provando con Tempo --> Attività --> Un insieme di attività occupa un numero massimo di ore da una selezione.
Inserisco un vincolo per ogni gruppo di subattività di un docente in una classe, selezionando le ore del pomeriggio e numero massimo 2 (una volta la settimana)


thanks for the answer. I'll try your solution for (a)

for (b) I am trying with Time constraints --> Activities --> A set of activites occupies max time slots from selections.
I insert a constraint for each teacher subactivites in a class, selecting the afternoon hours and max number 2 (once a week)

Liviu Lalescu

Quote from: flauta on September 13, 2015, 03:24:29 PM
Grazie per la risposta! Proverò la sua soluzione per (a)

per (b) sto provando con Tempo --> Attività --> Un insieme di attività occupa un numero massimo di ore da una selezione.
Inserisco un vincolo per ogni gruppo di subattività di un docente in una classe, selezionando le ore del pomeriggio e numero massimo 2 (una volta la settimana)

thanks for the answer. I'll try your solution for (a)

for (b) I am trying with Time constraints --> Activities --> A set of activites occupies max time slots from selections.
I insert a constraint for each teacher subactivites in a class, selecting the afternoon hours and max number 2 (once a week)

Yes, it should work. I thought about this, but I was not sure if it applies. Also, there are many constraints to add.

PS: You can write only in Italian if you want; if I don't understand, I'll ask you to translate.

flauta

Quote from: Liviu Lalescu on September 13, 2015, 02:13:27 PM
Or I might develop for you a custom version, if this condition is really important for you. We may talk some more about (b).

invece di aggiungere altre voci ai vincoli, potrebbe essere interessante per alcuni inserire una sola voce in cui specificare Massimo o Minimo (es. numero massimo di ore... numero minimo di ore...)

Liviu Lalescu

Quote from: flauta on September 14, 2015, 02:45:03 PM
invece di aggiungere altre voci ai vincoli, potrebbe essere interessante per alcuni inserire una sola voce in cui specificare Massimo o Minimo (es. numero massimo di ore... numero minimo di ore...)

I am afraid I do not understand.

flauta

Quote from: Liviu Lalescu on September 14, 2015, 02:47:30 PM
I am afraid I do not understand.

sorry
I was trying to suggest to put some of the constraints in the form "Max" or "Min" (hours, days, etc) using a single menu item and putting the choice between Max or Min in the constraint construction panel.

But I understand that sometimes a Max constraint may be achieved in a totally different way than the opposite Min constraint.

Liviu Lalescu

Quote from: flauta on September 14, 2015, 03:03:52 PM
Quote from: Liviu Lalescu on September 14, 2015, 02:47:30 PM
I am afraid I do not understand.

sorry
I was trying to suggest to put some of the constraints in the form "Max" or "Min" (hours, days, etc) using a single menu item and putting the choice between Max or Min in the constraint construction panel.

But I understand that sometimes a Max constraint may be achieved in a totally different way than the opposite Min constraint.

Min constraints are much more difficult to implement into code than max constraints. I think it is best to keep things separated, for this reason (the internal implementation is different).

Sonibus

Ciao a tutti,
anch'io ho due ore il lunedì e 2 ore il mercoledì pomeriggio.
Ho 625 attività, ma dopo circa mezz'ora ne sono collocate 519 (dopo 34s) ma ora gira attorno a 490 500 attività e non accenna a chiudersi.
Sono sul disperato andante.
grazie
Sonia

utismetis

Per Flauta:
perchè non metti che gli insegnanti fanno attività fittizie senza studenti tutti i pomeriggi meno quello in cui vuoi che lavorino realmente?

utismetis

Per Sonibus:
fet dice: your data contains constraints students max gap  per day and / or activities tag max hours daily .... che richiedono uno svolgimento lungo o impossibile. Bisogna lavorare su tali punti.

utismetis

Per Sonibus:
ho visto tantissimi sabati liberi, molte ore settimanali in cui le classi non fanno lezione, le ore di religione bloccate; non ho visto numero max e min di ore al giorno per insegnanti e studenti, le attività delle palestre

Sonibus

#12
Questi in effetti sono i vincoli per me. Le ore di religione bloccate e classi con diversi modelli orari, a cinque giorni con rientri, a cinque giorni da 6 ore al giorno, a 6 giorni, per la palestra e i laboratori ho messo il vincolo ATTIVITA' NON CONCOMITANTI, poi max ore al giorno per tutti gli insegnanti 5 95%, max ore buche al giorno per tutti 1 100%, max ore buche a settimana per tutti 3 100%
Un bel caos!