Interface: ClassifyProblemRequest
@kortexya/reasoninglayer / ClassifyProblemRequest
Interface: ClassifyProblemRequest
Section titled “Interface: ClassifyProblemRequest”Defined in: src/types/solver.ts:333
Request body for POST /api/v1/solver/classify. Same fields as
SolveProblemRequest plus an optional list of variable names whose
classification is requested; omitting it classifies every binary variable.
Remarks
Section titled “Remarks”Wire shape (snake_case): { constraints, gap_tolerance, hint, objective, node_limit, time_limit_ms, variables, variables_of_interest }.
Properties
Section titled “Properties”constraints?
Section titled “constraints?”
optionalconstraints?:LinearConstraint[]
Defined in: src/types/solver.ts:337
Linear constraints over the variables.
gapTolerance?
Section titled “gapTolerance?”
optionalgapTolerance?:number|null
Defined in: src/types/solver.ts:343
Relative MIP gap tolerance.
optionalhint?:SolverHint
Defined in: src/types/solver.ts:341
Backend-selection hint.
nodeLimit?
Section titled “nodeLimit?”
optionalnodeLimit?:number|null
Defined in: src/types/solver.ts:347
Branch-node budget; the root relaxation is separate.
objective?
Section titled “objective?”
optionalobjective?:Objective|null
Defined in: src/types/solver.ts:339
Objective function; omit for a pure feasibility classification.
timeLimitMs?
Section titled “timeLimitMs?”
optionaltimeLimitMs?:number|null
Defined in: src/types/solver.ts:345
Wall-clock limit per solve, in milliseconds.
variables
Section titled “variables”variables:
VariableSpec[]
Defined in: src/types/solver.ts:335
The decision variables of the problem.
variablesOfInterest?
Section titled “variablesOfInterest?”
optionalvariablesOfInterest?:string[] |null
Defined in: src/types/solver.ts:349
Variables to classify. Omit (or send empty) to classify every binary variable.