(function from pyomo.contrib.pyros.util)
pyomo.contrib.pyros.util
Recursively gather the individual summands of a numeric expression.
expr (native numeric type or NumericValue) – Expression to be analyzed.
summands – The summands.
list of expression-like