Overview | Group | Tree | Graph | Index | Concepts |
In some instances, the illegality of a solution delta can be determined before the delta is applied to the solution in question, if knowledge of the problem is available. This abstract implementation class can be used to perform such specialized “pre-filtering”, which can improve the performance of local search procedures considerably.
The method IloMetaHeuristic::getDeltaCheck
returns a delta checker which uses the method IloMetaHeuristicI::isFeasible
to perform such checks.
Therefore, it is not necessary to subclass IloSolutionDeltaCheck
to perform delta checks for
metaheuristics.
See Also:
IloMetaHeuristic, IloScanNHood, IloSolutionDeltaCheck
Constructor and Destructor Summary | |
---|---|
public | IloSolutionDeltaCheckI(IloEnv env) |
public | ~IloSolutionDeltaCheckI() |
Method Summary | |
---|---|
public IloEnv | getEnv() const |
public virtual IloBool | ok(IloSolver solver, IloSolution delta) const |
Constructor and Destructor Detail |
---|
This constructor creates an instance of the
IloSolutionDeltaCheckI
class.
Since IloSolutionDeltaCheckI
is an abstract class, a
virtual destructor is provided.
Method Detail |
---|
This member function returns the environment specified when the invoking object was constructed.
This member function is called with the delta to be checked. If
delta
is determined to be illegal, this member should
return IloFalse
. Otherwise, it returns
IloTrue
.