Skip to content

Interface: SchedulingOptimizeRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SchedulingOptimizeRequest

Defined in: src/types/scheduling.ts:219

Input to SchedulingClient.optimize.

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.

agents: AgentSpec[]

Defined in: src/types/scheduling.ts:220


days: number

Defined in: src/types/scheduling.ts:221


demands: ShiftDemand[]

Defined in: src/types/scheduling.ts:223


optional pins?: Pin[]

Defined in: src/types/scheduling.ts:225

Pre-assigned (agent, day, shift) triples. Defaults to empty.


optional preferences?: 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: number

Defined in: src/types/scheduling.ts:222