activities overlap?

Started by gt, November 05, 2021, 08:01:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gt

Hello. I have a possible weird question.
We have a particular organization of teachers' activities.

In one working day:
Teachers 'A' have 3 hours of lesson plus 2 hours of academic activities.
Teachers 'B' have 6 hours of laboratory plus 2 hours of academic activities.
Academic activities should overlap.

Desired result:
Teachers' timetable should report all hours.
Students' timetable can avoid to report academic activities.

I doubt this could be done but I ask anyway because I'm a newbie!

Liviu Lalescu

Hello,

Quote from: gt on November 05, 2021, 08:01:55 PM
Hello. I have a possible weird question.
We have a particular organization of teachers' activities.

In one working day:
Teachers 'A' have 3 hours of lesson plus 2 hours of academic activities.
Teachers 'B' have 6 hours of laboratory plus 2 hours of academic activities.
Academic activities should overlap.

Activities occupy max time slots from selection. The academic activities, selected slots = all slots (of the day or of the week, if it is OK of the day it might be faster for the algorithm this way), max occupied = 2.

Quote
Desired result:
Teachers' timetable should report all hours.
Students' timetable can avoid to report academic activities.

I doubt this could be done but I ask anyway because I'm a newbie!

I am not sure I understand. You need the academic activities to be hidden in the students' timetables? I think this is not possible, maybe Volker has some tricks. But I consider this as a minor formatting problem.

gt

Please what is the correct way to assign to a teacher 2 hours of 'academic activity' to be consecutive (before of after) to 'lesson' hours?
Thanks in advance

Liviu Lalescu

If I understand correctly, a constraint two activities grouped and a constraint teacher  max gaps = 0.

gt

First of all thanks a lot for ALL your help.
I got into troubles:

1- created 'academic' activity for teacher Carl: no students, 2 hours.

2- set 'two activities are consecutive'  for Carl:
'subject 1' and 'academic'
Generate. OK. I get 'academic' consecutive to 'subject 1', Carl, same day.

3- set another 'two activities are consecutive'  for Carl:
'subject 2' and 'academic'
(please note that teachers have different subjects/activities)
Generate. ERROR. Can't schedule 'academic' activity (that's just one 'academic' related to Carl)

Tried with 'two activities are grouped' with same issues.

As suggested tried with 'activities occupy max time slots...',  'subject 1 + academic',  max slots=2
but I got 'academic' in different day (should be consecutive each day of Carl's lessons).

Is there a solution?

Thanks in advance

Liviu Lalescu

I'm sorry, but I do not understand. So, you need like:

S1
Ahour1
Ahour2
S2
?

Then add activity of Academic with duration 2 and three activities are grouped.

Maybe you can show me an example of correct timetable (by email if private).

gt

#6
Excuse my obscure questions. I attached 2 pictures as examples:
- PIC_1 shows the result I wish in teachers timetabling.
- PIC_2 shows how 'academic activity' overlaps next activity


Liviu Lalescu

No problem!

1) You have Li...'s name shown completely in screenshot1, you might want to remove it.
2) I think you want the constraint activities end teachers day, and maybe min days between activities for Academic.
3) I think you need to add also the students to these Academic activities and simply ignore them in the students' timetable. Because otherwise you would need to allow gaps in the students' timetables and also add constraints activities not overlapping.