The size of this neighborhood is the number of activities of the problem.
For a given index, the set of selected scheduling objects is made of an single activity and all its associated resource constraints. The default behavior of this neighborhood is to restore the successors, the predecessors, the resource assignment and the capacity required of all resource constraints except the ones related to the activity selected: in other words, the setup, the teardown, the next and previous are not restored. Regarding the resource constraints of the selected activity, none of the decisions that are stored in the scheduler solution is restored. Lastly, the start times, end times, durations and the processing times of the activities are not restored.
The following line creates an instance of IloRelocateActivityNHood
with the default behavior described above.
IloSchedulerLargeNHood relocateActivities = IloRelocateActivityNHood(env);
|