UniTime / unitime

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

Combining distribution preferences #65

Closed hasnul closed 4 years ago

hasnul commented 4 years ago

Is it possible to have a distribution preference of either 'Back-To-Back on the same day' OR 'Different Days'?

tomas-muller commented 4 years ago

You can use the Max Break constraint for that (see Additional Distribution Constraints for more details). Please note that these additional distribution constraints are not available in UniTime by default, they need to be registered first. For the No Break constraint (max break with zero breaks), you need to download the Create Max Break Constraint.xml script, import it using the Administration > Academic Sessions > Data Exchange page and then on the Administration > Utilities > Scripts run the imported script Distribution Types: Create Max Break Constraint with the appropriate parameters.