OptimizationResultStatus

class OptimizationResultStatus(value)[source]

Bases: Enum

Termination status of an optimization algorithm.

Attributes

SUCCESS = 0

the optimization algorithm succeeded to find a feasible solution.

FAILURE = 1

the optimization algorithm ended in a failure.

INFEASIBLE = 2

the optimization algorithm obtained an infeasible solution.