# qiskit.optimization.algorithms.OptimizationResultStatus¶

class OptimizationResultStatus(value)[código fonte]

Termination status of an optimization algorithm.

__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 = 1

the optimization algorithm ended in a failure.

INFEASIBLE = 2

the optimization algorithm obtained an infeasible solution.

SUCCESS = 0

the optimization algorithm succeeded to find an optimal solution.