This is the basic public interface for integer expressions.

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

Syntax

C#
public interface IIntExpr : INumExpr, 
	ICopyable
Visual Basic
Public Interface IIntExpr _
	Inherits INumExpr, ICopyable

Remarks

Integer expressions are represented using objects of type IIntExpr. They are guaranteed to contain only variables of type integer and perform integer arithmetic. Integer expressions are created using integer variables and values with the numerical operations provided in IModeler.

Integer expressions and general expressions can be mixed. This is achieved by defining the interface IIntExpr as an extension of INumExpr. However, when an integer expression is used as an instance of INumExpr, the compile-time information is lost. For some optimizers, this will incur a runtime overhead because the type information needs to be regained at run time. This is documented for the optimizers where it is relevant.

See Also