prod

(function from pyomo.core.util)

pyomo.core.util.prod(terms)[source]

A utility function to compute the product of a list of terms.

Parameters:

terms (list) – A list of terms that are multiplied together.

Returns:

The value of the product, which may be a Pyomo expression object.