(class from pyomo.contrib.pyros.uncertainty_sets)
pyomo.contrib.pyros.uncertainty_sets
Bases: tuple
tuple
A collection of modeling components generated or addressed by the set_as_constraint method of an uncertainty set object.
The UncertaintyQuantification class was generated using the Python namedtuple() factory function, so the standard namedtuple() attributes and methods (e.g., _asdict()) are available.
namedtuple()
_asdict()
block (BlockData) – Block on which the uncertainty set constraints were added.
uncertainty_cons (list of ConstraintData) – The added uncertainty set constraints.
uncertain_param_vars (list of VarData) – Variables representing the (main) uncertain parameters.
auxiliary_vars (list of VarData) – Variables representing the auxiliary uncertain parameters.
Methods
__init__()
__init__
count(value, /)
count
Return number of occurrences of value.
index(value[, start, stop])
index
Return first index of value.
Attributes
auxiliary_vars
Variables representing the auxiliary uncertain parameters.
block
Block on which the uncertainty set constraints were added.
uncertain_param_vars
Variables representing the (main) uncertain parameters.
uncertainty_cons
The added uncertainty set constraints.
Member Documentation
Raises ValueError if the value is not present.