Overview | Group | Tree | Graph | Index | Concepts |
Integer expressions in Concert Technology are represented using objects
of type IloIntExpr
.
Constructor Summary | |
---|---|
public | IloIntExpr() |
public | IloIntExpr(IloIntExprI * impl) |
public | IloIntExpr(const IloIntExprArg arg) |
public | IloIntExpr(const IloIntLinExprTerm term) |
public | IloIntExpr(const IloEnv env, IloInt constant=0) |
Method Summary | |
---|---|
public IloIntExprI * | getImpl() const |
public IloIntExpr & | operator*=(IloInt val) |
public IloIntExpr & | operator+=(const IloIntExprArg expr) |
public IloIntExpr & | operator+=(IloInt val) |
public IloIntExpr & | operator-=(const IloIntExprArg expr) |
public IloIntExpr & | operator-=(IloInt val) |
Inherited Methods from IloIntExprArg |
---|
getImpl |
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 |
Constructor Detail |
---|
This constructor creates an integer expression using the undocumented class
IloIntExprArg
.
This constructor creates an integer expression with linear terms using the
undocumented class IloIntLinExprTerm
.
This constructor creates a constant integer expression
with the value constant
that the user can modify
subsequently with the operators +=, -=, ∗=
in the environment env
.
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 - ...
.