| 1: |
InitialSolution ();
|
| 2: |
SelectFirstNeighborhood () |
| 3: |
while StoppingCriterionNotMet () do
|
| 4: |
RescheduleWithTrueTravelSpeeds ()
|
| 5: |
fordo
|
| 6: |
ifthen
|
| 7: |
|
| 8: |
else if NewRequestsPresent () then
|
| 9: |
InsertNewRequests () |
| 10: |
end if
|
| 11: |
end for
|
| 12: |
if HasChanged (P) then
|
| 13: |
SelectSampledAccidents () |
| 14: |
SelectCurrentIncumbent () |
| 15: |
AdaptSampleSize () |
| 16: |
end if
|
| 17: |
ShakeSolution () |
| 18: |
ifthen
|
| 19: |
|
| 20: |
end if
|
| 21: |
SelectNextNeighborhood () |
| 22: |
end while |