Complementary slackness and the transportation problem

  • Thread starter Thread starter catcherintherye
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around the transportation problem, specifically focusing on the application of complementary slackness conditions within the context of linear programming. Participants are examining the relationships between primal and dual variables in the problem setup, including the implications of supply equaling demand.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the use of the northwest vertex rule to find a basic feasible solution and the formulation of the dual program. There are inquiries about the implications of complementary slackness and the challenges faced when assuming dual variables to be zero. Questions arise regarding the interpretation of dual variables and the conditions under which demand equals supply.

Discussion Status

The discussion is active, with participants exploring various interpretations of the problem and questioning assumptions about the dual variables and the relationship between supply and demand. Some guidance has been offered regarding the nature of dual variables, but no consensus has been reached on the implications of the constraints.

Contextual Notes

Participants are working under the assumption that supply equals demand, which raises questions about the feasibility of certain dual variable assumptions. The constraints of the problem and the definitions of the variables are also under scrutiny.

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?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 16 ·
Replies
16
Views
1K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K