(function from pyomo.contrib.pyros.uncertainty_sets)
pyomo.contrib.pyros.uncertainty_sets
Standardize an object castable to a list of VarData objects representing uncertain model parameters, and check that the length of the resulting list is equal to the specified dimension.
obj (Var, VarData, or iterable of Var/VarData) – Object to standardize.
dim (int) – Specified dimension.
var_data_list – Standard variable list.
list of VarData