ILOG CPLEX .NET Reference Manual

IModeler.Sum Method (IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr)

Adds five integer expressions and returns the sum.

IIntExpr Sum(
   IIntExpr e1,
   IIntExpr e2,
   IIntExpr e3,
   IIntExpr e4,
   IIntExpr e5
);

Parameters

e1
The first integer expression.
e2
The second integer expression.
e3
The third integer expression.
e4
The fourth integer expression.
e5
The fifth integer expression.

Return Value

The expression exp, representing the sum e1 + e2 + e3 + e4 + e5.

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