collect_vars_and_named_exprs

(function from pyomo.contrib.solver.util)

pyomo.contrib.solver.util.collect_vars_and_named_exprs(expr)[source]