TerminationCondition

(enum from pyomo.contrib.appsi.base)

enum pyomo.contrib.appsi.base.TerminationCondition(value)[source]

Bases: Enum

An enumeration for checking the termination condition of solvers

Enum Members

unknown = 0

unknown serves as both a default value, and it is used when no other enum member makes sense

maxTimeLimit = 1

The solver exited due to a time limit

maxIterations = 2

The solver exited due to an iteration limit

objectiveLimit = 3

The solver exited due to an objective limit

minStepLength = 4

The solver exited due to a minimum step length

optimal = 5

The solver exited with the optimal solution

unbounded = 8

The solver exited because the problem is unbounded

infeasible = 9

The solver exited because the problem is infeasible

infeasibleOrUnbounded = 10

The solver exited because the problem is either infeasible or unbounded

error = 11

The solver exited due to an error

interrupted = 12

The solver exited because it was interrupted

licensingProblems = 13

The solver exited due to licensing problems

Member Documentation

unknown = 0

unknown serves as both a default value, and it is used when no other enum member makes sense

maxTimeLimit = 1

The solver exited due to a time limit

maxIterations = 2

The solver exited due to an iteration limit

objectiveLimit = 3

The solver exited due to an objective limit

minStepLength = 4

The solver exited due to a minimum step length

optimal = 5

The solver exited with the optimal solution

unbounded = 8

The solver exited because the problem is unbounded

infeasible = 9

The solver exited because the problem is infeasible

infeasibleOrUnbounded = 10

The solver exited because the problem is either infeasible or unbounded

error = 11

The solver exited due to an error

interrupted = 12

The solver exited because it was interrupted

licensingProblems = 13

The solver exited due to licensing problems