Complementary slackness and the transportation problem

  • Thread starter Thread starter catcherintherye
  • Start date Start date
catcherintherye
Messages
47
Reaction score
0
hello,I have been given the transportation problem (T)

defined by the cost matrix
<br /> \left(\begin{array}{ccccccc}5&amp;3&amp;9&amp;3&amp;8&amp;2\\5&amp;6&amp;3&amp;15&amp;7&amp;16\\9&amp;20&amp;10&amp;22&amp;17&amp;25\\3&amp;7&amp;3&amp;14&amp;9&amp;14\end{array}\right)<br />


the demand vector q=(2,8,9,4,6,2)

the supply vector p=(3,13,6,9)

the problem is as follows

a) use the northwest vertex rule to find a basic feasible solution of (T)

...this i found to be

<br /> \left(\begin{array}{ccccccc}2&amp;1&amp;0&amp;0&amp;0&amp;0\\0&amp;7&amp;6&amp;0&amp;0&amp;0\\0&amp;0&amp;3&amp;3&amp;0&amp;0\\0&amp;0&amp;0&amp;1&amp;6&amp;2\end{array}\right)<br />



(b) write down the linear program for the dual program (T*)

...this i found to be

(T*)

<br /> maximize \sum_{i=1}^{4}p_i y_i + \sum_{j=1}^{6}q_j z_j <br />

subject to
<br /> \\ y_i + z_j \leq c_ij, y_1,...,y_4,z_1,...z_6,<br />

(c) use the complementary slackness conditions to show that the shipping matrix

<br /> \left(\begin{array}{ccccccc}0&amp;0&amp;0&amp;1&amp;0&amp;2\\0&amp;7&amp;0&amp;0&amp;6&amp;0\\2&amp;0&amp;4&amp;0&amp;0&amp;0\\0&amp;1&amp;5&amp;3&amp;0&amp;0\end{array}\right)<br />

solves (T)

now since i have
x_i_j &gt; 0

for (i,j) = (1,4), (1,6), (2,2), (2,5), (3,1), (3,3), (4,2), (4,3), (4,4) complementary slackness implies that the associated dual constraints are binding and we have a system of nine equations in 10 unknowns. Now here is the rub. I would usually progress by substituting the above values (from the shipping matrix) into the primal constraints and derive that one of them is non binding, then deduce that the associated dual variable is zero by complementary slackness. However since we have here supply=demand, no such constraint will occur. I have done a similar problem where the next progression was to assume that one of the dual variables say y_1 is 0 and then the system of nine equalities from above are solvable, however if as an example i take y_1 =0, this implies that z_3 =-8 which is infeasible. In fact as it turned out assuming any dual variable y_1, ...y_4, z_1,...,z_6 to be zero will lead to another dual vaiable in the system being negative. What am I missing:confused:


 
Physics news on Phys.org
What is the interpretation or the units of the y's and the z's? Miles? Tons?
 
i don't think so, the variables y_i, z_j are dual variables, i don't think they have units as such. The primal problem was to minimize cost subject to some constraints, more specifically,
<br /> <br /> minimize \sum_{i=1}^{4}\sum_{j=1}^{6}c_ij x_ij

subject to
x_ij \geq 0<br /> <br /> \sum_{j=1}^{6}x_ij \leq p_i, i= 1,...,4<br /> \sum_{i=1}^{4}x_ij \geq q_j, j=1,...,6
 
Last edited:
How do you figure demand = supply? Is that part of the problem, or are you assuming it? Why can't demand < supply, or demand > supply?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...

Similar threads

Back
Top