Interface: SolveProblemRequest
@kortexya/reasoninglayer / SolveProblemRequest
Interface: SolveProblemRequest
Section titled “Interface: SolveProblemRequest”Defined in: src/types/solver.ts:283
Request body for POST /api/v1/solver/solve.
Remarks
Section titled “Remarks”Wire shape (snake_case): { constraints, gap_tolerance, hint, objective, time_limit_ms, variables }.
Properties
Section titled “Properties”constraints?
Section titled “constraints?”
optionalconstraints?:LinearConstraint[]
Defined in: src/types/solver.ts:287
Linear constraints over the variables.
gapTolerance?
Section titled “gapTolerance?”
optionalgapTolerance?:number|null
Defined in: src/types/solver.ts:293
Relative MIP gap tolerance (e.g. 0.01 for 1%). 0.0 means solve to proven optimum.
optionalhint?:SolverHint
Defined in: src/types/solver.ts:291
Backend-selection hint.
objective?
Section titled “objective?”
optionalobjective?:Objective|null
Defined in: src/types/solver.ts:289
Objective function; omit for a pure feasibility solve.
timeLimitMs?
Section titled “timeLimitMs?”
optionaltimeLimitMs?:number|null
Defined in: src/types/solver.ts:295
Wall-clock limit per solve, in milliseconds. Defaults server-side to 30000.
variables
Section titled “variables”variables:
VariableSpec[]
Defined in: src/types/solver.ts:285
The decision variables of the problem.