Using Simplex method,
|
||||||||||||||||||||||
subject to | ||||||||||||||||||||||
|
||||||||||||||||||||||
and x1,x2,x3≥0; |
The problem is converted to
canonical form by adding slack, surplus and artificial variables as
appropiate
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
After introducing slack variables
|
||||||||||||||||||||||||||||||||||
subject to | ||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
and x1,x2,x3,S1,S2≥0 |
Iteration-1 | Cj | 5 | 3 | 1 | 0 | 0 | ||
B | CB | XB | x1 | x2 | x3 | S1 | S2 | MinRatio XBx1 |
S1 | 0 | 6 | 1 | 1 | 1 | 1 | 0 | 61=6 |
S2 | 0 | 15 | (5) | 3 | 6 | 0 | 1 | 155=3→ |
Z=0 | Zj | 0 | 0 | 0 | 0 | 0 | ||
Zj-Cj | -5↑ | -3 | -1 | 0 | 0 |
Negative minimum Zj-Cj is -5 and its column index is 1. So, the entering variable is x1.
Minimum ratio is 3 and its row index is 2. So, the leaving basis variable is S2.
∴ The pivot element is 5.
Entering =x1, Departing =S2, Key Element =5
R2(new)=R2(old)÷5
R2(old) = | 15 | 5 | 3 | 6 | 0 | 1 |
R2(new)=R2(old)÷5 | 3 | 1 | 0.6 | 1.2 | 0 | 0.2 |
R1(new)=R1(old) - R2(new)
R1(old) = | 6 | 1 | 1 | 1 | 1 | 0 |
R2(new) = | 3 | 1 | 0.6 | 1.2 | 0 | 0.2 |
R1(new)=R1(old) - R2(new) | 3 | 0 | 0.4 | -0.2 | 1 | -0.2 |
Iteration-2 | Cj | 5 | 3 | 1 | 0 | 0 | ||
B | CB | XB | x1 | x2 | x3 | S1 | S2 | MinRatio |
S1 | 0 | 3 | 0 | 0.4 | -0.2 | 1 | -0.2 | |
x1 | 5 | 3 | 1 | 0.6 | 1.2 | 0 | 0.2 | |
Z=15 | Zj | 5 | 3 | 6 | 0 | 1 | ||
Zj-Cj | 0 | 0 | 5 | 0 | 1 |
Since all Zj-Cj≥0
Hence, optimal solution is arrived
with value of variables as :
x1=3,x2=0,x3=0
Max Z=15
Problem #7: Consider the linear program st. max z = 5x, + 3x2 + xz x...
Consider the linear program max z = 5x, + 3x2 + xz st. x + x₂ + x₂ <6 5xı + 3x2 +6xz S15 X, X2, X, 20 and an associated tableau Z X1 X2 X3 S1 S2 RHS 1 0 0 5 0 1 15 0 0 0.4 -0.2 1 -0.2 3 0 1 0.6 1.2 0 0.2 3 (a) What basic solution does this tableau represent? Is this solution optimal? Why or why not? (b) Does this tableau...
d) Given the primal problem Max z= 8x/+3x2+xz Subject to: x;+6x,+8x3<118 X, + 5x+10x<240 X1, X2,X3, 20 Write down its problem (5 marks) dual Question Nine R=622 R4 2 02. V-24V R = 422. R5=2.522. (a) What are the voltage across and the current in each of the resistors Ri through Rs in figure above? (6 Marks) (b) How much power is dissipated in R.? (4 marks)
1. (20 pts.) Consider the following linear program: max 4x4 +xz+5x3 +3x4 s.t. *1 -X2 -X3 +3X, 51 5x +xz+3X3 +8X555 -X2 +2x2+3x3 -5x53 It is claimed that the solution x* = (0,14,0,5) is an optimal solution to the problem. Give a proof of the claim. Do not use the simplex method to solve this problem.
Consider the following linear programming model Max 2X1 + 3X2 Subject to: X1 + X2 X1 ≥ 2 X1, X2 ≥ 0 This linear programming model has: A. Infeasible solution B. Unique solution C. Unbounded Solution D. Alternate optimal solution E. Redundant constraints
SOLVE STEP BY STEP! 4. Consider the following LP: Minimize z = x; +3x2 - X3 Subject to x + x2 + x2 > 3 -x + 2xz > 2 -x + 3x2 + x3 34 X1 X2,43 20 (a) Using the two-phase method, find the optimal solution to the primal problem above. (b) Write directly the dual of the primal problem, without using the method of transformation. (c) Determine the optimal values of the dual variables from the optimal...
Problem #5 -- Consider the following linear programming problem: Maximize Z = 2x1 + 4x2 + 3x3 subject to: X1 + 3x2 + 2x3 S 30 best to X1 + x2 + x3 S 24 3x1 + 5x2 + 3x3 5 60 and X120, X220, X3 2 0. You are given the information that x > 0, X2 = 0, and x3 >O in the optimal solution. Using the given information and the theory of the simplex method, analyze the...
Given the LPP: Max z=-2x1+x2-x3 St: x1+x2+x3<=6 -x1+2x2<=4 x1,x2<=0 What is the new optimal, if any, when the a) RHS is replaced by [3 4] b) Column a2 is changed from[1 2] to [2 5] c) Column a1 is changed from[1 -1] to [0 -1] d) First constraint is changed to x2-x3<=6 ? e) New activity x6>=0 having c6=1 and a6=[-1 2] is introduced ?
please Solve This!! Consider a maximization problem with the optimal tableau in Table 73. The optimal solution to this LP is z = 10, x3 = 3, x4 = 5, x1 = x2 = 0. Determine the second-best bfs to this LP. (Hint: Show that the second-best solution must be a bfs that is one pivot away from the optimal solution.) TABLE 73 z X1 X2 X3 X4 rhs 1 2 10 10 10 0 3 2 1 0 3...
Q4. (Sensitivity Analysis: Adding a new constraint) (3 marks) Consider the following LP max z= 6x1+x2 s.t.xi + x2 S5 2x1 + x2 s6 with the following final optimal Simplex tableau basis x1 r2 S2 rhs 0 0 18 0.5 0.5 0.5 0.5 x1 where sı and s2 are the slack variables in the first and second constraints, respectively (a) Please find the optimal solution if we add the new constraint 3x1 + x2 S 10 into the LP (b)...
4.3-7. Consider the following problem. Maximize Z = 5x1 + 3x2 + 4x3, subject to 2x1 + x2 + x3<= 20 3x1 + x2 + 2x3 <= 30 and x1 >= 0, x2 >= 0, x3 >= 0. You are given the information that the nonzero variables in the optimal solution are x2 and x3. (a) Describe how you can use this information to adapt the simplex method to solve this problem in the minimum possible number of iterations (when...