Transportation problem: Construction of starting solution 1: Unterschied zwischen den Versionen

Aus Operations-Research-Wiki
Wechseln zu: Navigation, Suche
[unmarkierte Version][unmarkierte Version]
Zeile 28: Zeile 28:
 
<br> <b>Example </b>
 
<br> <b>Example </b>
  
There is a company named <em> Physics Rules The World </em> which has 4 manufacturing bases. They produce high technology light amplification of stimulated emission of radiation, short LASER in Rom, Lissabon, Berlin and Moskau. An important furnisher is placed in Madrid, Istanbul and Peking.  
+
There is a company named <em> Physics Rules The World </em> which has 4 manufacturing bases. They produce high technology light amplification of stimulated emission of radiation, short LASER in Rome, Lisbon, Berlin and Moscow. An important furnisher is placed in Madrid, Istanbul and Peking.  
 
The following cost matrix is depending on the distance between the place of supply and the place of demand. In addition there are a few possibilities to send the material like by truck, plane or train. That is why the shortest distance doesn’t have to be the possibility with the shortest costs.
 
The following cost matrix is depending on the distance between the place of supply and the place of demand. In addition there are a few possibilities to send the material like by truck, plane or train. That is why the shortest distance doesn’t have to be the possibility with the shortest costs.
  
Zeile 54: Zeile 54:
 
[[Datei:OR_Englisch1a.jpg]]
 
[[Datei:OR_Englisch1a.jpg]]
  
<br> At first searching the cost minimal field gives Madrid /Lissabon with 15 per unit. The maximal quantity which you can place there is 60 restricted by the row. Then you are finishing the according column and place 15 to Istanbul/Lissabon. After that move on with the row, Istanbul/Moskau gets 25. There is only Peking remaining yet. Next you send 25 from Peking to Moskau, then 30 Peking/Berlin and at last step to complete supply= demand Pekings /Rom 45.
+
<br> At first searching the cost minimal field gives Madrid /Lisbon with 15 per unit. The maximal quantity which you can place there is 60 restricted by the row. Then you are finishing the according column and place 15 to Istanbul/Lissabon. After that move on with the row, Istanbul/Moscow gets 25. There is only Peking remaining yet. Next you send 25 from Peking to Moscow, then 30 Peking/Berlin and at last step to complete supply= demand Pekings /Rome 45.
  
 
<br> <b> 6. Frequency method by Habr: </b>
 
<br> <b> 6. Frequency method by Habr: </b>
Zeile 78: Zeile 78:
 
[[Datei:OR_Englisch2a.jpg]]
 
[[Datei:OR_Englisch2a.jpg]]
  
<br> After that we have to use the matrix minimum method. That is why we add the highest possible quantity to the field with the lowest costs. So at first  Moskau/ Istanbul with the costs of -330 gets 40. Then Istanbul can’t send quantity anymore. The next lowest element is Peking/Berlin. We store the possible 30. Berlin is finished now. Go on with Madrid/ Lissabon and store 60. Madrid is closed now. The remaining quantity has to be in the row of Peking to fulfil supply=demand.
+
<br> After that we have to use the matrix minimum method. That is why we add the highest possible quantity to the field with the lowest costs. So at first  Moscow/ Istanbul with the costs of -330 gets 40. Then Istanbul can’t send quantity anymore. The next lowest element is Peking/Berlin. We store the possible 30. Berlin is finished now. Go on with Madrid/ Lisbon and store 60. Madrid is closed now. The remaining quantity has to be in the row of Peking to fulfil supply=demand.
 
<br> Solution tableau
 
<br> Solution tableau
  
 
[[Datei:OR_Englisch3a.jpg]]
 
[[Datei:OR_Englisch3a.jpg]]

Version vom 23. Juni 2013, 09:46 Uhr

Transportation problem: Find an initial solution


Introduction

The transportation problem is a general problem for every company, especially in logistics, to get a balance between supply and demand quantity. That means, you have j locations which need the product x and i locations which could send it to each of these. The supply quantity is declared by the variable ai, the quantity of demand by the variable bj. A necessary condition for this is that the total supply is equal to the total demand. Furthermore the problem consists of an allocation of the quantity in a cost minimal way. That shows basically the theoretical problem.


Mathematical formulation of a general transportation problem


ai : supply quantity at location i (i=1,…,m)
bj : demand quantity at location j (j=1,…,n)
cij :transportation cost per unit from supply location i to demand location j
xij : transportation quantity from i to j


Minimize K=∑i ∑j cij*xij
∑j xij = ai for every i
∑i xij = bj for every j
xij ≥ 0 for every i,j
A solution only exists, if ∑i ai = ∑j bj


Example

There is a company named Physics Rules The World which has 4 manufacturing bases. They produce high technology light amplification of stimulated emission of radiation, short LASER in Rome, Lisbon, Berlin and Moscow. An important furnisher is placed in Madrid, Istanbul and Peking. The following cost matrix is depending on the distance between the place of supply and the place of demand. In addition there are a few possibilities to send the material like by truck, plane or train. That is why the shortest distance doesn’t have to be the possibility with the shortest costs.

Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


In the following part we explain you the possibilities to find an initial solution.

    1. North-West corner method
    2. Simple row sequence
    3. Row-column succession
    4. Matrix-Minimum method
    5. Cost difference method
    6. Frequency method
    7. Modified North-West corner method 


3. Row-column succession:

Order of steps:
1. Allocate the cheapest field of the whole matrix the highest possible quantity.
2. The next cheapest field in row or column should get the remaining quantity.
3. Move forward till every demand is tiled.


Because of the order is depending on the lowest costs it shows a good approximation to the optimal solution.

Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


At first searching the cost minimal field gives Madrid /Lisbon with 15 per unit. The maximal quantity which you can place there is 60 restricted by the row. Then you are finishing the according column and place 15 to Istanbul/Lissabon. After that move on with the row, Istanbul/Moscow gets 25. There is only Peking remaining yet. Next you send 25 from Peking to Moscow, then 30 Peking/Berlin and at last step to complete supply= demand Pekings /Rome 45.


6. Frequency method by Habr:


The frequency method considers the interdependence of costs. In addition a modified matrix minimum method is part of this algorithm. In the most cases the results of frequency method are adequate solution and nearly optimal. The problem of this method is based on the time which you need to determine the modified matrix. You get this modified matrix by following this mathematical formulation.


kij= m*n*cij-n*∑ cpj -m∑ciq+∑∑cpq


∑ cpj from p=1 to m
∑ciq from q=1 to n


∑∑cpq combined by both, is adding all fields of the matrix
i = row ; j= column
m = number of rows; n= number of columns;


Example:
k11= 3*4*20- 4*(20+30+40) -3*(20+15+25+60)+ (20+15+25+50+30+35+60+20+40+55+35+80) = 240-360-360+465= -15
k21= 3*4*30- 4*(20+30+40) -3*( 30+35+60+20) +465= 30


The remaining kij are defined by using the mathematical formulation for every element.
Modified matrix of the costs

Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


After that we have to use the matrix minimum method. That is why we add the highest possible quantity to the field with the lowest costs. So at first Moscow/ Istanbul with the costs of -330 gets 40. Then Istanbul can’t send quantity anymore. The next lowest element is Peking/Berlin. We store the possible 30. Berlin is finished now. Go on with Madrid/ Lisbon and store 60. Madrid is closed now. The remaining quantity has to be in the row of Peking to fulfil supply=demand.
Solution tableau

Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden