(function from pyomo.contrib.parmest.utils.model_utils)
pyomo.contrib.parmest.utils.model_utils
Convert select Params to Vars
model (Pyomo concrete model) – Original model
param_names (list of strings) – List of parameter names to convert, if None then all Params are converted
fix_vars (bool) – Fix the new variables, default is False
model – Model with select Params converted to Vars
Pyomo concrete model