(function from pyomo.contrib.parmest.utils.scenario_tree)
pyomo.contrib.parmest.utils.scenario_tree
Convert a list of pyomo variables to a list of ScalarVar and VarData. If varlist is none, builds a list of all variables in the model. The new list is stored in the vars_to_tighten attribute. By CD Laird
model (ConcreteModel)
varlist (None or list of pyo.Var)