Interface: LinExpr
@kortexya/reasoninglayer / Solver / LinExpr
Interface: LinExpr
Defined in: src/types/solver.ts:167
A linear expression Σ coeff·var + constant over flat decision-variable
indices.
Remarks
Wire shape (snake_case): { constant, terms }.
Properties
constant?
optionalconstant:number
Defined in: src/types/solver.ts:169
The constant addend.
terms?
optionalterms:LinTerm[]
Defined in: src/types/solver.ts:171
The coeff·var terms.