MODI method

from Wikipedia, the free encyclopedia

The modified distribution method ( MODI method ), also known as the potential method , uv method or transport algorithm, is a numerical method with which (given a given initial basic solution ) a standard transport problem can be optimally solved.

Procedure

There is a certain number of providers and a certain number of recipients for a good . In the standard case, the total amount requested is equal to the total offered. There are costs for the transport of a unit between and . The problem is to determine the quantity delivered from to in such a way that the overall transport costs are minimized.

Since this is an improvement method , a permissible initial basic solution is first determined using an opening method (e.g. the matrix minimum method , the north-west corner method or Vogel's approximation method ) . Variables of the basic solution, which were initially set to zero in the opening procedure, are the non- basic variables , the rest are the basic variables of the underlying system of equations. The MODI method then iteratively reduces the total costs by replacing a non-basic variable with a basic variable. If no further improvement can be achieved, an optimal solution has been found.

The optimization process is carried out iteratively. In each step, all non-basic variables are checked with regard to the cost reduction potential. For each non-basic variable it is analyzed by which value the total costs would change if a unit of the good were to be transported from to . For this purpose, the cost change is also calculated for the cell of each non- basic variable, with the and iteratively calculated with the equation beforehand and exactly one or equal to zero being set and only corresponding costs of basic variables being used for the calculation.

If it is positive, this would lead to an increase in the total costs, if it is zero, the total costs would not change. In order to arrive at the optimal solution with as few iterations as possible, the non- basic variable with the most negative is included as the new basic variable. For this purpose, an elementary circle is determined for the associated cell of the transport table together with the cells of the basic variables . The cells to form an elementary circle if two consecutive cells and lie in the same row or column of the tableau and there are at most two cells of the elementary circle in each column and row. Let us now determine the cells of the basic variables, which together with the cell describe an elementary circle. Now, as with the Stepping Stone method, the value is alternately subtracted from the first basic variable along the elementary circle and added to the next basic variable until the cell is reached. It is the smallest value of the basic variables, one of which is to be subtracted. This basic variable becomes a new non-basic variable and is replaced by with value in the new basic solution. The process is repeated until all (to be determined anew in each iteration) are greater than or equal to zero, i.e. the total costs can no longer be reduced and the solution is therefore optimal.

Remarks

  • If the total quantity demanded is less than the total quantity offered , the transport problem can be transformed into a standard transport model and thus also solved with the MODI method by introducing a fictitious demander who asks for the excess supply and has transport costs for all providers .
  • If, in the optimal solution, a possible change in costs when including the variable is zero, this means that the value of the associated non-basic variable can be exchanged for that of a basic variable without the total costs changing and the optimal solution therefore not being clear.
  • A similar method for improving an initial basic solution and finding the optimal solution is the stepping stone method . The cost changes are determined with more computational effort (but identical values) than with the MODI method.
  • If there are more than one negative , the associated non-basic variable that leads to a maximum improvement in the total cost can be selected instead of the largest in terms of amount, or one of them can be selected at random.

example

There is the following transport problem, summarized in a table, in which the providers and the quantities offer 12 or 8 and three buyers , and the quantities 4, 10 and 6 are requested. In the table on the left, the denotes the quantity to be delivered from to . The table on the right contains the costs that arise for the transport of a unit from to .

The north-west corner procedure is used as the opening procedure . This results in the following, not yet optimal, initial solution:

To determine the and the costs of the basic variables are required:

Add to it . With and the cost of basic variables can now be represented by the formula , the value of compute: . With and now can calculate: . And can also now be calculated. With the and and from the above cost table, the formula can now be used to calculate the cost change that results from the transport of one unit via the non-base variables :

So is and . So with both there would be a cost reduction. Since the savings are greater, we choose this non-basic variable and determine the elementary circle for the cell . This is and . A maximum of two units can now be transported over, otherwise it would be negative: the two units are now alternately added or subtracted along the elementary circle. The basic variables and non- basic variables are :

Now you have to calculate again as above with the costs from the above table of the basic variables and by setting the others and with the formula :

With the , and the cost changes and can now be calculated again: and analogously . By transporting a unit over , a cost reduction can be achieved again. The elementary circle to the cell is: and . So again a maximum of two units (paths ) can be shifted along the elementary circle and the new basic solution is created:

Now for the determination of and the and must be determined again. This is repeated until in one iteration all of them are not negative and thus an optimal solution, or if all are greater than zero, the optimal solution has been found. The result is the same solution as in the example for the stepping stone method .