get_var_bound_pairs
(function from pyomo.contrib.pyros.util
)
- pyomo.contrib.pyros.util.get_var_bound_pairs(var)[source]
Get the domain and declared lower/upper bound pairs of a variable data object.
- Parameters:
var (VarData) – Variable data object of interest.
- Returns:
domain_bounds (2-tuple of None or numeric type) – Domain (lower, upper) bound pair.
declared_bounds (2-tuple of None, numeric type, or NumericExpression) – Declared (lower, upper) bound pair. Bounds of type NumericExpression are either constant or mutable expressions.