UniTime / unitime

Comprehensive University Timetabling System
http://www.unitime.org
Apache License 2.0
282 stars 162 forks source link

Reservations student groups time between Courses #79

Closed Abdulaziz-KTA closed 3 years ago

Abdulaziz-KTA commented 3 years ago

How to change time between Course at less 30 min to 90 min (not 225 min ) Reservations student groups

tomas-muller commented 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.

image (1)

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).

Abdulaziz-KTA commented 3 years ago

thank you

Abdulaziz-KTA commented 3 years ago

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))???

tomas-muller commented 3 years ago

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).

Abdulaziz-KTA commented 3 years ago

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

tomas-muller commented 3 years ago

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.

Screen Shot 2021-03-24 at 21 32 41
Abdulaziz-KTA commented 3 years ago

oh thank you