| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

Numeric expressions in Concert Technology are represented using the
class IloNumExpr.
| Method Summary | |
|---|---|
public IloNumExprI * | getImpl() const |
public | IloNumExpr() |
public | IloNumExpr(IloNumExprI * impl) |
public | IloNumExpr(const IloNumExprArg expr) |
public | IloNumExpr(const IloEnv env, IloNum=0) |
public | IloNumExpr(const IloNumLinExprTerm term) |
public | IloNumExpr(const IloIntLinExprTerm term) |
public | IloNumExpr(const IloNumQuadExprTerm term) |
public | IloNumExpr(const IloIntQuadExprTerm term) |
public | IloNumExpr(const IloExpr & expr) |
public IloNumExpr & | operator*=(IloNum val) |
public IloNumExpr & | operator+=(const IloNumExprArg expr) |
public IloNumExpr & | operator+=(IloNum val) |
public IloNumExpr & | operator-=(const IloNumExprArg expr) |
public IloNumExpr & | operator-=(IloNum val) |
public IloNumExpr & | operator/=(IloNum val) |
Inherited Methods from IloNumExprArg |
|---|
getImpl, IloNumExprArg, IloNumExprArg |
Inherited Methods from IloExtractable |
|---|
asConstraint, asIntExpr, asModel, asNumExpr, asObjective, asVariable, end, getEnv, getId, getImpl, getName, getObject, IloExtractable, isConstraint, isIntExpr, isModel, isNumExpr, isObjective, isVariable, removeFromAll, setLocation, setName, setObject |
| Inner Class | |
|---|---|
| IloNumExpr::NonLinearExpression | The class of exceptions thrown if a numeric constant of a nonlinear expression is set or queried. |
| Method Detail |
|---|
This constructor creates a numeric expression using the undocumented
class IloNumExprArg.
This constructor creates a constant numeric expression
with the value n that the user can modify
subsequently with the operators +=, -=, ∗=
in the environment
specified by env. It may be used to build other expressions
from variables belonging to env.
This constructor creates a numeric expression using the undocumented
class IloNumLinExprTerm.
This constructor creates a numeric expression using the undocumented
class IloIntLinExprTerm.
This constructor creates an expression
using the undocumented class
IloNumExprArg.
This constructor creates an integer expression
with linear terms using the
undocumented class IloIntLinExprTerm.
This is the copy constructor for this class.
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x * ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x + ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x + ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x - ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x - ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x / ...