Interface: Objective
@kortexya/reasoninglayer / Objective
Interface: Objective
Section titled “Interface: Objective”Defined in: src/types/solver.ts:126
Objective function to optimize.
Remarks
Section titled “Remarks”Wire shape (snake_case): { coefficients, constant, sense }.
Properties
Section titled “Properties”coefficients?
Section titled “coefficients?”
optionalcoefficients?:Record<string,number>
Defined in: src/types/solver.ts:130
Variable-name → coefficient.
constant?
Section titled “constant?”
optionalconstant?:number
Defined in: src/types/solver.ts:132
Constant addend.
sense:
ObjectiveSense
Defined in: src/types/solver.ts:128
Direction of the objective function.