FRAMES NO FRAMES

Class IloCPTraceI

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

An instance of this class is used to wrap the Solver trace mechanism. It enables you to set a trace at the start of a search.

A trace wrapper is implemented by means of two classes: a handle class and an implementation class. In other words, an instance of the class IloCPTrace (a handle) contains a data member (the handle pointer) that points to an instance of the class IloCPTraceI (its implementation object).

See Also:

Constructor and Destructor Summary
public IloCPTraceI()
public ~IloCPTraceI()
Method Summary
public virtual voidexecute(const IloSolver solver) const
Constructor and Destructor Detail

IloCPTraceI

public IloCPTraceI()

This constructor creates a trace at the start of a search.


~IloCPTraceI

public ~IloCPTraceI()

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


Method Detail

execute

public virtual void execute(const IloSolver solver) const

Solver calls this member function when it starts the search.

If you want to use this facility, you must define this virtual member function. This member function should not be called at the same time as any other side effects of the search, such as filter levels.