30.01.2015 Views

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IloCplex<br />

This method returns the number of iterations that occurred during the last call to the<br />

method solve in the invoking algorithm.<br />

public IloInt getNnodes()<br />

This method returns the number of branch-and-cut nodes that were processed in the<br />

current solution. If the invoking IloCplex object is not a MIP, it returns 0.<br />

public IloInt getNnodesLeft()<br />

This method returns the number of branch-and-cut nodes that remain to be processed in<br />

the current solution. If the invoking IloCplex object is not a MIP, it returns 0.<br />

public IloInt getNNZs()<br />

This method returns the number of non-zeros extracted to the constraint matrix A of the<br />

invoking algorithm.<br />

public IloInt getNphaseOneIterations()<br />

If a simplex method was used for solving continuous model, this method returns the<br />

number of iterations in phase 1 of the last call to solve or solveFixed.<br />

public IloInt getNprimalSuperbasics()<br />

This method returns the number of primal superbasic variables in the current solution of<br />

the invoking IloCplex object.<br />

public IloInt getNQCs()<br />

This method returns the number of quadratic constraints extracted from the active model<br />

for the invoking algorithm. This number may be different from the total number of<br />

constraints in the active model because linear constraints are not accounted for in this<br />

function.<br />

See Also<br />

See Also<br />

getNrows<br />

public IloInt getNrows()<br />

This method returns the number of rows extracted for the invoking algorithm. There<br />

may be differences in the number returned by this function and the number of<br />

IloRanges and IloConstraints in the model that is extracted. This is because<br />

quadratic constraints are not accounted for by method getNrows and automatic<br />

transformation of non-linear constraints and expressions may introduce new constraints.<br />

getNQCs<br />

public IloInt getNsemiContVars()<br />

This method returns the number of semi-continuous variables in the matrix<br />

representation of the active model in the invoking IloCplex object.<br />

public IloInt getNsemiIntVars()<br />

<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 64

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!