process_canonical_repn

(function from pyomo.core.plugins.transform.util)

pyomo.core.plugins.transform.util.process_canonical_repn(expr)[source]

Returns a dictionary of {var_name_or_None: coef} values. None indicates a numeric constant.