(function from pyomo.contrib.pyros.util)
pyomo.contrib.pyros.util
Check that the partitioning of the in-scope variables of the model is valid.
model (ConcreteModel) – Input deterministic model.
config (ConfigDict) – PyROS solver options.
State variables of the model.
list of VarData
ValueError – If first-stage variables and second-stage variables overlap, or there are no first-stage variables and no second-stage variables.