⎧ x1 + 2x2 ≤ 8
x1 + x2 ≤ 6
Maximize Z = 3x1 + 4x2 , subject to ⎨
.
x2 ≥ 0
⎩
x1 ≥ 0
SOLUTION
The problem in the canonical form can be written as follows:
Z = 3x1 + 4x2 → max
⎧ x1 + 2x2 ≤ 8
⎨ x1 + x2 ≤ 6
⎩
x1 , x2 ≥ 0
Add variables (slack or surplus) to turn all the inequalities into equalities:
Z = 3x1 + 4x2 → max
⎧ x1 + 2x2 + S1 = 8
⎨ x1 + x2 + S 2 = 6
⎩
x1 , x2 , S 1 , S 2 ≥ 0
Write down the simplex tableau:
Basic x1 x2 S1 S2
Solution
Z −3 −4 0 0 0
S1
1 2 1 0 8
S2 1 1 0 1 6
The entering variable is x2 , because it has the most negative coefficient −4 in the Z-row.
Basic x1 x2 S1 S2
Solution Ratio
Z −3 −4 0 0 0
8
S1 1 2 1 0 8 2
=4
This study source was downloaded by 100000898062787 from CourseHero.com on 09-29-2025 04:50:16 GMT -05:00
https://www.coursehero.com/file/250856110/simplex-methodpdf/
x1 + x2 ≤ 6
Maximize Z = 3x1 + 4x2 , subject to ⎨
.
x2 ≥ 0
⎩
x1 ≥ 0
SOLUTION
The problem in the canonical form can be written as follows:
Z = 3x1 + 4x2 → max
⎧ x1 + 2x2 ≤ 8
⎨ x1 + x2 ≤ 6
⎩
x1 , x2 ≥ 0
Add variables (slack or surplus) to turn all the inequalities into equalities:
Z = 3x1 + 4x2 → max
⎧ x1 + 2x2 + S1 = 8
⎨ x1 + x2 + S 2 = 6
⎩
x1 , x2 , S 1 , S 2 ≥ 0
Write down the simplex tableau:
Basic x1 x2 S1 S2
Solution
Z −3 −4 0 0 0
S1
1 2 1 0 8
S2 1 1 0 1 6
The entering variable is x2 , because it has the most negative coefficient −4 in the Z-row.
Basic x1 x2 S1 S2
Solution Ratio
Z −3 −4 0 0 0
8
S1 1 2 1 0 8 2
=4
This study source was downloaded by 100000898062787 from CourseHero.com on 09-29-2025 04:50:16 GMT -05:00
https://www.coursehero.com/file/250856110/simplex-methodpdf/