Download presentation

Presentation is loading. Please wait.

Published byIsabel Doherty Modified over 3 years ago

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

2
Prof.Dr. Füsun Ülengin 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)

3
Prof.Dr. Füsun Ülengin Distance Between the cities(km) City 1City 2City 3City 4City 5 City 1013221716458 City 2132029020179 City 32172900113303 City 41642011130196 City 558793031960

4
Prof.Dr. Füsun Ülengin 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.

5
Prof.Dr. Füsun Ülengin 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 c ij be the lenght of arc (i,j). Note that if arc (i,j) is replaced by arc (i,k) and (k,j), a length c ik + c kj –c ij is added to the subtour. Then we continue with this procedure until a tour is obtained.

6
Prof.Dr. Füsun Ülengin

7
TSP Model Formulation Minimize Subject to:

8
Prof.Dr. Füsun Ülengin 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) = r BA = min j A t Bj 0 + min j B t iA 0 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

9
Prof.Dr. Füsun Ülengin Example 1.Each value in the matrix is given in half- day. 2.It takes a half-day to visit a customer 3.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) 4.HOMEWORK :Suppose that the customer D can accept the salesman only on Friday morning. What delay this will cause in the current solution?

10
Prof.Dr. Füsun Ülengin THE REDUCED MATRIX ( T 0 ) ABCDE A-0023 B0-546 C23-60 D453-0 E0030-

11
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)

14
Prof.Dr. Füsun Ülengin Clarke-Wright Savings Approach(cnt.) The load to be delivered to each customer P i 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

15
Prof.Dr. Füsun Ülengin 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) P y and P z 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

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google