Skip to main content

Response

The solution to the Create request is the Create response:

Created Shift

Used to represent the output. Each entry corresponds with a pattern that was given as input.

Objective

The solver will try to find the best values to assign to each shift. In order to do this, constraints are used to determine how good a solution is. These constraints represent different numbers used to score the solution. These constraints are prioritised by being either HARD, MEDIUM or SOFT. All improvements in HARD constraints trump any deterioration in MEDIUM or SOFT constraints. All improvements in MEDIUM constraints trump any deterioration in SOFT constraints.

Constraints

In this table is a summary of all constraints and what they mean. The weight and priority of each constraint can be adjusted using the weights field in a solver request. An example of this can be found on this page in ‘Single Day Creation With Weights’. This is an advanced feature, the results of tweaking these weights is often hard to predict.

Explanation