cerberus.solvers.SolveReturn

class cerberus.solvers.SolveReturn(value)

Bases: IntEnum

Integers returned by solvers after a solve() call indicating whether solution converged or not.

__init__()

Attributes

UNKNOWN

Solver doesn't know that solution has converged or diverged

CONVERGED

Solver thinks that solution has converged

DIVERGED

Solver thinks that solution has diverged

CONVERGED = 2

Solver thinks that solution has converged

DIVERGED = 3

Solver thinks that solution has diverged

UNKNOWN = 1

Solver doesn’t know that solution has converged or diverged