Skip to main content
Result of Schedule.solve. Feasibility-only solves return hard-feasible assignments when one is found, but they do not optimize objectives or compute objective-derived metadata. Cost is therefore only produced for optimized solves.

Properties

assignments
ShiftAssignment[]
required
Shift assignments (empty when infeasible or no solution).
cost
cost?: CostBreakdown
Cost breakdown for optimized solves when cost rules are used and a solution is found.
status
SolveStatus
required
Outcome of the solve attempt.

Methods

explain()

Returns the deterministic schedule explanation for this solve result. Returns: ScheduleExplanation