ommx.adapter
Attributes
Exceptions
Common base class for all non-exit exceptions. |
|
Common base class for all non-exit exceptions. |
Classes
An abstract interface for Adapters, defining how solvers should be used with OMMX. |
Module Contents
- exception ommx.adapter.InfeasibleDetected
Common base class for all non-exit exceptions.
- exception ommx.adapter.UnboundedDetected
Common base class for all non-exit exceptions.
- class ommx.adapter.SolverAdapter(ommx_instance: ommx.v1.Instance)
An abstract interface for Adapters, defining how solvers should be used with OMMX.
See the implementation guide for more details. .. _implementation guide: https://jij-inc.github.io/ommx/ommx_ecosystem/solver_adapter_guide.html
- abstract decode(data: SolverOutput) ommx.v1.Solution
- static solve(ommx_instance: ommx.v1.Instance) ommx.v1.Solution
- Abstractmethod:
- property solver_input: SolverInput
- Abstractmethod:
- ommx.adapter.SolverInput
- ommx.adapter.SolverOutput