Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.optimization.algorithms.OptimizationResultStatus

class OptimizationResultStatus(value)

GitHub

Termination status of an optimization algorithm.

__init__

__init__()

Initialize self. See help(type(self)) for accurate signature.


Attributes

FAILUREthe optimization algorithm ended in a failure.
INFEASIBLEthe optimization algorithm obtained an infeasible solution.
SUCCESSthe 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.