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 solution value of var in the incumbent solution at the time the invoking<br />

goal is executed by an instance of IloCplex while solving a MIP. If there is no<br />

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

public IloCplex::BranchDirection getDirection(const IloNumVar var)<br />

Returns the solution value of var in the incumbent solution at the time the invoking<br />

goal is executed by an instance of IloCplex while solving a MIP. If there is no<br />

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

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

This method returns the current pseudo cost for branching downward on the variable<br />

var.<br />

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

This method returns the current pseudo cost for branching downward on the variable<br />

var.<br />

public IloEnv getEnv()<br />

Returns the instance of IloEnv passed to the constructor of the goal.<br />

public void getFeasibilities(GoalI::IntegerFeasibilityArray stats,<br />

const IloIntVarArray vars)<br />

This method considers whether each of the variables in the array vars is integer<br />

feasible, integer infeasible, or implied integer feasible and puts the indication in the<br />

corresponding element of the array stats.<br />

public void getFeasibilities(GoalI::IntegerFeasibilityArray stats,<br />

const IloNumVarArray vars)<br />

This method considers whether each of the variables in the array vars is integer<br />

feasible, integer infeasible, or implied integer feasible and puts the indication in the<br />

corresponding element of the array stats.<br />

public GoalI::IntegerFeasibility getFeasibility(const IloSOS2 sos)<br />

This method indicates whether the SOS sos is integer feasible, integer infeasible, or<br />

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

public GoalI::IntegerFeasibility getFeasibility(const IloSOS1 sos)<br />

This method indicates whether the SOS sos is integer feasible, integer infeasible, or<br />

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

public GoalI::IntegerFeasibility getFeasibility(const IloIntVar var)<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 GoalI::IntegerFeasibility getFeasibility(const IloNumVar var)<br />

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

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

Saved successfully!

Ooh no, something went wrong!