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
= 0unknown serves as both a default value, and it is used when no other enum member makes sense
maxTimeLimit
= 1The solver exited due to a time limit
maxIterations
= 2The solver exited due to an iteration limit
objectiveLimit
= 3The solver exited due to an objective limit
minStepLength
= 4The solver exited due to a minimum step length
optimal
= 5The solver exited with the optimal solution
unbounded
= 8The solver exited because the problem is unbounded
infeasible
= 9The solver exited because the problem is infeasible
The solver exited because the problem is either infeasible or unbounded
error
= 11The solver exited due to an error
interrupted
= 12The solver exited because it was interrupted
licensingProblems
= 13The 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