(function from pyomo.contrib.pyros.config)
pyomo.contrib.pyros.config
Check that a component object modeling an uncertain parameter in PyROS is appropriately constructed, initialized, and/or mutable, where applicable.
uncertain_obj (Param or Var) – Object on which to perform checks.
ValueError – If the length of the component (data) object does not match that of its index set, or the object is a Param with attribute mutable=False.