Interface: SchedulingOptimizeRequest
@kortexya/reasoninglayer / SchedulingOptimizeRequest
Interface: SchedulingOptimizeRequest
Section titled “Interface: SchedulingOptimizeRequest”Defined in: src/types/scheduling.ts:219
Input to SchedulingClient.optimize.
Remarks
Section titled “Remarks”Same hard-constraint shape as SchedulingFeasibilityRequest
plus a list of soft preferences. The engine returns the per-cell
envelope across the space of optimal schedules under the
supplied preferences.
Properties
Section titled “Properties”agents
Section titled “agents”agents:
AgentSpec[]
Defined in: src/types/scheduling.ts:220
days:
number
Defined in: src/types/scheduling.ts:221
demands
Section titled “demands”demands:
ShiftDemand[]
Defined in: src/types/scheduling.ts:223
optionalpins?:Pin[]
Defined in: src/types/scheduling.ts:225
Pre-assigned (agent, day, shift) triples. Defaults to empty.
preferences?
Section titled “preferences?”
optionalpreferences?:Preference[]
Defined in: src/types/scheduling.ts:231
Soft preferences applied to the objective. Empty (or omitted) = unweighted: every feasible schedule is “optimal” and the result coincides with SchedulingClient.feasibility.
shiftsPerDay
Section titled “shiftsPerDay”shiftsPerDay:
number
Defined in: src/types/scheduling.ts:222