Interface: VariableBounds
@kortexya/reasoninglayer / VariableBounds
Interface: VariableBounds
Section titled “Interface: VariableBounds”Defined in: src/types/optimize.ts:38
Bounds for a single decision variable.
Example
Section titled “Example”// 0 <= x <= 100const bounds: VariableBounds = { min: 0, max: 100 };Properties
Section titled “Properties”
optionalmax?:number
Defined in: src/types/optimize.ts:42
Upper bound (default: unbounded above).
optionalmin?:number
Defined in: src/types/optimize.ts:40
Lower bound (default: unbounded below).