Grouping a teacher's lessons

Started by ChicagoPianoTuner, April 27, 2016, 12:05:07 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Liviu Lalescu

Quote from: ChicagoPianoTuner on April 29, 2016, 04:10:48 PM
Hmm, maybe you're right. It happened to work out correctly in the last version of the timetable, but when I regenerated it, there were problems. To clarify: each of A's activities MUST be overlapped by either B's activities OR C's activities OR both. B's and C's activities can overlap with each other, but they don't have to. The only requirement is that teacher A is always supported by teacher B or teacher C (or both B and C).

I have thought about your problem.

Unfortunately, I see no solution to the exact problem using official version tricks.

There is a simple solution using tricks if you agree to make compromises. You might agree that teacher B is to assist A one time per week, while teacher C is to assist A two times per week. This is possible easily using two constraints activities occupy max time slots from selection.

There might be possible a perfect solution for your problem as a custom version, but it might be (very) difficult.

ChicagoPianoTuner

Thanks for putting so much thought into it, guys. I'll make the compromise you mentioned, Liviu, which is how I had it before I went down this rabbit hole to begin with!