Interface: SolveProblemResponse
@kortexya/reasoninglayer / SolveProblemResponse
Interface: SolveProblemResponse
Section titled “Interface: SolveProblemResponse”Defined in: src/types/solver.ts:305
Response body for POST /api/v1/solver/solve.
Remarks
Section titled “Remarks”Wire shape (snake_case): { message, objective_value, solve_time_ms, solver, status, values }.
Properties
Section titled “Properties”message?
Section titled “message?”
optionalmessage?:string|null
Defined in: src/types/solver.ts:317
Optional diagnostic message (e.g. when status is "unknown").
objectiveValue?
Section titled “objectiveValue?”
optionalobjectiveValue?:number|null
Defined in: src/types/solver.ts:313
Objective value at the optimum, when an objective was supplied.
solver
Section titled “solver”solver:
string
Defined in: src/types/solver.ts:309
"cp_sat" or "highs".
solveTimeMs
Section titled “solveTimeMs”solveTimeMs:
number
Defined in: src/types/solver.ts:315
Wall-clock solve time inside the solver service, in milliseconds.
status
Section titled “status”status:
SolutionStatus
Defined in: src/types/solver.ts:307
Status reported by the solver.
values
Section titled “values”values:
Record<string,number>
Defined in: src/types/solver.ts:311
Variable-name → optimal value. Empty for infeasible/unbounded.