I am using the documentation of timetable generation quickstart at https://timefold.ai/docs/timefold-solver/latest/quickstart/spring-boot/spring-boot-quickstart.html#springBootJavaQuickStart
.
As per the quickstart, If a subject is taught multiple times per week by the same teacher to the same student group, there are multiple Lesson instances that are only distinguishable by id.
What I understand here is that, if a teacher is teaching Chemistry for Grade 10, then as part of the inputs I need to list out how many times the teacher will taking that class in a week. This looks counterintuitive. I would like the planner to solve and give me a timetable along with how many classes can the teacher take per week without having conflicts, and all timeslots of the week are filled.
Any pointers in resolving this is highly welcome.