ILOG CPLEX .NET Reference Manual

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

Adds four numeric expressions and returns the sum.

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

Parameters

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

Return Value

A numeric expression representing the sum of e1 + e2 + e3 + e4.

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