Overview | Group | Tree | Graph | Index | Concepts |
Numeric expressions in Concert Technology are represented using the
class IloNumExpr
.
Constructor Summary | |
---|---|
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 IloExpr & expr) |
Method Summary | |
---|---|
public IloNumExprI * | getImpl() const |
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 |
Inherited Methods from IloExtractable |
---|
asConstraint, asIntExpr, asModel, asNumExpr, asObjective, asVariable, end, getEnv, getId, getImpl, getName, getObject, isConstraint, isIntExpr, isModel, isNumExpr, isObjective, isVariable, setName, setObject |
Inner Class | |
---|---|
IloNumExpr::NonLinearExpression | The class of exceptions thrown if a numeric constant of a nonlinear expression is set or queried. |
Constructor 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 is the copy constructor for this class.
Method Detail |
---|
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 / ...