FRAMES NO FRAMES

IloRelocateActivityNHood

public IloSchedulerLargeNHood IloRelocateActivityNHood(IloEnv env, IloComparator< IloActivity > comparator=0, IloPredicate< IloActivity > activity=0, const char * name=0)
Definition file: ilsched/ilolnsgoals.h
Include file: <ilsched/iloscheduler.h>

This funtion creates an activity neighborhood.

The optional parameter comparator is used to specify in which order the activities should be considered. When applied the comparator receives as argument the neighborhood.

The optional parameter predicate is used to specify which activities to consider. The size of this neighborhood is the number of activities in the current solution for which this predicate returns IloTrue. If the predicate is an empty handle, the size of this neighborhood is the number of activities in the current solution.

For more information, see Large Neighborhoods. In the IBM ILOG Solver Reference Manual, see the Selectors concept and IloComparator and IloPredicate.

See Also: