IloNumExpr | +--IloNumVar
Using an IloNumVar object
implicitly provides access to its solutionValue property.
The postprocessing expression
x*100is equivalent to
x.solutionValue * 100where
x has been declared as
dvar float x;in the modeling part.
dvar float x in 0..20;
maximize x;
subject to {
}
execute {
writeln(x.name);
writeln(x.LB," ",x.UB," ",x.solutionValue);
writeln(x.reducedCost);
}x 0 20 20 1
| Field Attributes | Field Name and Description |
|---|---|
| all (read only) preprocessing (write) |
Branching direction for the decision variable (CPLEX models only).
|
| all preprocessing (write) |
Accesses the lower bound set for the decision variable.
|
| all (read only) preprocessing (write) |
Accesses the priority level of the decision variable (CPLEX models only).
|
| postprocessing |
The reduced cost for the decision variable (CPLEX models only).
|
| all preprocessing (write) |
Accesses the upper bound set for the decision variable.
|
| name, solutionValue |
"BranchDown", "BranchGlobal", "BranchUp".