Constraint: “Rooms available for a teacher in specific time slots”

Started by Alami mohammed, September 28, 2025, 12:49:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Alami mohammed

Hello Mr. Liviu,

Thank you again for all the improvements in FET.

I would like to suggest adding a new type of constraint:

Constraint: "Rooms available for a teacher in specific time slots"

This constraint allows us to specify that a particular room is NOT available for a teacher during certain time slots, and it can be applied separately to each room.

The program would then take this into account during timetable generation, ensuring that the teacher is assigned only to the allowed rooms at the specified times.


For example:

A teacher may have two rooms during the week.

We may want to fix that in the first 4 days the teacher uses room 1, and in the last 2 days the teacher uses room 2.

Currently, simply allowing two rooms may lead to a timetable where the teacher alternates randomly between the two rooms. This new constraint would prevent that.


Thank you very much for considering this suggestion.

Best regards,
Alami Mohammed

YOUSSEF HOUIET

هذا القيد موحود
أوقات غير متاحة لمدرس+قاعة

Liviu Lalescu

Hello, Mr. Alami,

Indeed, as Youssef said, constraint teacher room not available times is already available.

Alami mohammed

Hello Mr. Liviu,

Thank you for your reply. I understand that the current constraint teacher room not available times already exists, but what I am suggesting is slightly different.

The new proposed constraint is about directly assigning one or more specific rooms to a teacher in certain time slots, not just forbidding rooms.

For example:

I want to assign Room 1 to a teacher during the first days of the week,

and Room 2 to the same teacher during the last days.


With the current constraint, I would have to forbid many rooms for the teacher, which is less practical. It would be better to have a direct assignment of specific rooms to a teacher in chosen time slots.

Thank you for considering this clarification.

Best regards,
Alami Mohammed

Liviu Lalescu