resolve_template
(function from pyomo.core.expr.template_expr
)
- pyomo.core.expr.template_expr.resolve_template(expr)[source]
Resolve a template into a concrete expression
This takes a template expression and returns the concrete equivalent by substituting the current values of all IndexTemplate objects and resolving (evaluating and removing) all GetItemExpression, GetAttrExpression, and TemplateSumExpression expression nodes.