FRAMES NO FRAMES

Class IloSearchLimitI

Definition file: ilsolver/ilosolverint.h
Include file: <ilsolver/ilosolver.h>

The class IloSearchLimit represents search limits in a Concert Technology model. The class IlcSearchLimit represents search limits internally in a Solver search.

A search limit is used to prune part of the search tree.

A search limit is an object in Solver. Like other Solver entities, a search limit is implemented by means of two classes: a handle class and an implementation class. In other words, an instance of the class IloSearchLimit (a handle) contains a data member (the handle pointer) that points to an instance of the class IloSearchLimitI (its implementation object).

See Also:

Constructor and Destructor Summary
public IloSearchLimitI(IloEnvI *)
public ~IloSearchLimitI()
Method Summary
public virtual voiddisplay(ostream &) const
public virtual IlcSearchLimitextract(const IloSolver solver) const
public virtual IloSearchLimitI *makeClone(IloEnvI * env) const
Constructor and Destructor Detail

IloSearchLimitI

public IloSearchLimitI(IloEnvI *)

This constructor creates an instance of the class IloSearchLimitI. This constructor should not be called directly as this class is an abstract class. This constructor is called automatically in the constructor of its subclasses.


~IloSearchLimitI

public ~IloSearchLimitI()

This destructor is called automatically by the destructor of its subclasses. It frees memory used by the invoking object.


Method Detail

display

public virtual void display(ostream &) const

This member function prints the invoking search limit on an output stream.


extract

public virtual IlcSearchLimit extract(const IloSolver solver) const

In general terms, in Concert Technology, the objects of a model must be extracted for an algorithm (an instance of one of the subclasses of IloAlgorithm, such as IloSolver). This member function returns the internal search limit extracted for solver from the invoking search limit of a model.


makeClone

public virtual IloSearchLimitI * makeClone(IloEnvI * env) const

This member function is called internally to duplicate the current search limit.