Skip to content

Interface: SchedulingOptimizeRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Scheduling / SchedulingOptimizeRequest

Interface: SchedulingOptimizeRequest

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

Input to SchedulingClient.optimize.

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

agents

agents: AgentSpec[]

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


days

days: number

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


demands

demands: ShiftDemand[]

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


pins?

optional pins: Pin[]

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

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


preferences?

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

shiftsPerDay: number

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