Closed Abdulaziz-KTA closed 3 years ago
By default, UniTime does not minimize breaks between classes for students. It only minimizes the number of student conflicts, that is cases, where a student has two classes that are overlapping in time or that are back-to-back in rooms that are too far apart.
However, there is the StudentMinimizeScheduleHoles additional criterion that can be enabled. It will make student schedules more compact, but possibly also more spread across the week. This criterion is not enabled by default but can be enabled by setting the General.AdditionalCriteria solver parameter (Administration > Solver > Parameters page). It is a semicolon-separated list of classes to be included.
When enabled, you should see the "Average class distance" in the solution info (Solver page). It is the average time between any two classes that a student has on the same day (the solver tries to minimize this number).
thank you
what you mean that ???????? --> It is a semicolon-separated list of classes to be included. and where is it ("Average class distance" in the solution info (Solver page))???
The additional criteria parameter allows to plug in additional optimization criteria that are not part of the original model. The parameter contains a list of Java classes that extends the TimetablingCriterion class. If there are two or more, these are separated by a semicolon. For example:
org.cpsolver.coursett.criteria.additional.ImportantStudentConflict;org.cpsolver.coursett.criteria.additional.StudentMinimizeScheduleHoles
This will tell the solver to include ImportantStudentConflict criterion (student conflicts that are marked as important can be weighted more) and StudentMinimizeScheduleHoles (minimizing holes in student schedule).
thank you the first question I got it the second one where I find ("Average class distance" in the solution info (Solver page)) Can you share it as an image? plz
The field is called "Student class distance" and it shows at the bottom of Current Timetable as well as Best Timetable section. This is on the Courses > Course Timetabling > Solver page.
oh thank you
How to change time between Course at less 30 min to 90 min (not 225 min )