Solution Of A Dual Problem
Solution Of A Dual Problem Assignment Help | Solution Of A Dual Problem Homework Help
Solution of A Dual Problem
Duality Principle. It either the primal or the dual problem has an optimum solution, then so does the other problem (dual or primal), and the optimal value of the prima’s objective function is the same as that of its dual.
The simplex procedure, studied earlier, will give us the optimum solution for both the primal and its dual problems simultaneously. To illustrate this, let’s consider the furniture manufacturer’s problem discussed in Example. The problem is to
Maximize Z = 20x1 + 30x2
subject to
3x1 + 3x2 ≤ 36
5x1 + 2x2 ≤ 50
2x1 + 6x2 ≤ 60
x1, x2 ≥ 0
The dual to the above problem is:
Minimize Z = 36y1 + 50y2 + 60y3
subject to
3y1 + 5y2 + 2y3 ≥ 20
3y1 + 2y2 + 5y2 ≥ 30
y1, y2, y3 ≥ 0
To show that an optimal solution to a primal problem can always provide the optimal solution to its dual and vice versa, well first solve the primal problem and then the dual problem.
Solution of the Primal Problem. Introducing slack variables in the above stated (primal) problem, the problem can be re-stated as
Maximize Z = 20x1 + 30x2 + 0s1 + 0s2 + 0s3
subject to
3x1 + 3x2 + s1 = 36
5x1 + 2x2 + s2 = 50
2x1 + 6x2 + s3 = 60
x1, x2,s1,s2,s3 ≥ 0
The final simplex tableau (of the primal problem) obtained earlier.
The simplex procedure, studied earlier, will give us the optimum solution for both the primal and its dual problems simultaneously. To illustrate this, let’s consider the furniture manufacturer’s problem discussed in Example. The problem is to
Maximize Z = 20x1 + 30x2
subject to
3x1 + 3x2 ≤ 36
5x1 + 2x2 ≤ 50
2x1 + 6x2 ≤ 60
x1, x2 ≥ 0
The dual to the above problem is:
Minimize Z = 36y1 + 50y2 + 60y3
subject to
3y1 + 5y2 + 2y3 ≥ 20
3y1 + 2y2 + 5y2 ≥ 30
y1, y2, y3 ≥ 0
To show that an optimal solution to a primal problem can always provide the optimal solution to its dual and vice versa, well first solve the primal problem and then the dual problem.
Solution of the Primal Problem. Introducing slack variables in the above stated (primal) problem, the problem can be re-stated as
Maximize Z = 20x1 + 30x2 + 0s1 + 0s2 + 0s3
subject to
3x1 + 3x2 + s1 = 36
5x1 + 2x2 + s2 = 50
2x1 + 6x2 + s3 = 60
x1, x2,s1,s2,s3 ≥ 0
The final simplex tableau (of the primal problem) obtained earlier.
C Basic Solution 20 30 0 0 0 Variable x1 x2 s1 s2 s3 |
20 x1 3 1 0 1/2 0 -1/4 0 s2 17 0 0 -13/6 1 3/4 30 x2 9 0 1 -1/6 0 1/4 |
Zj 330 20 30 5 0 5/2 Cj - Zj 0 0 -5 0 -5/2 |
The optimal solution (to the primal problem) is
x1 = 3, x2 = 9, s1 = 0, s2 = 17, s3 = 0 and Z = 330
Solution to the Dual Problem. To solve the dual problem by simplex method, the first step is to convert inequalities into equalities by subtracting two surplus variables (s1 and s2) and then adding two artificial variables (A1 and A2). The objective function and inequalities become:
Minimize Z = 36y1 + 50y2 + 60y3 +0s1 + 0s2 + 0s3 + MA1 + MA2
subject to
3y1 + 5y2 + 2y3 = s1 + A1 = 20
3y1 + 2y2 + 6y3 – s2 + A2 = 30
y1, y2, y3, s1, s2, A1, A2 ≥ 0
Solving this problem by simplex method, it can be verified that the final simplex tableau is:
C Basic Solution 36 50 60 0 0 M M Variable y1 y2 y3 s1 s2 A1 A2 |
36 y1 5 1 13/6 0 -1/2 -1/6 1/2 -1/6 60 y3 5/2 0 -3/4 1 1/4 -1/4 -1/4 1/4 |
Zj 330 36 33 60 -3 -9 3 9 Cj - Zj 0 17 0 3 9 M-3 M-9 |
The optimal solution to the dual problem is:
y1 =5, y2 = 0, y3 = 5/2, s1 = 0, s2 = 0 and Z = 330
If we now examine the two final tableaux, one as obtained in the primal problem and the other as obtained in the dual problem, we observe that 330 is the value of the objective function for both primal and dual, as it must be. Moreover, the solutions of both the problems (primal and its dual) are contained in either of the final tableau. In fact, the values in the Cj – Zj row under columns s1 and s2 of the final tableau of the dual are same as the values under the “Solution” column (corresponding to variables x1 and x2) in the final tableau of the primal problem. We further observe that magnitude of variables y1 and y3 are exactly the same as the entries (with signs reversed) in the Cj – Zj row under columns s1 and s3 of final tableau of the primal problem. The zero entry in the Cj – Zj row under column s2 of the final tableau of the primal problem shows that magnitude of the variable y2 should be zero as has been found in the optimal solution to the dual. Hence we may conclude that the solution to a primal problem can always provide solution to its dual and vice-versa.
For more help in Solution of A Dual Problem click the button below to submit your homework assignment