Help

Constraint: Course: Clustering

Specification

Checks if lessons of a course occurring on one day are scheduled to timeslots within specified separation.

Deviation

This contraint is broken if the gap between two lessons of the course occurring on the same day is less than minimum or greater than maximum separation configured in the course's effective configuration set. If there is at most one lesson of a course each day, the constraint has no effect.

Example: Assume a course has a clustering configured with a minimum separation of 0 and a maximum separation of 1. If one lesson of such course is scheduled into the first period and another into the fourth period of the same day, there are two periods in between which is a separation of 2 and higher than the configured maximum. Thus the constraint is broken.

Comments

The penalty is multiplied by the size of the deviation, or the difference between the actual separation and the closest allowed separation.