Properties
object
required
The date range to schedule.
pinned?: ShiftAssignment[]
Fixed assignments from a prior solve (e.g., rolling schedule).
These are injected as fixed variables in the solver.Not yet implemented. Providing pinned assignments throws an error.
strategy?: SolveStrategy
Strategy used by the solver.
{ type: "optimize" } optimizes objectives and soft constraints.
{ type: "feasibility-only" } finds any hard-feasible solution, ignoring
objectives, soft-constraint penalties, and objective-derived metadata such
as cost.timeLimitSeconds?: number
Solver time limit in seconds.