Decision Maths 1 Chapter 7 Simplex Algorithm Updated May 22B
Decision Maths 1 Chapter 7 Simplex Algorithm Updated May 22B
Algorithm
Produced by Hannah Watson
[email protected]
& [email protected]
In this chapter you will consider more complicated linear programming problems.
source
To formulate a linear programming problem:
Let 𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 be the number of Vitatab, Weldo, Xtramin and Yestivit tablets taken each day.
Minimise: 𝐶 = 4𝑥1 + 6𝑥2 + 12𝑥3 + 7𝑥4 Note: mark schemes are very fussy about how you
define your constraints!
Subject to:
10𝑥1 + 15𝑥2 + 25𝑥3 + 20𝑥4 ≥ 80 𝑥1 ≥ 0.25 𝑥1 + 𝑥2 + 𝑥3 + 𝑥4
10𝑥1 + 20𝑥2 + 15𝑥3 + 15𝑥4 ≥ 30 ⇒ 3𝑥1 − 𝑥2 − 𝑥3 − 𝑥4 ≥ 0
20𝑥1 + 10𝑥2 + 15𝑥3 + 20𝑥4 ≥ 60
4𝑥1 + 5𝑥2 + 3𝑥3 + 2𝑥4 ≥ 14 𝑥2 ≥ 2𝑥4 ⇒ 𝑥2 − 2𝑥4 ≥ 0
𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 ≥ 0
Formulating linear programming problems
To implement The Simplex Algorithm inequalities have to be transformed into equations
using slack variables (so called because they represent the amount of slack between an
actual quantity and the maximum possible value of that quantity.
Example
Rewrite the inequalities from slide 4 as equations using slack variables, 𝑟, 𝑠, 𝑡, 𝑢, 𝑣,
The simplex algorithm starts at one vertex, and moves between vertices in sequence,
increasing the objective function and one of the variables each time, until it reaches an
optimal solution.
𝑥&𝑟 = 0
𝑠&𝑟 =0
11 2 1 80
4 ÷ = 𝑦+ 𝑟− 𝑠= 7
2 11 11 11
3 3 7 42
5 − 7 = 𝑥 − 𝑟+ 𝑠= 8
10 55 55 11
11 1 1
6 + 7 = 𝑃 + 𝑟 + 𝑠 = 26 (9)
10 5 5
Example with three (non-slack) variables.
Maximise, 𝑃 = 10𝑥 + 12𝑦 + 8𝑧 5
So we reach (0, 2 , 0), 𝑟 = 0 first.
subject to 2𝑥 + 2𝑦 ≤ 5
5𝑥 + 3𝑦 + 4𝑧 ≤ 15 Eliminate 𝑦 to see if increasing 𝑥, 𝑧, 𝑟 would
𝑥, 𝑦, 𝑧 ≥ 0
increase 𝑃.
Introduce slack variables 𝑟 & 𝑠 and form 1 5
equations: 1 ÷2= 𝑥+𝑦+ 𝑟 = 4
2 2
2𝑥 + 2𝑦 +𝑟 =5 1 3 15
2 −3 4 = 2𝑥 + 4𝑧 − 𝑟 + 𝑠 = 5
5𝑥 + 3𝑦 + 4𝑧 + 𝑠 = 15 2 2 2
𝑃 − 10𝑥 − 12𝑦 − 8𝑧 =0 3 3 + 12 4 = 𝑃 + 2𝑥 − 8𝑧 + 6𝑟 = 30 (6)
𝑃 = 30 − 2𝑥 + 8𝑧 − 6𝑟
𝑃 = 10𝑥 + 12𝑦 + 8𝑧
We can increase 𝑃 by increasing 𝑧.
We can see that increasing either 𝑥 or 𝑦 or
𝑧 would increase 𝑃, choose to increase 𝑦 as
Note (4) has no 𝑧 term so won’t give a value
this will give the greatest increase in 𝑃.
for 𝑧.
Increase 𝑦 will get us to either
From (5) when 𝑥 = 𝑟 = 𝑠 = 0
𝑥 = 𝑧 = 𝑟 = 0 𝑜𝑟 𝑥 = 𝑧 = 𝑠 = 0
15 15
5 4𝑧 = ⇒𝑧=
2 8
1 ⇒ 0 + 2𝑦 + 0 = 5 ⇒ 𝑦 =
2
2 ⇒ 0 + 3𝑦 + 0 + 0 = 15 ⇒ 𝑦 = 5
Example with 3 (non-slack) variables
1 3 1 15
5 ÷4= 𝑥+𝑧− 𝑟+ 𝑠 = 7
2 8 4 8
1 5
4 = 𝑥+𝑦 + 𝑟 = 4
2 2
1 3 1 15
7 = 𝑥 +𝑧− 𝑟+ 𝑠 = 7
2 8 4 8
6 + 8 7 = 𝑃 + 6𝑥 + 3𝑟 + 2𝑠 = 45 (8)
𝑃 = 45 − 6𝑥 − 3𝑟 − 2𝑠
We can see that increasing 𝑥, 𝑟, 𝑠 will decrease profit so I’m not sure this graph adds
we have found the optimal solution. much, but I include it to
illustrate the point that what
𝑃 = 45 when we have done in 3D is the
5 15 same process we went through
𝑥 = 0, 𝑦 = ,𝑧 = , 𝑟 = 0, 𝑠 = 0 in 2D.
2 8
The fact that 𝑟 = 𝑠 = 0 tells us that the https://www.geogebra.org/3d/
first and 2nd constraint are at capacity. s4aaucpb
Tableau
You can greatly simplify the method outlined in the examples by using a table called a
simplex tableau.
In your exam you might need to use a simplex tableau to solve linear programming
problems with a maximum of four variables and four constraints (in addition to any non-
negativity constraints). Problems could require you either maximise or minimise an
objective function.
• Any variables in a simplex tableau, that are not basic variables, have the value 0.
• The basic feasible solutions is where all the constraints are satisfied, but applying the
simplex method will lead to an improved solution.
• The simplex method always starts from a basic feasible solution, at the origin, and then
progresses with each iteration to an adjacent point within the feasible region unit the
optimal solution is found.
Example – Maximising
Solve the following linear programming problem (seen previously) using
simplex tableaux.
Maximise: 𝑃 = 3𝑥 + 2𝑦
Subject to: 5𝑥 + 7𝑦 + 𝑟 = 70
10 + 3𝑦 + 𝑠 = 60
𝑥, 𝑦, 𝑟, 𝑠 ≥ 0
𝑟 5 7 1 0 70
𝑠 10 3 0 1 60
𝑃 -3 -2 0 0 0
The ‘basic variable’ column indicates the variables that are not currently at zero. Initially
you start at the vertex (0, 0).
Any variables in a simplex tableau, that are not basic variables have the value 0.
Example cont.
Taking (0, 0) as the start,
Basic 𝑥 𝑦 𝑟 𝑠 Value
𝑥 = 𝑦 = 0, so reading across the
Variable
rows gives us
𝑟 = 70, 𝑠 = 60 and 𝑃 = 0. 𝑟 5 7 1 0 70
This is called the basic feasible 𝑠 10 3 0 1 60
solution – all the constraints are
𝑃 -3 -2 0 0 0
satisfied by applying the simplex
method will lead to an improved
solution.
Scan the objective (bottom) row for the most negative number (unless the exam question
asks you to select a different column). This gives the pivot column as the x column.
𝑟 0 11 1 1 40 R1 -5R2
-2
2
3 1
Use this pivot row to
𝒙 1 0 6
10 10 eliminate 𝑥 from each of
𝑃 0 11
- 10 0 3 18 R3+3R2 the other rows.
10
Example cont.
Basic 𝑥 𝑦 𝑟 𝑠 Value
Repeat the process. Variable
First look for most 𝑟 0 11 1 1 40
-
negative entry in 3
2 2
1
objective, giving pivot 𝒙 1 0 6
10 10
𝑃 0 11 0 3 18
column. -
10 10
𝑃 0 11 0 3 18
-
10 10
𝑃 0 11 0 3 18
-
10 10
Example cont.
Basic 𝑥 𝑦 𝑟 𝑠 Value Row operations
Fourth divide the row Variable
by the pivot. Remember 2 1 80 11
𝑦 0 1 - R1 d
÷
to change the basic 11 11 11 2
variable. 𝑥 1 3 0 1 6
10 10
𝑃 0 11 0 3 18
-
10 10
Finally, eliminate the Basic 𝑥 𝑦 𝑟 𝑠 Value Row operations
pivot term from the Variable
other two rows, using 𝑦 0 1 2 1 80
11
- 11
11
the pivot row to do so. 𝑥 1 0 3 7 42 3
− R2 -d R1
Here, eliminate 𝑦 from 55 55 11 10
𝑄 3 -1 0 0 0
𝑟 2 1 1 0 12
𝑦 1 1 0 1 2 R2 ÷ 4
4 4
𝑄 3 -1 0 0 0
𝑟 7 0 1 1 10 R1 – R2
−
4 4
𝑦 1 1 0 1 2
4 4
𝑄 13 0 0 1 2 R3 + R2
4 4
There are no negative values in the objective row, so the solution is optimal.
Maximum value of 𝑄 = 2, when 𝑥 = 0 𝑦 = 2 𝑟 = 10 𝑠 = 0
So the minimum value 𝑜𝑓 𝑃 = −2, when 𝑥 = 0 𝑦 = 2 𝑟 = 10 𝑠 = 0
Three variable tableau (example from slide 13)
Maximise, 𝑃 = 10𝑥 + 12𝑦 + 8𝑧
subject to 2𝑥 + 2𝑦 ≤ 5
5𝑥 + 3𝑦 + 4𝑧 ≤ 15
𝑥, 𝑦, 𝑧 ≥ 0
𝑃 = 10𝑥 + 12𝑦 + 8𝑧
Basic 𝑥 𝑦 𝑧 𝑟 𝑠 Value
Variable
𝑟 2 2 0 1 0 5
𝑠 5 3 4 0 1 15
𝑷
𝑃 -10 -12 -8 0 0 0
Three variable tableau (example from slide 13)
Basic Variable 𝑥𝑥 𝑦𝑦 𝑧 𝑟 𝑠 Value 𝜽
𝑟 22 22 0 1 0 5 5
= 2.5
2
𝑠 55 33 4 0 1 15 15
=5
3
𝑷 -10
-10 -12
-12 -8 0 0 0
𝑦𝑦 11 11 00 11ΤΤ22 00 11 111
222 ÷ ÷
÷000 →
→
→∞∞
∞
22 222
22
𝑠𝑠 22 00 44 11 11 11 111 777
777 ÷ ÷
÷444 =
=
= 111
−1
−1 77 222 888
22 22
𝑃𝑃 22 00 -8
-8 66 00 30
30
Basic Variable 𝑥 𝑦 𝑧 𝑟 𝑠 Value Row
Operations
𝑦 1 1 0 1Τ2 0 1 R1
2
2
𝒛 1 0 1 3 1 7 R2÷ 4
− 1
2 8 4 8
𝑃 2 0 -8 6 0 30 R3
Basic Variable 𝑥 𝑦 𝑧 𝑟 𝑠 Value Row
Operations
𝑦 1 1 0 1Τ2 0 1 No
2
2 change
𝑧 1 0 1 3 1 7
− 1
2 8 4 8
𝑃 6 0 0 3 2 45 R3+8R2
Three variable tableau (example from slide 13)
Basic Variable Value
The optimal solution is
𝑦 1 𝑃 = 45,
2
2 𝑥=0
1
𝑧 7 𝑦=2
1 2
8 7
𝑧=1
8
𝑃 45 𝑟=0
𝑠=0
Reducing Tableaux:
b) Verify your solution with the original problem. You can reduce the
amount of tableaux
10𝑥 + 12𝑦 + 8𝑧 = 0 + 30 + 15 = 45 = 𝑃 ✓ you write by
combining all the row
2𝑥 + 2𝑦 = 0 + 5 = 5 ≤ 5 ✓ operations into one.
1 1
3𝑥 + 3𝑦 + 4𝑧 = 0 + 7 2 + 7 2 = 15 ≤ 15 ✓ In an exam you will be
𝑥, 𝑦, 𝑧 ≥ 0 ✓ given sufficient
tableaux for the full
non-reduced solution.
Test your understanding – Edexcel SAMS
Ctd…
Ctd……
Ctd……!
Exercise 7B
Pearson Decision 1, Page 195
Problems requiring integer solutions
You can use the simplex tableau method to solve linear programming problems requiring
integer solutions. You need to consider integer-valued points near your optimal solution.
When integer solutions are needed, test points around the optimal solution to find a set
of points which fits the constraints and gives a maximum for the objective function. This
is exactly the same method which was used in AS Linear programming, it’s included here
just to make sure you haven’t forgotten about it!
Example
Solve the linear programming problem from eg. 8, given that
integer solutions are required.
Maximise 𝑃 = 3𝑥 + 2𝑦
subject to, 5𝑥 + 7𝑦 ≤ 70
10𝑥 + 3𝑦 ≤ 60
𝑥, 𝑦 ≥ 0
42 9 80 3
In a previous example, we found the following solution 𝑃 = 26, 𝑥 = 11 = 3 11 , 𝑦 = 11 = 7 11
We need to test points around this optimal solution
Solve the linear programming problem from eg. 10, given that integer solutions are required.
Subject to :
2𝑥 + 2𝑦 ≤ 5
5𝑥 + 3𝑦 + 4𝑧 ≤ 15
𝑥, 𝑦, 𝑧 ≥ 0
Problems that include ≥ constraints, have no obvious basic feasible solution, since the
origin is not in the feasible region. You could convert the inequality 𝑥 + 3𝑦 ≥ 10 into an
equation by subtracting a variable, s, giving
𝑥 + 3𝑦 – 𝑠 = 10 where 𝑠 ≥ 0
s is a surplus variable. This doesn’t solve the problem of using the simplex method with 𝑥
and 𝑦 as non-basic variables. This would require 𝑥 = 𝑦 = 0, giving – 𝑠 = 10, which
makes s negative. To avoid this problem, a new type of variable called an artificial variable
is introduced
𝑥 + 3𝑦 – 𝑠 + 𝑎 = 10 where 𝑠, 𝑎 ≥ 0
This constraint can now be written in a simplex tableau, using 𝑥, 𝑦 and 𝑠 as non-basic
variables and 𝑎 as a basic variable with value 10.
Example Slide 40
Use surplus and artificial variables to write the following inequalities as equations.
3𝑥 − 2𝑦 ≥ 7
4𝑥 + 5𝑦 − 3𝑧 ≥ 9
3𝑥 – 2𝑦 – 𝑠1 + 𝑎1 = 7
4𝑥 + 5𝑦 – 3𝑧 – 𝑠2 + 𝑎2 = 9
1. Use slack, surplus and artificial variables, as necessary, to write all the constraints as
equations
2. Define a new objective function to minimise the sum of all the artificial variables
3. Use the simplex method to solve this problem
4. If the minimum sum of the artificial values is 0 then the solution found is a basic
feasible solution of the original problem, which is then the starting point for the
second stage. Use the simplex method again to solve this problem.
5. If the minimum sum of the artificial variables is not 0 then the original problem has no
feasible solution.
Example
Maximise 𝑃 = 3𝑥 − 2𝑦 + 𝑧 Converting the inequalities into equations:
Subject to: 𝑥 + 𝑦 + 2𝑧 + 𝑠1 = 10
𝑥 + 𝑦 + 2𝑧 ≤ 10 2𝑥 – 3𝑦 + 𝑧 – 𝑠2 + 𝑎1 = 5
2𝑥 − 3𝑦 + 𝑧 ≥ 5 𝑥 + 𝑦 – 𝑠3 + 𝑎2 = 8
𝑥+𝑦 ≥8
𝑥, 𝑦, 𝑧 ≥ 0 Let 𝐼 = − (𝑎1 + 𝑎2)
𝑎
a11 2 -3 1 0 -1 0 1 0 5 5
2
a𝑎22 1 1 0 0 0 -1 0 1 8 8
𝑃
P -3 2 -1 0 0 0 0 0 0 0
𝐼I -3 2 -1 0 1 1 0 0 -13 13
Example
Basic
Basic 𝑥𝑥 𝑦𝑦 𝑧𝑧 𝑠𝑠11 𝑠𝑠22 𝑠𝑠33 𝑎𝑎11 𝑎𝑎22 Value
Value 𝜃𝜃 value
value 𝑥𝑥
Variable
Variable
𝑠𝑠11 0 5 3 1 1 0 1 0 15 R1 – R2 3
-
2 2 2 2 2
𝑥 1 3 1 0 1 0 1 0 5 R2÷ 2 - ve
-2 -2
2 2 2
𝑎𝑎22 0 5 1 0 1 -1 1 1 11 R3 – R2 2.2
− −
2 2 2 2 2
𝑃
𝑃 0 5 1 0 3 0 3 0 15 R4 + 3R2 - ve
- -
2 2 2 2 2
𝐼𝐼 0 5 1 0 1 1 3 0 11 R5 + 3R2
- - -
2 2 2 2 2
Basic
Basic 𝑥𝑥 𝑦𝑦 𝑧𝑧 𝑠𝑠11 𝑠𝑠22 𝑠𝑠33 𝑎𝑎11 𝑎𝑎22 Value
Value Row
Row
Variable
Variable Operation
Operation
𝑠𝑠11 0 0 2 1 0 1 0 -1 2 R1 – 2.5R3 𝐼 = 0 so a
basic
𝑥 1 0 1 0 1 3 1 3 29 R2 + 1.5R3 feasible
-5 -5
5 5 5 5 solution
𝑦𝑦 0 1 1 0 1 2 1 2 11 5
− - − R3÷ has been
5 5 5 5 2
5 5
R4 + 2.5R3
found for
𝑃
𝑃 0 0 0 0 -1 -1 1 1 13
the original
𝐼𝐼 0 0 0 0 0 0 1 1 0 R5 + 2.5R3 problem
Point 4
Example
Basic 𝑥 𝑦 𝑧 𝑠1 𝑠2 𝑠3 Value The basic feasible
Variable solution for the second
𝑠1 0 0 2 1 0 1 2 stage is:
29
𝑥 1 0 1 0 1 3 29 𝑥 = 5
- - 11
5 5 5 5
1 1 2 11 𝑦 = 5
𝑦 0 1 0
−
5 5
- 5 𝑠1 = 2
5
𝑃 0 0 0 0 -1 -1 13 𝑧 = 𝑠2 = 𝑠3 = 0
Continuing the same way (eliminating 𝑠2 before 𝑠3 ), produces the following tableaux:
𝑃 0 5 -1 0 0 -3 24 𝑃 0 5 5 3 0 0 30
Finally, there are no negative values in the bottom, row, so the optimal solution has been
found. 𝑃 = 30, when 𝑥 = 10, 𝑠2 = 15, 𝑠3 = 2, 𝑦 = 𝑧 = 𝑠1 = 0
Test your understanding – Edexcel Mock paper
Exercise 7D
Pearson Decision 1, Page 204
Big-M Method Slide 53 Slide 56
The first stage of the two-stage simplex method involves minimising the sum of the
artificial variables. If there is a feasible solution then this sum will be zero. The Big-M
method involves a different but equivalent approach, which again, leads to the sum of the
artificial variables being zero.
In the Big-M method,𝑀 is used to represent an arbitrarily larger number. This guarantees
that a term such as 𝑀 − 100 will be positive and a term such as 75 – 0.5𝑀 will be
negative. You can compare terms involving M in order to select the pivot column.
Maximise 𝑃 = 𝑥 − 𝑦 + 𝑧,
Subject to:
2𝑥 + 𝑦 + 𝑧 ≤ 20
𝑥 − 2𝑦 − 𝑧 ≤ 7
𝑥≥4
𝑥, 𝑦, 𝑧 ≥ 0
Writing out the inequalities as equations using slack, surplus and artificial variables:
2𝑥 + 𝑦 + 𝑧 + 𝑠1 = 20
𝑥 – 2𝑦 – 𝑧 + 𝑠2 = 7
𝑥 – 𝑠3 + 𝑎1 = 4
𝑃 = 𝑥 – 𝑦 + 𝑧 – 𝑀𝑎1 where 𝑎1 = 4 – 𝑥 + 𝑠3
This gives
𝑃 = 𝑥 – 𝑦 + 𝑧 – 𝑀 4 – 𝑥 + 𝑠3
= ( 1 + 𝑀 )𝑥 – 𝑦 + 𝑧 – 𝑀𝑠3 – 4𝑀
And so 𝑃– 1 + 𝑀 𝑥 + 𝑦 − 𝑧 + 𝑀𝑠3 = − 4𝑀
Example cont.
Giving the initial tableau …
𝑠2 1 -2 -1 0 1 0 0 7 7
𝑎1 1 0 0 0 0 -1 1 4 4
𝑃 − (1 + 𝑀) 1 -1 0 0 𝑀 0 −4𝑀
Notice here that 𝑥, 𝑦 & 𝑧 are non-basic variables which means the starting point is the
origin. This is not a feasible solution because the artificial variable, 𝑎1 ≠ 0.
It may take several iterations to become feasible and may take a few more for it to become
optimal.
Example cont.
Basic 𝑥 𝑦 𝑧 𝑠1 𝑠2 𝑠3 𝑎1 Value Row op. 𝜃 value
Variable
𝑠11 0 1 1 1 0 2 -2 12 R1 – 2R3 6
𝑠𝑠22 0 -2 -1 0 1 1 -1 3 R2 – R3 3
𝑥 1 0 0 0 0 -1 1 4 -ve
𝑃 0 1 -1 0 0 -1 1+M 4 R4 + (1+M)R3
𝑠3 0 -2 -1 0 1 1 -1 3 R2 -ve
𝑥𝑥 1 -2 -1 0 1 0 0 7 R3 + R2 -ve
𝑃
𝑃 0 -1 -2 0 1 0 M 7 R4 + R2
Example cont.
Basic 𝑥 𝑦 𝑧 𝑠1 𝑠2 𝑠3 𝑎1 Value Row op. 𝜃 value
Variable
𝑧 0 5 1 1 −2 0 0 2 R1 ÷ 3 -ve
3 3 3
𝑠𝑠33 0 −1 0 1 1 1 -1 5 R2 + R1 15
3 3 3
𝑥 1 −1 0 1 1 0 0 9 R3 + R1 27
3 3 3
𝑃 0 7 0 2 −1 0 M 11 R4 + 2R1
3 3 3
Repeating gives…
𝑥 𝑦 𝑧 𝑠1 𝑠2 𝑠3 𝑎1 Value Row op.
𝑧 0 1 1 1 0 2 -2 12 2
R1 + 3R2
𝑠2 0 -1 0 1 1 3 -3 15 1
R2÷
3
𝑥 1 0 0 0 0 -1 1 4 1
R3 - 3R2
𝑃 0 2 0 1 0 1 M–1 16 1
R4 + 3R2
Example cont.
All values in the objective row are now positive so the solution is optimal.
𝑥 𝑦 𝑧 𝑠1 𝑠2 𝑠3 𝑎1 Value
𝑧 0 1 1 1 0 2 -2 12
𝑠2 0 -1 0 1 1 3 -3 15
𝑥 1 0 0 0 0 -1 1 4
𝑃 0 2 0 1 0 1 𝑀– 1 16
The solution is
𝑥 = 4, 𝑦 = 0, 𝑧 = 12, 𝑠1 = 0, 𝑠2 = 15, 𝑠3 = 0,
𝑎1 = 0, 𝑃 = 16
𝑄
𝑄 𝑅4 −
0 -1 1 0 0 1 (𝑀 − 1) -4 1 − 𝑀 𝑅3
Example cont.
𝑥 𝑦 𝑧 𝑠1 𝑠2 𝑠3 𝑎1 Value Row op.
𝑦
0 1 1 1 0 2 -2 12
𝑠2
0 0 1 2 1 5 -5 27 R2+2R1
𝑥
1 0 0 0 0 -1 1 4 R3
𝑄
0 0 2 1 0 3 (𝑀 − 3) 8 R4+R1
All the values in the objective row are now positive, so the solution is optimal.
𝑄𝑚𝑎𝑥 = 8 ⇒ 𝑃𝑚𝑖𝑛 = −8
𝑥 = 4, 𝑦 = 12, 𝑧 = 0, 𝑠1 = 0, 𝑠2 = 27, 𝑠3 = 0, 𝑎1 = 0
𝑎1 = 5 − 2𝑥 + 3𝑦 − 𝑧 + 𝑠2
𝑎2 = 8 − 𝑥 − 𝑦 + 𝑠3
𝑎1 + 𝑎2 = 13 − 3𝑥 + 2𝑦 − 𝑧 + 𝑠2 + 𝑠3
𝑃 = 3𝑥 − 2𝑦 + 𝑧 − 𝑀 13 − 3𝑥 + 2𝑦 − 𝑧 + 𝑠2 + 𝑠3
𝑃 = 3 1 + 𝑀 𝑥 − 2 1 + 𝑀 𝑦 + 1 + 𝑀 𝑧 + 𝑀𝑠2 + 𝑀𝑠3 − 13𝑀
𝑥 𝑦 𝑧 𝑠1 𝑠2 𝑠3 𝑎1 𝑎2 Value
𝑠1 10
1 1 2 1 0 0 0 0
𝑎1
2 -3 1 0 -1 0 1 0 5
𝑎2
1 1 0 0 0 -1 0 1 8
𝑥 𝑦 𝑧 𝑠1 𝑠2 𝑠3 𝑎1 𝑎2 Value
𝑠1 15/2
0 5/2 3/2 1 1/2 0 −1/2 0
𝑥
1 −3/2 1/2 0 −1/2 0 1/2 0 5/2
𝑎2
0 5/2 −1/2 0 1/2 -1 −1/2 1 11/2
𝑃 0
5 1
0
1
−𝑀
3
0
1
− (1 + 𝑀) (1 + 𝑀) − (3 + 5𝑀) (1 + 𝑀) (15 − 11𝑀)
2 2 2 2 2
11
The solution given by this tableau is not feasible because 𝑎2 = , if the solution were to
2
be feasible then all artificial variables must be zero.
Exercise 7E
Pearson Decision 1, Page 204