ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
IloCplex<br />
public IloCplex::CplexStatus getCplexStatus()<br />
This method returns the <strong>ILOG</strong> <strong>CPLEX</strong> status of the invoking algorithm. For possible<br />
<strong>ILOG</strong> <strong>CPLEX</strong> values, see the enumeration type IloCplex::CplexStatus.<br />
public IloCplex::CplexStatus getCplexSubStatus()<br />
This method is used to access the solution status of the last node problem that was<br />
solved in the event of an error termination in the previous invocation of solve. The<br />
method IloCplex::getCplexSubStatus returns 0 in the event of a normal<br />
termination. If the invoking IloCplex object is continuous, this is equivalent to the<br />
status returned by the method getCplexStatus.<br />
public IloNum getCutoff()<br />
This method returns the MIP cutoff value being used during the MIP optimization. In a<br />
minimization problem, all nodes are pruned that have an optimal solution value of the<br />
continuous relaxation that is larger than the current cutoff value. The cutoff is updated<br />
with the incumbent. If the invoking IloCplex object is an LP or QP,<br />
+IloInfinity or -IloInfinity is returned, depending on the optimization<br />
sense.<br />
public IloBool getDefault(IloCplex::BoolParam parameter)<br />
These method return the default setting for the parameter parameter.<br />
public IloCplex::DeleteMode getDeleteMode()<br />
This method returns the current delete mode of the invoking IloCplex object.<br />
public IloCplex::BranchDirection getDirection(IloNumVar var)<br />
This method returns the branch direction previously assigned to variable var with<br />
method setDirectionor setDirections. If no direction has been assigned,<br />
IloCplex::BranchGlobal will be returned.<br />
public void getDirections(IloCplex::BranchDirectionArray dir,<br />
const IloNumVarArray var)<br />
This method returns the branch directions previously assigned to variables listed in var<br />
with the method setDirection or setDirections. When the function returns,<br />
dir[i] will contain the branch direction assigned for variables var[i]. If no branch<br />
direction has been assigned to var[i], dir[i] will be set to<br />
IloCplex::BranchGlobal.<br />
public IloExtractable getDiverging()<br />
This method returns the diverging variable or constraint, in a case where the primal<br />
Simplex algorithm has determined the problem to be infeasible. The returned extractable<br />
is either an IloNumVar or an IloConstraint object extracted to the invoking<br />
IloCplex optimizer; it is of type IloNumVar if the diverging column corresponds to<br />
a variable, or of type IloConstraint if the diverging column corresponds to the<br />
slack variable of a constraint.<br />
<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 60