qiskit.optimization.algorithms.OptimizationResultStatus
class OptimizationResultStatus(value)
Termination status of an optimization algorithm.
__init__
__init__()
Initialize self. See help(type(self)) for accurate signature.
Attributes
FAILURE | the optimization algorithm ended in a failure. |
INFEASIBLE | the optimization algorithm obtained an infeasible solution. |
SUCCESS | the optimization algorithm succeeded to find an optimal solution. |
FAILURE
Default value: 1
the optimization algorithm ended in a failure.
INFEASIBLE
Default value: 2
the optimization algorithm obtained an infeasible solution.
SUCCESS
Default value: 0
the optimization algorithm succeeded to find an optimal solution.
Was this page helpful?
Report a bug or request content on GitHub.