ilog.concert
Interface IloNumExpr

All Known Subinterfaces:
IloIntExpr, IloIntVar, IloLinearIntExpr, IloLinearNumExpr, IloNumVar, IloSemiContVar

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 interface IloModel or one of its extensions.

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

Variables defined by interface IloNumVar or IloIntVar are also extensions of this interface. Therefore, variables can be used in any place where 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)