Click or drag to resize

Solution Properties

The Solution type exposes the following members.

Properties
  NameDescription
Public propertyEmployeesPenalty
The sum of the penalties for the employees' individual schedules. For example, soft constraints related to shift start times and shift lengths, minimum working hours etc.
Public propertyLocalOptimum
If the solution is a local optimum it means that the solution cannot be easily improved by making changes such as swapping shifts or adjusting start and/or end times for example. The solver contains procedures which check for these basic improvements. If this flag is true then it means the solution has had all of these procedures applied to it and it should not be able to improve the solution using simple manual procedures. If the flag is false then it may still be locally optimal but it cannot be guaranteed locally optimal because all the procedures have not been applied due to not enough solving time.
Public propertyOtherPenalty
The total penalty for soft constraints not related to employees' individual schedules. For example, the cover constraints.
Public propertyPenalty
The total penalty due to all soft constraint violations in this solution.
Top
See Also

www.staffrostersolutions.com | support