Adds two integer expressions and returns the sum.

Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
IIntExpr Sum(
	IIntExpr e1,
	IIntExpr e2
)
Visual Basic
Function Sum ( _
	e1 As IIntExpr, _
	e2 As IIntExpr _
) As IIntExpr

Parameters

e1
Type: ILOG.Concert..::..IIntExpr
The first integer expression.
e2
Type: ILOG.Concert..::..IIntExpr
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