validate_uncertainty_specification
(function from pyomo.contrib.pyros.util
)
- pyomo.contrib.pyros.util.validate_uncertainty_specification(model, config)[source]
Validate specification of uncertain parameters and uncertainty set.
- Parameters:
model (ConcreteModel) – Input deterministic model.
config (ConfigDict) – PyROS solver options.
- Raises:
ValueError – If at least one of the following holds: - dimension of uncertainty set does not equal number of uncertain parameters - uncertainty set is_valid() method does not return true. - nominal parameter realization is not in the uncertainty set.