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 />

Returns the branch priority used for variable var in the current optimization.<br />

public IloNum getSlack(const IloRange rng)<br />

This method returns the slack value for the constraint indicated by rng in the solution<br />

of the current node relaxation.<br />

public void getSlacks(IloNumArray vals,<br />

const IloRangeArray rngs)<br />

This method puts the slack value in the solution of the current node relaxation of each<br />

of the constraints in the array of ranges rngs into the corresponding element of the<br />

array vals.<br />

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

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

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

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

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

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

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

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

public void getUBs(IloNumArray vals,<br />

const IloIntVarArray vars)<br />

This method puts the upper 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 getUBs(IloNumArray vals,<br />

const IloNumVarArray vars)<br />

This method puts the upper 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 IloNum getUpPseudoCost(const IloIntVar var)<br />

This method returns the current pseudo cost for branching upward on the variable var.<br />

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

This method returns the current pseudo cost for branching upward on the variable var.<br />

public IloInt getUserThreads()<br />

This method returns the total number of parallel threads currently running.<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!