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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IloCplex::GoalI<br />

This method indicates whether the variable var is integer feasible, integer infeasible, or<br />

implied integer feasible in the current node solution.<br />

public IloNum getIncumbentObjValue()<br />

This method returns the value of the objective function of the incumbent solution (that<br />

is, the best integer solution found so far). If there is no incumbent, this method throws an<br />

exception.<br />

public IloNum getIncumbentValue(const IloIntVar var)<br />

This method returns the value of var in the incumbent solution. If there is no<br />

incumbent, this method throws an exception.<br />

public IloNum getIncumbentValue(const IloNumVar var)<br />

This method returns the value of var in the incumbent solution. If there is no<br />

incumbent, this method throws an exception.<br />

public void getIncumbentValues(IloNumArray val,<br />

const IloIntVarArray vars)<br />

Returns the value of each variable in the array vars with respect to the current<br />

incumbent solution, and it puts those values into the corresponding array vals. If<br />

there is no incumbent, this method throws an exception.<br />

public void getIncumbentValues(IloNumArray val,<br />

const IloNumVarArray vars)<br />

Returns the value of each variable in the array vars with respect to the current<br />

incumbent solution, and it puts those values into the corresponding array vals. If<br />

there is no incumbent, this method throws an exception.<br />

public IloNum getLB(const IloIntVar var)<br />

This method returns the lower bound of var in the current node relaxation. This bound<br />

is likely to be different from the bound in the original model because an instance of<br />

IloCplex tightens bounds when it branches from a node to its subnodes.<br />

public IloNum getLB(const IloNumVar var)<br />

This method returns the lower bound of var in the current node relaxation. This bound<br />

is likely to be different from the bound in the original model because an instance of<br />

IloCplex tightens bounds when it branches from a node to its subnodes.<br />

public void getLBs(IloNumArray vals,<br />

const IloIntVarArray vars)<br />

This method puts the lower bound in the current node relaxation of each element of the<br />

array vars into the corresponding element of the array vals. These bounds are likely<br />

to be different from the bounds in the original model because an instance of IloCplex<br />

tightens bounds when it branches from a node to its subnodes.<br />

public void getLBs(IloNumArray vals,<br />

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

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

Saved successfully!

Ooh no, something went wrong!