This is the basic public interface for integer expressions.
ILOG.Concert.IIntExpr
Derived interfaces
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 runtime. This is documented for the optimizers where it is relevant.
Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll)