This code generates a timetable for multiple groups, ensuring various constraints are met. It schedules lectures and practical sessions while avoiding conflicts, synchronizing lectures, and designating free slots.
- Constraints python package: Includes custom constraints for lectures and TD sessions, as well as built-in constraints like
AllDifferentConstraint
. - Backtracking Algorithm: Utilized by the
constraint
library for finding solutions to the CSP. - Arc Consistency (AC3): Enforced to reduce the search space and improve efficiency, although not explicitly shown in the given code.