ILOG CPLEX .NET Reference Manual

IModeler.Sum Method (INumExpr[], Int32, Int32)

Creates and returns an expression representing the sum of the num expressions provided as terms in the array expr starting with element start.

INumExpr Sum(
   INumExpr[] expr,
   int start,
   int num
);

Parameters

expr
An array containing the expressions to be summed.
start
The first term in expr to be used.
num
The number of terms in expr to be used.

Return Value

An expression representing the sum of the specified terms.

See Also

IModeler Interface | ILOG.Concert Namespace | IModeler.Sum Overload List