Interface: SchedulingOptimizeResponse
@kortexya/reasoninglayer / SchedulingOptimizeResponse
Interface: SchedulingOptimizeResponse
Section titled “Interface: SchedulingOptimizeResponse”Defined in: src/types/scheduling.ts:252
Response from SchedulingClient.optimize.
Remarks
Section titled “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
Section titled “Properties”assignments
Section titled “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
Section titled “status”status:
SchedulingStatus
Defined in: src/types/scheduling.ts:253
totalScore
Section titled “totalScore”totalScore:
number
Defined in: src/types/scheduling.ts:255
Sum of preference scores at chosen cells in the optimum.