build_vardatalist
(function from pyomo.contrib.parmest.utils.scenario_tree)
- pyomo.contrib.parmest.utils.scenario_tree.build_vardatalist(self, model, varlist=None)[source]
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
- Parameters:
model (ConcreteModel)
varlist (None or list of pyo.Var)