Skip to main content
IBM Quantum Platform
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.

OptimizationResultStatus

class OptimizationResultStatus(value)

GitHub

Bases: enum.Enum

Termination status of an optimization algorithm.


Attributes

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.