|
|||||||||||||||||||||||||||||||||
subject to | |||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
and x1,x2,x3≥0; unrestricted in sign |
In order to apply the dual simplex method, convert Min Z to Max Z
and all ≥ constraint to ≤ constraint by multiply -1.
Problem is
|
|||||||||||||||||||||||||||||||||
subject to | |||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
and x1,x2,x3≥0; unrestricted in sign |
The problem is converted to canonical form by adding slack, surplus
and artificial variables as appropriate
1. As the constraint-1 is of type '≤' we should add slack variable
S1
2. As the constraint-2 is of type '≤' we should add slack variable
S2
3. As the constraint-3 is of type '≤' we should add slack variable
S3
After introducing slack variables
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
subject to | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
and x1,x2,x3,S1,S2,S3≥0 |
Iteration-1 | Cj | -8 | -4 | -16 | 0 | 0 | 0 | |
B | CB | XB | x1 | x2 | x3 | S1 | S2 | S3 |
S1 | 0 | -16 | -2 | (-2) | -3 | 1 | 0 | 0 |
S2 | 0 | -14 | -3 | -1 | -4 | 0 | 1 | 0 |
S3 | 0 | -12 | -3 | -1 | -5 | 0 | 0 | 1 |
Z=0 | Zj | 0 | 0 | 0 | 0 | 0 | 0 | |
Zj-Cj | 8 | 4 | 16 | 0 | 0 | 0 | ||
Ratio=Zj-Cj /
S1,j and S1,j<0 |
-4 | -2↑ | -5.3333 | --- | --- | --- |
Minimum negative XB is -16 and its row index is
1. So, the leaving basis variable is S1.
Maximum negative ratio is -2 and its column index is 2. So, the
entering variable is x2.
∴ The pivot element is -2.
Entering =x2, Departing =S1, Key Element
=-2
R1(new)=R1(old)÷(-2)
R2(new)=R2(old) + R1(new)
R3(new)=R3(old) + R1(new)
Iteration-2 | Cj | -8 | -4 | -16 | 0 | 0 | 0 | |
B | CB | XB | x1 | x2 | x3 | S1 | S2 | S3 |
x2 | -4 | 8 | 1 | 1 | 3/2 | -1/2 | 0 | 0 |
S2 | 0 | -6 | (-2) | 0 | -5/2 | -1/2 | 1 | 0 |
S3 | 0 | -4 | -2 | 0 | -7/2 | -1/2 | 0 | 1 |
Z=-32 | Zj | -4 | -4 | -6 | 2 | 0 | 0 | |
Zj-Cj | 4 | 0 | 10 | 2 | 0 | 0 | ||
Ratio=Zj-Cj /
S2,j and S2,j<0 |
-2↑ | --- | -4 | -4 | --- | --- |
Minimum negative XB is -6 and its row index is 2.
So, the leaving basis variable is S2.
Maximum negative ratio is -2 and its column index is 1. So, the
entering variable is x1.
∴ The pivot element is -2.
Entering =x1, Departing =S2, Key Element
=-2
R2(new)=R2(old)÷(-2)
R1(new)=R1(old) - R2(new)
R3(new)=R3(old) + 2R2(new)
Iteration-3 | Cj | -8 | -4 | -16 | 0 | 0 | 0 | |
B | CB | XB | x1 | x2 | x3 | S1 | S2 | S3 |
x2 | -4 | 5 | 0 | 1 | 1/4 | -3/4 | 1/2 | 0 |
x1 | -8 | 3 | 1 | 0 | 5/4 | 1/4 | -1/2 | 0 |
S3 | 0 | 2 | 0 | 0 | -1 | 0 | -1 | 1 |
Z=-44 | Zj | -8 | -4 | -11 | 1 | 2 | 0 | |
Zj-Cj | 0 | 0 | 5 | 1 | 2 | 0 | ||
Ratio | --- | --- | --- | --- | --- | --- |
Since all Zj-Cj≥0 and all
XBi≥0 thus the current solution is the
optimal solution.
Hence, optimal solution is arrived with value of variables as
:
x1 = 3
x2 = 5
x3 = 0
Max Z = -44
∴ Min Z = 44
Use duality to solve problem 4 4. Minimize z-8x1 + 4x2 + 16x3 subject to 2x1 + 2x2 + 3x3 216 3x1 ...
8. Minimize z - 8x1 + 6x2 + 11x3 subject to 5x1 x2 + 3x3 s 4 5x1 + x2 + 3x3 2 2 2x, + 4x2 + 7x3 s.5 2x1 + 4x2 + 7x3 2 3 X1 + X2 + X3 = 1 (a) State the dual problem. (b) Solve both the primal and the dual problem with any method that works. (c) Check that your optimal solutions are correct by verifying they are feasible and the primal and...
Solve the problems: 1. x2 x33. 2. 2x, + 2x1 + 4x2-3x3 → min. 8x1 3x2 + 3x3 3 40, x2 20. 3. xi + X2 = 1, x120, x120. Solve the problems: 1. x2 x33. 2. 2x, + 2x1 + 4x2-3x3 → min. 8x1 3x2 + 3x3 3 40, x2 20. 3. xi + X2 = 1, x120, x120.
2. Solve the LPP by the dual simplex method Minimize: z = 3x1 + 2x2 Subject to:: x1 + x2 > 1 4x1 + x2 > 2 -X1 + 2x2 < 6 Xi > 0, i=1,2
Consider the following problem: Maximize z+ 2x1+5x2+3x3 subject to x1-2x2+3x3>=20, and 2x1+4x2+x3=50 using the Big-M and two phase method.
Problem 5: a) (2 Points) Using the two-phase simplex procedure solve Minimize 3X1 + X2 + 3X3-X4 Subject to 1 2.x2 - ^3 r4 0 2x1-2x2 + 3x3 + 3x4 9 T1, x2, x3, x4 2 0. b) (2 Points) Using the two-phase simplex procedure solve Minimize Subject to x1+6x2-7x3+x4+5x5 5x1-4x2 + 132:3-2X4 + X5-20 X5 〉 0.
Min Z = 6X1 + 4x2 Subject to Xi + 2x2 > 2 -X1 + 2x2 5 4 3x1 + 2x2 < 12 X1, X2 > 0
(a) State the dual problem. (b) Solve both the primal and the dual problem with any method that works. (c) Check that your optimal solutions are correct by verifying they are feasible and the primal and dual objective functions give the same value. 9. Minimize z subject to 4x1 + x2 + x3 + 3x4 2x, + x2 + 3x3 + x4 2 12 3xi + 2x2 + 4x3 2x1-x2 + 2x3 + 3x4-8 3x1 + 4x2 + 3x3 х,2...
Linear programming question minimize 2x1 + 322 + 423, subject to 3x1-4x2-5x3 2 6, x1 +x2 +x3 = 10 Eliminate the equality constraint by replacing r in terms of ri, 22, and convert it into an equivalent LP with only inequality constraints. Then find a minimizer(エ4,2 for this LP.
(a) State the dual problem. (b) Solve both the primal and the dual problem with any method that works. (c) Check that your optimal solutions are correct by verifying they are feasible and the primal and dual objective functions give the same value. 8. Minimize z -8x1 + 6x2 + 11x3 subject to 5x1 x2 + 3x3 s 4 5x1 + x2 + 3x3「2 2x1 + 4x2 + 7x3 s.5 2x1 + 4x2 + 7x3 2 3 x1 + x2...
6, Maximize z = 2x1 + x2 + 3x3 subject to x 3x2 5x3 s 10 2x x 20, x, 0, x320. (a) State the dual problem. (b) Solve both the primal and the dual problem with any method that works. (c) Check that your optimal solutions are correct by verifying they are feasible and the primal and dual objective functions give the same value. 6, Maximize z = 2x1 + x2 + 3x3 subject to x 3x2 5x3 s...