Skip to content

Interface: VariableBounds

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Optimize / VariableBounds

Interface: VariableBounds

Defined in: src/types/optimize.ts:38

Bounds for a single decision variable.

Example

// 0 <= x <= 100
const bounds: VariableBounds = { min: 0, max: 100 };

Properties

max?

optional max: number

Defined in: src/types/optimize.ts:42

Upper bound (default: unbounded above).


min?

optional min: number

Defined in: src/types/optimize.ts:40

Lower bound (default: unbounded below).