|
|
Revision:Transportation AlgorithmTSR Wiki > Study Help >Subjects and Revision > Revision Notes > Mathematics > Transportation Algorithm
The Transportation AlgorithmThese notes carry on from Transportation Problems. In the worked example, we will use the table introduced there: In order to find an optimal solution, ther are three parts:
North-West CornerThe North-West Corner method is a way of finding an initial solution. Step One: Start in the North-West (Top-Left) corner Step Two: When you are in a cell, place the maximum possible number there without making the row or column total exceed the row or column total respectively. Step Three: If you have not reached the South-East corner, then move onto the next step by either moving one step right (if you completed the column) or one step down (if you completed the row) If we use the North-West corner rule on our initial table, we get: The Optimality CheckThis optimality condition works if, and only if occupied cells = number of rows + number of columns − 1. If this is not the case, then you should add a zero into one of the unoccupied cells. The optimality condition works by creating "shadow costs". This means that for each bakery, we work out a cost for delivering a loaf from it; an for each warehouse we work out a cost for delivering a loaf to it. First, you must work out a set of equations: To find values for each of these, we let one of the values be equal to zero. We could choose a non-zero value, but then all that would happen is our R values would be one higher, and K values one less (or vice versa). We can work out from that: Using the values we've got, we can work out how much we expect each transport route to cost. However, if any one of our routes costs less than using these shadow costs, then a transportation pattern using that route would be better than this. To find out whether any routes are cheaper, we equate an "Improvement Index" for each unoccupied cell, defined as Where Let us work this out for cell (1,2) This is positive, so using this route would increase our costs, rather than decrease them. The other improvement indices can be worked out similarly: If an improvement index equals 0, then a route using that would cost the same as a current route. If an improvement index is negative, then using a route using that cell would be cheaper. If all improvement indices are positive or zero, then our distribution is optimal. The Stepping Stone MethodWe know that by using cell (3,1) we will reduce the cost of our transportation. Therefore, we want to use it to transport as much as possible. We do this using the 'stepping stone technique' First, we let
in a row or column.
direction from horizontal to vertical movement and vice versa.
Below, my cycle is marked in red. Since we are using this cycle to maximise
From this table, it is clear to see the maximum value of
This is our improved table. Using the improvement indices we can use to see if it is optimal. Unbalanced ProblemsFor information on unbalanced transportation problems, go to Revision Notes: Unbalanced Transportation Problems |