Main Menu

Elaboration time

Started by Andrea Giordano, September 20, 2011, 04:27:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrea Giordano

Dear Liviu, my timetable has grown ... I entered nearly all activities and added the teacher assistant in subactivities. It takes a little too much even if it is solvable. Maybe be there is a contraint too strict that lower the speed too much.
Would you get a glance to it?
How can I improve it?
Hints accepted  :)
Thanks'

Liviu Lalescu

#1
Only 3 max gaps per week for teachers? (I see that per day is 2, so I assume 3 might be a typo).

Edited to add: also, that 95% max 7 hours per day for teachers looks ugly to me.

Andrea Giordano

did it ... better result! Playing with constraint ... and trying to fix things. It is working.

Andrea Giordano

Problem I have to add 2 activities IRC 6E and IRC5B of teacher V. in thursday slot 3 and I tried with constraint teacher not available (but got some error reply beacuse of the other constraint) and tryed with set of activities in a certain hour adn day ... but tacking too long.
Is there a better way?
Thanks

Liviu Lalescu

A teacher cannot have two activities in the same slot.

Andrea Giordano

no sorry 2 activities for 2 slots

Liviu Lalescu

The best is 2 x ConstraintActivityPreferredStartingTime. Good is also ConstraintTeacherNotAvailable, but do not add these as activities to that teacher.

Andrea Giordano

QuoteThe best is 2 x ConstraintActivityPreferredStartingTime. Good is also ConstraintTeacherNotAvailable, but [highlight]do not add these as activities to that teacher.[/highlight]
what do you mean?

Liviu Lalescu

Quote
QuoteThe best is 2 x ConstraintActivityPreferredStartingTime. Good is also ConstraintTeacherNotAvailable, but [highlight]do not add these as activities to that teacher.[/highlight]
what do you mean?

Say teacher T has activities A1 and A2 on Monday 8:00 and Tuesday 8:00 (durations 1 each). Then you can make teacher T not available on Mon 8:00 and Tue 8:00, but in the list of activities do not add A1 and A2.

Andrea Giordano

#9
taking too long having blocked just 2 slots .... isn't it strange?

Do I have to delete activities A1 and A2???? It seems odd sorry. I don't understand.
... updated attached file!


Working with the attached file ... (raised some constraint) 
this the answer Orario n.: 1 => Tempo scaduto per l'orario corrente. Numero massimo di attività piazzate: 460 (dopo 1 h 12 m 4 s).
Orario n.: 2 => L'orario ha 4.5 conflitti leggeri ed è stato trovato in 0 ore, 14 minuti e 56 secondi.
Orario n.: 3 => Tempo scaduto per l'orario corrente. Numero massimo di attività piazzate: 459 (dopo 12 m 10 s).
Orario n.: 4 => Tempo scaduto per l'orario corrente. Numero massimo di attività piazzate: 459 (dopo 14 m 18 s).
Weird!

Liviu Lalescu

#10
Quotetaking too long having blocked just 2 slots .... isn't it strange?

Do I have to delete activities A1 and A2???? It seems odd sorry. I don't understand.
... updated attached file!


Working with the attached file ... (raised some constraint) 
this the answer Orario n.: 1 => Tempo scaduto per l'orario corrente. Numero massimo di attività piazzate: 460 (dopo 1 h 12 m 4 s).
Orario n.: 2 => L'orario ha 4.5 conflitti leggeri ed è stato trovato in 0 ore, 14 minuti e 56 secondi.
Orario n.: 3 => Tempo scaduto per l'orario corrente. Numero massimo di attività piazzate: 459 (dopo 12 m 10 s).
Orario n.: 4 => Tempo scaduto per l'orario corrente. Numero massimo di attività piazzate: 459 (dopo 14 m 18 s).
Weird!

1) Maybe the timetable is too difficult in general, or check Schileo and Fabris.

2) Yes, your results are normal. For instance Oradea-FS or CONCORDIA (these can solve in 1 minute or in 5 hours) or Timisoara-Econ (may solve in 2 hours or not solve after 24 hours).

3) Please let us know those 4.5 soft conflicts, or use them like that: those constraint are probably impossible. So, make the weight of min days constraints in that list, 0%. And maybe raise the other possible ones to 100% (Volker's technique). And do maybe similar for other constraints types.

PS: If you edit your message after a longer time (say more than 24 hours), and the edit is important, it is maybe better to post a new reply, so we know the update. I am not sure, though.