Solve#
- class Solve#
Immutable record of one solver call.
A
Solvestores the inputInstance, outputSolution, adapter class name, and JSON-encoded adapter options for oneRun.log_solvecall.- __repr__() str#
- property adapter: str#
Read-only property.
SolverAdapter class name used for this solve.
- property adapter_options: dict[str, Any]#
Read-only property.
Keyword arguments passed to the SolverAdapter.
The artifact stores this value as a JSON string produced by Python's
json.dumps; the Python SDK decodes it withjson.loadsbefore returning it.
- property input: Instance#
Read-only property.
Input
Instancepassed to the solver.
- property output: Solution#
Read-only property.
Output
Solutionreturned by the solver.
- property solve_id: int#
Read-only property.
Integer identifier of this solve within its run.