(function from pyomo.core.expr.template_expr)
pyomo.core.expr.template_expr
A simple substituter to replace _GetItem nodes with mutable Params.
This substituter will replace all GetItemExpression nodes with a new Param. For example, this method will create expressions suitable for passing to DAE integrators