Interface: SchedulingOptimizeResponse
@kortexya/reasoninglayer / Scheduling / SchedulingOptimizeResponse
Interface: SchedulingOptimizeResponse
Defined in: src/types/scheduling.ts:252
Response from SchedulingClient.optimize.
Remarks
The per-cell assignments trichotomy classifies each cell over the
space of optimal schedules — strictly stronger than the
feasibility-only trichotomy from
SchedulingClient.feasibility:
"confirmed_true"— assigned in every optimal schedule."confirmed_false"— assigned in no optimal schedule."free"— varies across the (possibly multiple) optimal schedules; the optimizer is indifferent.
totalScore is the sum of Preference.score over assigned
cells in the optimum. It is 0 when no preferences were supplied
or the problem is infeasible.
Properties
assignments
assignments:
Assignment[]
Defined in: src/types/scheduling.ts:260
Empty when status === "infeasible"; otherwise one entry per
(agent, day, shift) triple in the input grid.
status
status:
SchedulingStatus
Defined in: src/types/scheduling.ts:253
totalScore
totalScore:
number
Defined in: src/types/scheduling.ts:255
Sum of preference scores at chosen cells in the optimum.