How to globally discourage scheduling classes on Friday evenings

18 views
Skip to first unread message

yunlong

unread,
Nov 7, 2025, 8:21:07 AM11/7/25
to UniTime Discussion Group
Hi Thomas,

I’d like to ask if there is a way to globally discourage scheduling classes on Friday evenings when running the timetable solver.

Ideally, we don’t want to completely prohibit those time slots — just make them less preferred for all classes, unless no other feasible options exist.

I have looked into time subpart time preferences, but I’m wondering whether there is a global-level time preference (for example, for the entire session or one department) that the solver can take into account.

If not directly available through the UI, could this be configured through the solver parameters ?

Any guidance or best practice on how to implement this kind of  “soft time constraint” would be greatly appreciated.

Best regards,
Yunlong

Tomáš Müller

unread,
Nov 7, 2025, 9:48:38 AM11/7/25
to unitime...@googlegroups.com
Hi Yunlong,

We do have default time preferences. These can be changed on the Administration > Solver > Configurations page. Click the solver configuration you are using, then scroll down to the Default Time Preferences section. You can make the option editable by unchecking the left-most checkbox (which, when checked, indicates that the default value is being set). Besides the "Time preferences" parameter, you will also need to set the "Time preferences weight" to ensure the default preferences are used -- 0.5 is a good weight, as it means the defaults will take half of the preferences set on the class (or inherited from the subpart and/or instructor).

Screenshot 2025-11-07 at 15.46.41.png


Please note that the "Prohibited" preference in the default time preferences does not prevent the class from being placed at that time; it only has a very high penalty (+1000). 

Best regards,

Tomas Muller

--
You received this message because you are subscribed to the Google Groups "UniTime Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unitime-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/unitime-discuss/4b9a4fc1-b99e-495e-be71-da0ef5a2255bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages