ILOG CPLEX .NET Reference Manual

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

Adds four integer expressions and returns the sum.

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

Parameters

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

Return Value

The expression exp, representing the sum e1 + e2 + e3 +e 4.

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