Research Article

Single-Commodity Vehicle Routing Problem with Pickup and Delivery Service

Algorithm 1

(IMSA) algorithm.
1. lnitialize( , , , , )
2. lnitialSolution( );
3. while (Feasible(x) == FALSE )
4. InitialSoiution( );
5. minDist = Dist(x);
6. for (nCounts = ; nCounts > 0; nCounts )
7. for (nChanges = ; nChanges > 0; nChanges )
8. for ( , ; ( ) && ( )); k ++, )
9. for ( ; ; z ++)
10. RandomNeighborSequence(x, nChanges);
11. if (Feasible(y)== TRUE)
12. minDist − Dist(y);
13. if ( ) > 1.0)
14. ;
15. if (RandomNumber([0,1]) <= p)
16. if ( )
17. ;
18. minDist = Dist(x);