Professional Documents
Culture Documents
Engg Opti - Tutorial-02
Engg Opti - Tutorial-02
ENGINEERING OPTIMIZATION
BITS Pilani Tutorial - 02 (01/02/2023)
Hyderabad Campus
Problem: 2.1 “Simplex Method”
Use the simplex method to find the maximum value of
Z = 2x1-x2+2x3
Subject to
2x1+x2 ≤ 10
x1+2x2-2x3 ≤ 20
x2+2x3 ≤ 5
x1,x2,x3 ≥ 0
Please
2
verify your solution using the Graphical approach.
BITS Pilani, Hyderabad Campus
Solution
Entering
Basic Z X1 X2 X3 S1 S2 S3 Value Ratio
Z 1 -2 1 -2 0 0 0 0
S1 0 2 1 0 1 0 0 10 10/0
S2 0 1 2 -2 0 1 0 20 10/-2
S3 0 0 1 2 0 0 1 5 5/2
Leaving
Entering variable variable
Basic Z X1 X2 X3 S1 S2 S3 Value Ratio
Z 1 -2 2 0 0 0 1 5
S1 0 2 1 0 1 0 0 10 5 Leaving
S2 0 1 3 0 0 1 1 25 25 variable
X3 0 0 ½ 1 0 0 ½ 5/2 5/0
Z= 6x1+ 4x2
Subject to
x1+4x2 ≤ 40
3x1+2x2 ≤ 30
3x1+x2 ≤ 24
x1,x2 ≥ 0