ilog.concert
Interface IloNumExpr

All Known Subinterfaces:
IloConstraint, IloIntExpr, IloIntVar, IloLinearIntExpr, IloLinearNumExpr, IloLPMatrix, IloNumVar, IloRange, IloSemiContVar, IloSOS1, IloSOS2

public interface IloNumExpr

This is the public basic interface for all numerical expressions. Numerical expressions are represented by objects implementing this interface. They are constructed using the expression operator functions defined in the interface IloModel or one of its extensions.

ILOG Concert Technology for Java distinguishes integer expressions that are built solely from integer variables and use only integer values. Integer expressions are represented by the interface IloIntExpr, an extension of IloNumExpr. Integer expressions can be used wherever general expressions of type IloNumExpr are expected.

Variables defined by the interface IloNumVar or IloIntVar are also extensions of IloNumExpr. Therefore, variables can be used wherever general expressions are expected.

See Also:
IloLinearNumExpr, IloNumVar, IloIntExpr, IloLinearIntExpr, IloIntVar, IloModeler.sum(IloNumExpr, double), IloModeler.sum(IloNumExpr, IloNumExpr), IloModeler.sum(double, IloNumExpr), IloModeler.prod(IloNumExpr, double), IloModeler.prod(IloNumExpr, IloNumExpr), IloModeler.prod(double, IloNumExpr), IloModeler.diff(IloNumExpr, double), IloModeler.diff(IloNumExpr, IloNumExpr), IloModeler.diff(double, IloNumExpr)