remove_var_declared_bound

(function from pyomo.contrib.pyros.util)

pyomo.contrib.pyros.util.remove_var_declared_bound(var, bound_type)[source]

Remove the specified declared bound(s) of a variable data object.

Parameters:
  • var (VarData) – Variable data object of interest.

  • bound_type (BoundType) – Indicator for the declared bound(s) to remove. Note: if BoundType.EQ is specified, then both the lower and upper bounds are removed.