7.3.8. quicksum

quicksum(terms)

This function adds up a list of terms and returns a linear expression object.

Parameters

terms – List of terms to add. A valid term includes a constant number, mindoptpy.MdoVar(), or MdoExprLinear().

Returns

A linear expression object.

Return type

MdoExprLinear