ILOG CPLEX .NET Reference Manual

IModeler.Sum Method (INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr)

Adds eight numeric expressions and returns the sum.

INumExpr Sum(
   INumExpr e1,
   INumExpr e2,
   INumExpr e3,
   INumExpr e4,
   INumExpr e5,
   INumExpr e6,
   INumExpr e7,
   INumExpr e8
);

Parameters

e1
The first numeric expression.
e2
The second numeric expression.
e3
The third numeric expression.
e4
The fourth numeric expression.
e5
The fifth numeric expression.
e6
The sixth numeric expression.
e7
The seventh numeric expression.
e8
The eighth numeric expression.

Return Value

A numeric expression representing the sum of e1 + e2 + e3 + e4 + e5 + e6 + e7 + e8.

Remarks

The domain of the resulting expression is computed from the domains of the combined expressions.

See Also

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