ILOG CPLEX .NET Reference Manual

IModeler.Sum Method (IIntExpr, IIntExpr)

Adds two integer expressions and returns the sum.

IIntExpr Sum(
   IIntExpr e1,
   IIntExpr e2
);

Parameters

e1
The first integer expression.
e2
The second integer expression.

Return Value

An integer expression representing the sum e1 + e2.

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