Download presentation

Presentation is loading. Please wait.

Published byIsabel Doherty Modified over 3 years ago

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
**Prof.Dr. Füsun Ülengin Distance Between the cities(km) City 1 City 2**

132 217 164 58 290 201 79 113 303 196 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 tiA 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 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
THE REDUCED MATRIX ( T0 ) A B C D E - 2 3 5 4 6 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

Similar presentations

OK

Transportation Model (Powerco) Send electric power from power plants to cities where power is needed at minimum cost Transportation between supply and.

Transportation Model (Powerco) Send electric power from power plants to cities where power is needed at minimum cost Transportation between supply and.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on indian national animal tiger Full ppt on electron beam machining videos Ppt on summary writing worksheet Ppt on non ferrous minerals and rocks Ppt on accounts payable process Ppt on pre ignition symptoms Ppt on area of parallelogram worksheet Ppt on the rise of nationalism in europe class 10 Ppt on advertisement Ppt on infrared remote control