1 / 15

Vehicle Routing:

Vehicle Routing:. Coincident Origin and Destination Points Travelling Salesman problem Heuristics Little et al. Algorithm Vehicle Scheduling Clark and Wright Saving Approach. Heuristics. Some of the well-known heuristics Nearest- neighbor Heuristics (NNH)

phyre
Télécharger la présentation

Vehicle Routing:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Vehicle Routing: • Coincident Origin and Destination Points • Travelling Salesman problem • Heuristics • Little et al. Algorithm • Vehicle Scheduling • Clark and Wright Saving Approach Prof.Dr. Füsun Ülengin

  2. Heuristics • Some of the well-known heuristics • Nearest- neighbor Heuristics (NNH) • Cheapest insertion Heuristics (CIH) • Neural networks (meta heuristics) • Lets analyse the first two through an example (see the next slide) Prof.Dr. Füsun Ülengin

  3. Distance Between the cities(km) City 1 City 2 City 3 City 4 City 5 City 1 0 132 217 164 58 City 2 132 0 290 201 79 City 3 217 290 0 113 303 City 4 164 201 113 0 196 City 5 58 79 303 196 0 Prof.Dr. Füsun Ülengin

  4. Nearest- Neighbor Heuristics (NNH) • We begin at any city and then “visit” the nearest city. • Then we go to the unvisited city closest to the city we have most recently visited • We continue in this fashion until a tour is obtained • A popular heuristic is to apply the NNH beginning at each city and then take the best tour obtained. Prof.Dr. Füsun Ülengin

  5. Cheapest Insertion Heuristics (CIH) • We begin at any city and find its closest neigbor • The we create a subtour joining those two cities • Next, we replace an arc in the subtour (say, arc (i,j)) by the combination of two arcs- (i,k) and (k,j), where k is not in the current subtour-that will increase the length of the subtour by the smallest (or cheapest amount). • Let cij be the lenght of arc (i,j). • Note that if arc (i,j) is replaced by arc (i,k) and (k,j), a length cik + ckj –cij is added to the subtour. • Then we continue with this procedure until a tour is obtained. Prof.Dr. Füsun Ülengin

  6. Prof.Dr. Füsun Ülengin

  7. TSP Model Formulation • Minimize • Subject to: Prof.Dr. Füsun Ülengin

  8. Little et al. Algorithm • 1. Begin by transforming the T matrix into a reduced form in such a way that the matrix will have at least one zero in each row and in each column • The sum of the subtracted elements will constitute an upper bound for the objective function • 2. For each pair of nodes (i, j) calculate the regret of not going from i to j • For example the regret of (B,A) = • rBA = minj≠ A tBj 0 + min j ≠ B tiA0 • 3. Among the elements having zero balue, select the one having the highest regret; i.e the one that will make the highest increase in the objective function if it is not included in the Hamiltonian cycle • 4. At each iteration, make the necessary arrangements to avoid subtours and be sure take the resulting matrix is in the reduced form. matrix Prof.Dr. Füsun Ülengin

  9. Example • Each value in the matrix is given in “half- day”. • It takes a half-day to visit a customer • Assuming that the traveling salesman does not work on Sunday and that his first day of travel is a Wednesday , which is the first day of the month, what is his earliest possible return date to home (A) • HOMEWORK :Suppose that the customer D can accept the salesman only on Friday morning. What delay this will cause in the current solution? Prof.Dr. Füsun Ülengin

  10. A B C D E A - 0 0 2 3 B 0 - 5 4 6 C 2 3 - 6 0 D 4 5 3 - 0 E 0 0 3 0 - THE REDUCED MATRIX ( T0 ) Prof.Dr. Füsun Ülengin

  11. Prof.Dr. Füsun Ülengin

  12. Prof.Dr. Füsun Ülengin

  13. Vehicle Scheduling :Clarke-Wright savings approach 1.Initially, assume that enough vehicles are available and allocate one to a customer. For our example we will assume that we have 3 tucks of 5,000- gallon capacity, 4 trucks of 6,000-gallon capacity and an unlimited supply of 4,000- gallon capacity. One truck of the smallest capacity is initially allocated to each customer and provides an initial feasible solution of the problem 2. For hand computation, set up a matrix (see the distributed sheet) Prof.Dr. Füsun Ülengin

  14. Clarke-Wright Savings Approach(cnt.) • The load to be delivered to each customer Pi is listed in column q. The right-hand value in each cell is the distance dy,z between Py and Pz, where y and z are specific customers. The left-hand value represents the savings Sy,z in distance associated with Py and Pz when Py enters the tour. • The value in the middle of the cell ty,z indicates whether the customer combinations Py and Pz are in the tour. The dsignatorhas the following values: • t y,z = 1 is two customers are linked on a truck route • t y,z = 0 if the customers are not linked on a truck route • t y,z = 2 if the customer is served exclusively by a single truck • For ease of computation, the matrix is ordered from left to right on the basis of increasing savings S y,z Prof.Dr. Füsun Ülengin

  15. Clarke-Wright Savings approach(cnt.) 3. Search the matrix for the largest savings subject to the following conditions for any cell (y,z,) A) t y,0 and t z,o are >0 B) Py and Pz are not already on the same truck run C) By this allocation you do not exceed the capacity of the trucks available 4. Make the necessary changes in the t values of the combined tours See the distributed sheet Prof.Dr. Füsun Ülengin

More Related