模板化规则

(函数来自 pyomo.core.expr.template_expr)

pyomo.core.expr.template_expr.templatize_rule(block, rule, index_set)[source]