Maximize 4x + 6y subject to the following constraints (using the simplex method)
x + 4y <= 4
3x + 2y <= 6
x>= 0, y>= 0
Print This Solution Close This Solution
Find solution using Simplex(BigM) method
MAX Z = 4x1 + 6x2
subject to
x1 + 4x2 <= 4
3x1 + 2x2 <= 6
and x1,x2 >= 0
Solution:
Problem is
|
||||||||||||||||
subject to | ||||||||||||||||
|
||||||||||||||||
and x1,x2≥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,S1,S2≥0 |
Iteration-1 | Cj | 4 | 6 | 0 | 0 | ||
B | CB | XB | x1 | x2 Entering variable | S1 | S2 | MinRatio XBx2 |
S1 Leaving variable | 0 | 4 | 1 | (4) (pivot element) | 1 | 0 | 44=1→ |
S2 | 0 | 6 | 3 | 2 | 0 | 1 | 62=3 |
Z=0 0= Zj=∑CBXB |
Zj Zj=∑CBxj | 0 0=0×1+0×3 Zj=∑CBx1 |
0 0=0×4+0×2 Zj=∑CBx2 |
0 0=0×1+0×0 Zj=∑CBS1 |
0 0=0×0+0×1 Zj=∑CBS2 |
||
Cj-Zj | 4 4=4-0 | 6 6=6-0↑ | 0 0=0-0 | 0 0=0-0 |
Positive maximum Cj-Zj is 6 and
its column index is 2. So, the entering variable is
x2.
Minimum ratio is 1 and its row index is 1. So, the leaving basis
variable is S1.
∴ The pivot element is 4.
Entering =x2, Departing =S1, Key Element =4
R1(new)=R1(old)÷4
R2(new)=R2(old)-2R1(new)
Iteration-2 | Cj | 4 | 6 | 0 | 0 | ||
B | CB | XB | x1 Entering variable | x2 | S1 | S2 | MinRatio XBx1 |
x2 | 6 | 1 1=4÷4 R1(new)=R1(old)÷4 |
0.25 0.25=1÷4 R1(new)=R1(old)÷4 |
1 1=4÷4 R1(new)=R1(old)÷4 |
0.25 0.25=1÷4 R1(new)=R1(old)÷4 |
0 0=0÷4 R1(new)=R1(old)÷4 |
10.25=4 |
S2 Leaving variable | 0 | 4 4=6-2×1 R2(new)=R2(old)-2R1(new) |
(2.5) 2.5=3-2×0.25 (pivot element) R2(new)=R2(old)-2R1(new) |
0 0=2-2×1 R2(new)=R2(old)-2R1(new) |
-0.5 -0.5=0-2×0.25 R2(new)=R2(old)-2R1(new) |
1 1=1-2×0 R2(new)=R2(old)-2R1(new) |
42.5=1.6→ |
Z=6 6=6×1 Zj=∑CBXB |
Zj Zj=∑CBxj | 1.5 1.5=6×0.25+0×2.5 Zj=∑CBx1 |
6 6=6×1+0×0 Zj=∑CBx2 |
1.5 1.5=6×0.25+0×(-0.5) Zj=∑CBS1 |
0 0=6×0+0×1 Zj=∑CBS2 |
||
Cj-Zj | 2.5 2.5=4-1.5↑ | 0 0=6-6 | -1.5 -1.5=0-1.5 | 0 0=0-0 |
Positive maximum Cj-Zj is 2.5
and its column index is 1. So, the entering variable is
x1.
Minimum ratio is 1.6 and its row index is 2. So, the leaving basis
variable is S2.
∴ The pivot element is 2.5.
Entering =x1, Departing =S2, Key Element
=2.5
R2(new)=R2(old)×0.4
R1(new)=R1(old)-0.25R2(new)
Iteration-3 | Cj | 4 | 6 | 0 | 0 | ||
B | CB | XB | x1 | x2 | S1 | S2 | MinRatio |
x2 | 6 | 0.6 0.6=1-0.25×1.6 R1(new)=R1(old)-0.25R2(new) |
0 0=0.25-0.25×1 R1(new)=R1(old)-0.25R2(new) |
1 1=1-0.25×0 R1(new)=R1(old)-0.25R2(new) |
0.3 0.3=0.25-0.25×(-0.2) R1(new)=R1(old)-0.25R2(new) |
-0.1 -0.1=0-0.25×0.4 R1(new)=R1(old)-0.25R2(new) |
|
x1 | 4 | 1.6 1.6=4×0.4 R2(new)=R2(old)×0.4 |
1 1=2.5×0.4 R2(new)=R2(old)×0.4 |
0 0=0×0.4 R2(new)=R2(old)×0.4 |
-0.2 -0.2=(-0.5)×0.4 R2(new)=R2(old)×0.4 |
0.4 0.4=1×0.4 R2(new)=R2(old)×0.4 |
|
Z=10 10=6×0.6+4×1.6 Zj=∑CBXB |
Zj Zj=∑CBxj | 4 4=6×0+4×1 Zj=∑CBx1 |
6 6=6×1+4×0 Zj=∑CBx2 |
1 1=6×0.3+4×(-0.2) Zj=∑CBS1 |
1 1=6×(-0.1)+4×0.4 Zj=∑CBS2 |
||
Cj-Zj | 0 0=4-4 | 0 0=6-6 | -1 -1=0-1 | -1 -1=0-1 |
Since all Cj-Zj≤0
Hence, optimal solution is arrived with value of variables as
:
x1=1.6,x2=0.6
Max Z=10
Maximize 4x + 6y subject to the following constraints (using the simplex method) x + 4y...
Solve the linear programming problem by the simplex method. Maximize P = 5x + 4y subject to 3x + 5y 78 4x + y 36 x 0, y 0 x = y = P =
find the solution simplex method Maximize 2x + 5y subject to the constraints 5x + y = 60 5x + 2y = 80 X20,y20 5x + 2y + y = 80 2x + 5y + M = 0 D. 5x +y+c= 60 5x + 2y + y = 80 - 2x - 5y + M = 0 Find the solution x= y=(,m=0 (Type integers or decimals.) ne Enter your answer in the edit fields and then click Check Answer.
Solve the following problem using Lagrange multiplier method: Maximize f(x,y,z) = 4y-2z subject to the constraints 2x-y-z 2 x2+y2- 1 1. (1) (2) (Note: You need not check the Hessian matrix, just find the maximum by evaluating the values of f(x,y,z) at the potential solution points) Also, using sensitivity analysis, find the change in the maximum value of the function, f, if the above constraints are changed to: (3) (4) 2x -0.9y-z 2 x2+ y2- 0.9. Solve the following problem...
Solve the following problem using Lagrange multiplier method: Maximize f(x,y,z) = 4y-2z subject to the constraints 2x-y-z 2 x2+ y2- 1 (1) (2) (Note: You need not check the Hessian matrix, just find the maximum by evaluating the values of f(x,y,z) at the potential solution points) Also, using sensitivity analysis, find the change in the maximum value of the function, f, if the above constraints are changed to: (3) (4) 2x-0.9y-z =2 x2+y2- 0.9 Solve the following problem using Lagrange...
Maximize Z = 3X + Y subject to the following constraints: 12X + 14Y ≤ 85, 3X + 2Y ≤ 18, Y ≤ 4. Which of the following extreme points yields the maximum value? Select one: a. X = 2.416, Y = 4 b. X = 6, Y = 0 c. X = 0, Y = 4 d. X = 4.556, Y = 2.1667
(3x + y 55 (9 pts) 4. Use the simplex method to maximize p= 2x + y, subject to <x+2y 52 x 20,y20
Use the simplex method to solve the following maximum problem: Maximize P= x1 +2:02 Subject to the constraints: 2x1 + x2 < 8 21 +2y < 5 X1 > 0 22 > 0 and using your final tableau answer the questions below by entering the correct answer in each blank box. Please enter fractions as 3/5, -4/7, and so on. 21 2 P=
mize the functi 2x + 2y = 1 19. Explain why it is impossible to maximize z = 3x + 4y subject to the constraints x + y 28 2x + y = 10 x + 2y = 8 + > 0, y = 0. mize the function 20. Explain why it is impossible to maximize the z = 4x + 7y subject to the constraints 8y + 5x 2 40 4y + 9x = 36 11y + 2x =...
Excel Use Simplex method and Exel To solve the following LPPs. Maximize Maximize P-3x + x2 subject to the constraints x1 + x2 = 2 2x) + 3x2 s 12 3x + = 12 x 20 x220 P = 5x1 + 7x2 subject to the constraints 2xy + 3x2 = 12 3x + x2 = 12 x 20 *2 2 0 Maximize Maximize P = 2x2 + 4x2 + x3 subject to the constraints -*1 + 2x2 + 3x3 5...
simplex method with no fractions only on outside (3x + y 55 Use the simplex method to maximize p= 2x + y, subject to x+2y 2 . x>0, y20