"Why can't you use constraint max gaps for teacher?"
The same teacher might also lecture in the afternoon or in the night classes. The idea is that, for a given period (m/a/n), the lecturer doesn't have a gap between two classes. However, the lecturers can have gaps between between periods.
For example, when there are two classes, with the same lectuer, in one period (morning in this case), same day:
What I want:
07h30-09h00 Prof.x
09h15-10h45 Prof.x
11h00-12h30 Prof.y
What I don't want:
07h30-09h00 Prof.x
09h15-10h45 Prof.y
11h00-12h30 Prof.x
"Maybe use constraint students (set) activity tag max hours daily?"
A given students' set must have 3 consecutive classes for one period. However, these classes must not be the same. I have already forced the morning activity tag to the hours described in the following example (activity tag preferred time slots).
Example:
students: 1st year Civil Eng.
period: morning
What I want:
07h30-09h00 Prof.x/subject1
09h15-10h45 Prof.y/subject2
11h00-12h30 Prof.z/subject3
What I don't want:
07h30-09h00 Prof.x/subject1
09h15-10h45 Prof.x/subject1
11h00-12h30 Prof.x/subject1
Maybe I'm not understanding your idea.
Thank you for the support and best regards,
Ricardo
The same teacher might also lecture in the afternoon or in the night classes. The idea is that, for a given period (m/a/n), the lecturer doesn't have a gap between two classes. However, the lecturers can have gaps between between periods.
For example, when there are two classes, with the same lectuer, in one period (morning in this case), same day:
What I want:
07h30-09h00 Prof.x
09h15-10h45 Prof.x
11h00-12h30 Prof.y
What I don't want:
07h30-09h00 Prof.x
09h15-10h45 Prof.y
11h00-12h30 Prof.x
"Maybe use constraint students (set) activity tag max hours daily?"
A given students' set must have 3 consecutive classes for one period. However, these classes must not be the same. I have already forced the morning activity tag to the hours described in the following example (activity tag preferred time slots).
Example:
students: 1st year Civil Eng.
period: morning
What I want:
07h30-09h00 Prof.x/subject1
09h15-10h45 Prof.y/subject2
11h00-12h30 Prof.z/subject3
What I don't want:
07h30-09h00 Prof.x/subject1
09h15-10h45 Prof.x/subject1
11h00-12h30 Prof.x/subject1
Maybe I'm not understanding your idea.
Thank you for the support and best regards,
Ricardo