Parameter to suppress gaps

Started by victorcapel, May 24, 2023, 10:37:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

Hello, Victor,

Maybe constraints activities max simultaneous in selected time slots. Add for each subject all the activities, select all slots, max simultaneous = n_teachers-1.

Liviu Lalescu

Or maybe a constraint activities occupy min time slots from selection, select all the activities of a subject, all slots, min occupied = a corresponding value.

Vangelis Karafillidis

Quote from: victorcapel on December 06, 2024, 01:08:16 PMHi Liviu, I have a question. Is there any constraint I can use to prevent the overlapping of free windows.

Context: For each subject, I have a group of teachers, and I would like their free periods not to overlap. This way, I always have at least one teacher available in case of an emergency.


Could you provide us with some further information? For example, how many teachers should be taken into account for these non overlapping gaps? How many free periods (gaps) should each teacher have? For example maximum 2 gaps per week & one per day each one of them? How many of these gaps should be counted into the "non overlapping gaps"? One per week? Two? How many teachers should be available simultaneously at least/at most? If you need to solve exactly your problem, most likely you might need to use some tricks...

Vangelis.