Sheet 3 Solutions
Sheet 3 Solutions
Sheet 3 – Solutions
Question 1
Show how the M-method will indicate that the following problem has no feasible
solution.
𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 𝑧𝑧 = 2𝑥𝑥1 + 5𝑥𝑥2
Subject to
3𝑥𝑥1 + 2𝑥𝑥2 ≥ 6
2𝑥𝑥1 + 𝑥𝑥2 ≤ 2
𝑥𝑥1 ≥ 0, 𝑥𝑥2 ≥ 0
to decide which variables are to be the basic variables, look for variable columns with
only one non-zero elements, which must also be on separate rows.
Basic Variables: 𝑠𝑠2 , 𝑅𝑅 and 𝑧𝑧
Non-Basic Variables: 𝑥𝑥1 , 𝑥𝑥2 and 𝑠𝑠1
Thus, 𝑠𝑠2 = 2, 𝑅𝑅 = 6, 𝑥𝑥1 = 0, 𝑥𝑥2 = 0 and 𝑠𝑠1 = 0.
We then apply simplex iterations by looking for the most negative value in the z-row.
Basic 𝑧𝑧 𝑥𝑥1 𝑥𝑥2 𝑠𝑠1 𝑠𝑠2 𝑅𝑅 Solution
𝑧𝑧 1 -2-3M -5-2M M 0 0 -6M
𝑅𝑅 0 3 2 -1 0 1 6
𝑠𝑠2 0 2 1 0 1 0 2
since R, the artificial variable, is a basic, non-zero variable at the optimal solution, then
the solution is infeasible.
Question 2
Consider the following set of constraints:
−2𝑥𝑥1 + 3𝑥𝑥2 = 3
4𝑥𝑥1 + 5𝑥𝑥2 ≥ 10
𝑥𝑥1 + 2𝑥𝑥2 ≤ 5
6𝑥𝑥1 + 7𝑥𝑥2 ≤ 3
4𝑥𝑥1 + 8𝑥𝑥2 ≥ 5
𝑥𝑥1 , 𝑥𝑥2 ≥ 0
For each of the following problems, develop the new 𝑧𝑧-row after substituting out the
artificial variables
(a) Maximise 𝑧𝑧 = 5𝑥𝑥1 + 6𝑥𝑥2 , subject to (1), (3) and (4).
(b) Maximise 𝑧𝑧 = 2𝑥𝑥1 − 7𝑥𝑥2 , subject to (1), (2), (4) and (5).
(c) Minimise 𝑧𝑧 = 3𝑥𝑥1 + 6𝑥𝑥2 , subject to (3), (4) and (5).
(d) Minimise 𝑧𝑧 = 4𝑥𝑥1 + 6𝑥𝑥2 , subject to (1), (2) and (5).
(e) Minimise 𝑧𝑧 = 3𝑥𝑥1 + 2𝑥𝑥2 , subject to (1) and (5).
(1) − 2𝑥𝑥1 + 3𝑥𝑥2 + 𝑅𝑅1 = 3
(2) 4𝑥𝑥1 + 5𝑥𝑥2 − 𝑠𝑠1 + 𝑅𝑅2 = 10
(3) 𝑥𝑥1 + 2𝑥𝑥2 + 𝑠𝑠2 = 5
(4) 6𝑥𝑥1 + 7𝑥𝑥2 + 𝑠𝑠3 = 3
(5) 4𝑥𝑥1 + 8𝑥𝑥2 − 𝑠𝑠4 + 𝑅𝑅3 = 5
𝑥𝑥1 , 𝑥𝑥2 , 𝑠𝑠1 , 𝑠𝑠2 , 𝑠𝑠3 , 𝑠𝑠4 , 𝑅𝑅1 , 𝑅𝑅2 , 𝑅𝑅3 ≥ 0
(a)
𝑧𝑧 − 5𝑥𝑥1 − 6𝑥𝑥2 + 𝑀𝑀𝑅𝑅1 = 0
𝑧𝑧 𝑥𝑥1 𝑥𝑥2 𝑠𝑠2 𝑠𝑠3 𝑅𝑅1 Solution
1 -5 -6 0 0 M 0
0 -2 3 0 0 1 3
0 1 2 1 0 0 5
0 6 7 0 1 0 3