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::Goal<br />

IloCplex::Goal<br />

Category<br />

Inner Class<br />

InheritancePath<br />

Definition File<br />

Include Files<br />

ilocplexi.h<br />

ilcplex/ilocplex.h<br />

Constructor Summary<br />

public Goal(GoalBaseI *)<br />

public<br />

Goal(const Goal &)<br />

public<br />

Goal()<br />

public<br />

Goal(IloConstraint)<br />

public<br />

Goal(IloConstraintArray)<br />

public Goal<br />

Method Summary<br />

operator=(const Goal &)<br />

Description<br />

Goals can be used to control the branch & cut search in IloCplex. Goals are<br />

implemented in the class IloCplex::GoalI. This is the handle class for <strong>CPLEX</strong><br />

goals.<br />

Goal objects are reference-counted. This means every instance of IloCplex::GoalI<br />

keeps track about how many handle objects refer to it. If this number drops to 0 the<br />

IloCplex::GoalI object is automatically deleted. As a consequence, whenever you<br />

deal with a goal, you must keep a handle object around rather than only a pointer to the<br />

implementation object. Otherwise, you risk ending up with a pointer to an<br />

implementation object that has already been deleted.<br />

See Goals among the Concepts in this manual. See also goals in the <strong>ILOG</strong> <strong>CPLEX</strong><br />

User's <strong>Manual</strong>.<br />

Constructors<br />

public Goal(GoalBaseI * goalI)<br />

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

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

Saved successfully!

Ooh no, something went wrong!