Trustrum 1971
Trustrum 1971
A complete list of books in the series appears on the inside back cover.
£1'75 net
LINEAR PROGRAMMING
LIBRARY OF MATHEMATICS
edited by
WALTER LEDERMANN
D.Sc., Ph.D., F.R.S.Ed., Professor of
Mathematics, University of Sussex
KATHLEEN TRUSTRUM
page
Preface vii
vi
Preface
vii
CHAPTER ONE
Convex Sets
AU 1 + (1 - A)U2 E C for 0 ~ A ~ 1.
k k
X = L AiUi'
;=1
where A.; ~ 0 and L A.i =
;=1
1.
u, u.
...
FIGURE
x = AY + (1 - A)Z =) x = y = z.
The first theorem proves that a convex polytope is the convex
hull of its vertices (see figure 1).
THEoREM 1. If C is a convex polytope and V is its set of
vertices then
C= (V)
Proof Since C is a convex polytope, C = (U1> U2' ••• , Uk)'
A minimal subset {Vb V2, ••• , V,} is selected from amongst
the lit'S so that C = (Vb V2' ••• , V,), where r ~ k. This is
I;:> implies.
2
CONVEX HULLS, POLYTOPES AND VERTICES
, x= (1:) t, a ",Iumn "",I." " = ('" '" , , " ,.J t, a row ",,>I.,
and c'x = C1 Xl + C2X2 + ... + CnX••
3
CONVEX SETS
C = {x I Ax = b, x ~ O},1
(2)
k
L x;a; =
;=1
b (6)
°
we are reduced to the case k < n. We are now left with the
case in which x is non-basic and Xi > for all i. Since x is
non-basic, al>~,"" an are linearly dependent and there
. exist At, not all zero, such that
n
L Aja, = O. (7)
;=1
II
L (XI -
i=1
OAi)ai = b, where Xi - OAt ~ ° for all i.
(8)
FIGURE 2
7
CONVEX SETS
FIGURE 3
The above result clearly holds for all z E C and since band Zn
are distinct points.
ItfollowsfromtheconvexityofCthatforallzE CandO ~ A. ~ 1
1= (10 ... 0)
1 e, the vector whose ith component is one and whose other components
are zero,
01 ... 0
00 I
10
LINEAR INEQUALITIES
The set of vectors {1: x/a/ I x ~O} is represented by the shaded region
1=1
C in figure 4 and it is seen that b does not belong to C.
FrGURE 4
13
CHAPTER TWO
The diet problem was one of the problems which led to the
development of the theory of Linear Programming. It was
first described by Stigler in a paper published in 1945 on
'The Cost of Subsistence'. In this chapter and in chapter four,
we shall use the problem to motivate or interpret some of the
definitions, theorems and techniques.
which say that the equivalent pill form of each food is not
more expensive than the food itself, and
Yl :2: 0, Y2 :2: 0, ... , Ym :2: 0,
which is the condition that the prices be non-negative.
The maximising value of y, can be used as the imputed cost
of one unit of the ith nutrient, which is the maximum price
that the dietician would be prepared to pay for one unit of the
ith nutrient.
16
TYPES OF LINEAR PROGRAMMES
where W, ::?: 0 for i = 1,2, ... ,8. In order that all the variables
are non-negative, we put XI = lit - VI for i ~ S, where UI::?: 0
and V, ~ O. Combining the above steps gives the following
c.m.p.:
Laiix) + Its
iES
') a,iuj - Vi) = bi for i =8 + 1, ... , m
c/x* = y*'b,
for then by Lemma 1, c'x* = y*'b and the values of the two
programmes are equal. The optimality ofx* and y* immediately
follows from Theorem 2.
The system of inequalities (3), (4) and (5) can be written as
( 0 -A')
. A 0 (X) (
y ~ -cb) . (6)
-c' b' , O.
(z',..',A) ( A 0)';; 0,
O-A'
(z',~,A) HJ > 0,
-c' b'
If A. = 0, then since the s.m.p. and its dual are feasible, there
exist vectors x ~ 0 and y ~ 0 satisfying (3) and (4) respectively.
It now follows from (3) and (7) that
° z'Ax
~ ~ z'b
20
FUNDAMENTAL DUALITY THEOREM
which together imply that z'b :::; c'w, contradicting (9). Hence
A > 0 and A-iw and A. -1Z are feasible vectors for the s.m.p.
and its dual, respectively, so by Lemma I, A-1z'b :::; A-1C'W,
which again contradicts (9). Therefore our original assumption
is false and the inequalities (6) have a non-negative solution,
which provides the required optimal vectors.
To prove the second part of the theorem, we suppose that
the s.m.p. has no feasible vector, that is Ax:::: b has no solution
for which x :::: 0, and so by Theorem 6 on page 11, the inequali-
ties y' A :::; 0, y'b > 0 have a solution Y1 :::: O. If the dual has
no feasible vector, there is nothing to prove, so suppose Yo is a
feasible vector for the dual, then it satisfies
The vector Yo + AYl also satisfies (10) for all A :::: 0 and so is a
feasible vector. Since yt'b> 0, (Yo + A.yJ'b can be made
arbitrarily large by choosing A sufficiently large, so y'b is
unbounded above on the set of feasible vectors and the dual
has no optimal vector. It follows from the dual relationship
that if the dual has no feasible vector, then the s.m.p. has no
optimal vector and the proof is completed.
Since the optimal vectors, x* and y* of the programme and
its dual, respectively, satisfy c'x* = y*'b, the value of YI* can
be used to determine how critical the value of the programme
is to small changes in b" For example, if Y1 * is large compared
with the remaining YI*'S, then a small change in b1 could make
a large difference to the minimum value of c'x.
We now deduce two theorems, which can be used to test
given feasible vectors for optimality.
21
THE THEORY OF LINEAR PROGRAMMING
3. Equilibrium Theorems
II II
which gives the conditions (II) and (13). The conditions (12)
and (14) follow on writing the right-hand side of (15) as
n
L (Cj -
j=1
(y'A)j)Xi = O.
(16)
n
L (c; - (y' A)/)x/ =0
1=1
+ Ya + y, ;$ 6,
Yz
Yl + Yz + ,. ;::;; 9,
and y ~ o.
Solution. It is easy to verify that y =
(2,2,4,0), is feasible for the given
standard maximum problem. The dual problem is the following 8.m.p.
Minimise
subject to + x. ~ 2
3Xl + X z + Xa + x. ~ 4
xa + x, ~ 1
+ x. ~l
and x ~ O.
24
BASIC OPTIMAL VECTORS
Ya >O~ X3 + x, = 1,
and by condition (14),
YI + Y2 + Y3 < 9 ~ x. = O.
The above equations have the solution x = (: ' ~, 1,0)' ~ 0 and since
Xl + Xa= 5"9 ~1, x is feasible for the dual. Optimality follows since
xand y are feasible and satisfy the conditions (11) and (14) of Theorem 4.
As a check, we note that
L xla; = b, (18)
1=1
but x; = 0 => Xj = 0,
hence i satisfies the condition (17) for optimality and is there-
fore, a basic optimal vector.
The above theorem gives us a method of finding an optimal
vector, which is to solve the system of equations L Xja; = b
jES
for all sets S, such that the set of vectors {aj liE S} are linearly
independent. The non-negative solution which minimises e'x
26
GRAPHICAL METHOD OF SOLUTION
x,
FIGURE S
27
THE THEORY OF LINEAR PROGRAMMING
Minimise
subject to 2xl + XI ~ 2
Xl + 2x1 ~ 2
6Xl + XI ~ 3
and Xl ~·O, XI ~ O.
2. Verify that x =(0, ~ 0,0, ~ )' is an optimal solution for the fol-
lowing linear programme.
The waitresses report for duty at 3a.m., 7a.m., etc., and their tours of
duty last for eight hours. The problem is to determine how the' given
numbers can be supplied for each period, whilst involving the smallest
number of waitresses each day. If Xl' X 2, ••• , X8 are the numbers starting
at 3a.m., 7a.m., ... , IIp.m., respectively, verify that an optimal solution
is x = (0,14,0,8,2,2)'.
4. Show that the following linear programme has an optimal solution,
and find it by computing the basic feasible solutions.
n
maximum I!(xj) -
j
L alMxj) I. Show that the dual is a canonical problem.
i=l
n
(Hint: let (In+l = max
j
L
1 f(XI) -
i=1
and minimise
r%itP,(Xj) 1 r%n+l')
30
CHAPTER THREE
n
that is L xI}:::; Si for i = 1,2, ... , m, (I)
}=1
m
that is L Xi} ~~ for j = 1,2, ... , n. (2)
i=1
It follows from (I) and (2) that for the problem to be feasible,
m m n n
L SI ~ L L xI} ~ L d j ,
i=1 1=1 1=1 }=1
so the total demand must not exceed the total supply. If the
total supply and demand are equal, then (1) and (2) must be
satisfied as equations. In any case, the problem can always be
formulated so that the total supply and demand are equal.
This is achieved by introducing an extra market Mn+1 (a dump)
m n
with demand dn +1 = L Si - L ~, the excess supply, and by
i=1 }=1
choosing Cln+1 = 0 for i = 1, ... , m. It can be shown that an
optimal solution for the modified problem is an optimal solu-
tion for the original problem.
We therefore define the transportation problem as the
following c.m.p.
32
FORMULATION OF PROBLEM AND DUAL
m /I
Minimise L L cijx/;,
i=1j=1
II
m
L Xij = dj for j = 1,2, ... , n, (4)
;=1
L = LtJ.;.
m "
where Si > 0, ~ > 0 and ei;;::: 0 are given and Si
;=L ;=1
Let
1 o o o
~)
1
o o 1
o o o
1 o o 1
o o o
33
THE TRANSPORTATION PROBLEM
With the above notation, (3), (4) and (5) reduce to the c.m.p.
minimise c' x,
subject to Ax = b and x ~ O.
maximise y'b,
subject to y' A ~ c',
m /I
components of (9),
then they are a feasible solution for the dual problem and the
optimality of the xij follows from the equilibrium theorem. If
=
the supplies are SI = 3, S: 5
and the demands are d1 = 4, d! = 2, da = 2.
Solution. We construct a tableau with the costsC,Iin the left-hand side
of each column and the initial b.f.s. in the right-hand side. The b.f.s.
38
METHOD OF SOLUTION
has been obtained by the north-west corner method and the O's should
be neglected for the moment. Putting III = 0, the UI and Vi are calculated
from the equations VI - UI = Cli for Xii> 0, for example VI - 0 = Cll =
5 as Xu > O. The circled entries in the
4 2 2
5 6 5
3 0 5 3-0 5 7- ®
® 01-
5 4 1 1+0 2 2-0 1 2
II; VI 5 5 5
o
4
Degeneracy
Degeneracy will be formally defined on page 56 and as
mentioned on page 37, occurs for the transportation problem
when a partial sum of the s;'s equals a partial sum of the d/s.
Under such circumstances a b.f.s. may be obtained in which
fewer than In + n - 1 of toe xijs are positive with the result
that there are insufficient equations to determine the u/ and
t',. This difficulty is overcome by making the problem nOI1-
degenerate as follows. Let
°
with supplies SI and demands ~ and the optimal solution for
the original problem is found by putting 8 = into the optimal
solution of the perturbed problem.
Example. Solve the transportation problem with cost malri"
(ell) = ( ! 2
supplies SI = 3, S2 = 5,
and demands d1 = 3, d: = 3, da = 2.
40
OTHER PROBLEMS OF TRANSPORTATION TYPE
3 3 2+2e
S, II, Vj o 4
3+e
5+e
Since Vl - 1I~ > cu , we put X 21 = 0 and find that the maximum value of
8 = 2+e, which gives the next tableau.
o 2+2e
1- .
o 5 I @
The u/ and VI now satisfy I', - IIj :S: Cjj for Xjj = 0, so putting e = 0, we
obtain the optimal solution
°
3
~ 1 with cost = 14.
The Caterer'sProblem
m
St ~ n1 ~ na n, "s ... nm L nt
1=1
nl 00 c c d d ... d 0
n2 00 00 c c d ... d 0
na 00 00 00 c c ... d 0
nm 00 00 00 00 00 ... 00 0
m
L'"
1=1
b b b b b ... b 0
by the three day service and napkins used from the second and
third days have been laundered by the one day service. The
infinite costs represent impossible supplies of napkins.
m n
maximise LL aijxlj,
1=1 j=1
n
subject to L Xii ~ 1 for
j=l
i = 1,2, .. . ,m, (10)
m
and L Xij ~ 1 for j = 1,2, ... , n. (11)
1=1
maximise LI aijxij
I=lj=l
43
THE TRANSPORTATION PROBLEM
n
subject to L xI} = 1 for i = 1,2,... , n
j=l
n
L xI} = 1 for j = 1,2, ... , n
i=l
2
o
where the supplies are SI = 6, S2 = 4,
and the demq,nds are d1 = 5, d2 = 2, da = 3.
4 6
5 7
6 5
11 12 13 1,
C1 8 9 5 6
C2 7 1 2 4
Ca 6 8 2 5
C, 1 3 9 3
45
CHAPTER FOUR
Pivotal Condensation
Suppose b1> b2 , ••• , bm is a basis for the space Rm , then the
vectors 81> 82' •.. , an E Rm can be expressed uniquely in terms
46
PRELIMINARY DISCUSSION AND RULES
of the basis by
m
aj = L filb; for j = 1,2, ' , " n, (1)
1=1
t 1s t,l
bi 111 ---- o
f,s
trl 1m • 1
as R, =-R T*
f rs frs f,s r
bm f m1 - - - ·
tmsf'l
o t
mn
fmsfrn
---
f,s
trs
47
THE SIMPLEX METHOD
the pivot and the relationship between the rows R, of T and the
rows R; of T* is shown in T*. The mechanics of the replace-
ment are summarised by the following rule.
Replacement Rule
• trj • (ir
t·=- and tij = lij- -(- I,; for i "" r.
rJ Ir• rs
subject to Ax = b and x ~ 0,
L xja
III
as = L fisa;, (3)
i=l
CII
a" b
I 0 tIs fIn Xl
0 0 trs tm Xr
0 1 tms tmn Xm
-----~
z-c 0 0 Zs - Cs Zn - Cn Zo
I
combination of Fi> F2 , ••• , Fm having the same nutritional
content as Fs or in other words substitute Fs. The unit cost of
m
substitute Fs is L fisC; so if Fs is cheaper than its substitute,
;=1
that is if
m
C~ < L
;=1
fiSC/ == ZS' (definition of zs) (4)
• • X, X,
X, = mlD- = -(say), (5)
tl. >0 t" t,. I
m
Zo= L C,X,.
1=1
and
• (zs - cs)
Zo = Zo- Xr
trs
50
PRELIMINARY DISCUSSION AND RULES
Proof By definition
Zj=
•
Lm ('
;=1
tiS) t,]
t j j - - t ' i C i + - C"
tr• trs
Hence
Rule II
Given that a. is to be included in the basis, calculate the
ratios Xi for tis > O. If the minimum of these ratios is achieved
tis
at i = r, replace the vector ar of the current basis by a" using
the pivot trs'
1 If c'x is to be maximised, then z. < c. is the criterion.
51
THE SIMPLEX METHOD
Example
Minimise
subject to = 12
- X2 + 12xa - 3x, + 4xs = 20
and Xi:::?: O.
c 2 6 -7 2 4
b
3 1
1 -- 121 0 3
4
1
4
3
I
0
4
3 -'4 1 5
--
17 11
z-c 0
2
23 --
2
0 26
1 3 1 3
- - -- I -- 0 -
2 8 8 2
3 3 I
2
1-7 1 0 --
8
I
2
,~I
--
23 I 21 17
z-c -- --- 0 - -- 0
2 8 8 2
This time the pivot is t 22 , as Zz - c~ > 0 and tzz.is the only positive liZ'
On re-applying the replacement rule, we obtain the optimal solution,
as Z ::;: CI for all j.
b
12
-
7
4
-
7
--
79 18 1 60
z-c --
7
0 0 -- --
7 7
--
7
60
the optimal basis a 2 and a3' and the value of the programme is Zo = - 1" .
It is a wise rule to calculate the elements of the bottom row first and
then to test for optimality, for in this way, unnecessary computation
can be avoided.
Alternative Proof
Let x* = (xf, x:, ... , x:), be any feasible vector for the
c.m.p., then it follows from (8) that
n m n m
b= L x;a = L x;aj+ L
j xj L tija j .
1=1 '=1 j=m+l 1=1
54
THEORY OF THE SIMPLEX METHOD
But
n
Xi = X; + L t/jxj,
j=m+1
and
1.. 1
m (
x; + L
n
J=m+1
ttrj ) .
n
c'x = c'x* + L (Zj - Cj)xj ~ c'x*,
i=m+1
m
Z. = L tis> C. and tis ~ 0 for i = 1,2, ... ,m,
1=1
m
where a, = L IlaB/. then the c.m. p. has no optimal solution.
1=1
5S
THE SIMPLEX METHOD
m m
Proof Since L x/al = band L tlsal = as, it follows that
/=1 /=1
m
L (XI -
1=1
lliS)a/ + las = b
Definition of non-degeneracy
XI• = XI - -t i
X,sJor
" .l = 1, 2, ... , m, Xs• = -Xr an d Xi• =0
I,s Irs
X X
- ' ~ ~ for tis> 0 ==*
1'3 Ii.•
x:;;:; 0 for all i.
Ax = b (9)
58
FURTHER TECHNIQUES AND EXTENSIONS
minimise u'w,
Example
Minimise
subject to
(10)
and XI~O.
subject to
= 4, (11)
and Xi~ O.
59
THE SIMPLEX METHOD
c 0 o o o o
82 b
2 3 0 6 -1 1 0 8
-3 -1 -2 7 0 0 1 4
--
z-c -I 2 -2 13 -1 0 0 12
27 12 6 32
132 - - 0 -1 1 -- -
T1 7 7 7 7
3 1 2 1 4
--
7 -7 7
1 0 0 -
7
-
7
32 27 12 13 32
z-c - - 0 -1 0 -
7 7 7 7 7
1
27
32
-
3
8
0 --327 7
-32 --
16
3
1
7 1 3 3 1
0 -
32
--
8
I --
32
-
32 16
1.
---
z-c 0 0 0 0 0 -1 -1 0
c 3 o o o
b
i27i 3 7 7 3
1 -- 0 -- - -- I
:32 8 32 32 16
7 1 3 3 1
0 -- 1 I
32 8 32 32 16
------- -
I 11 5 5 1
z -- c 0 -
16
--
4
0 --
16
-
16
--
8
2
--" ----~-.--
32
-
27
20
-
27
---
2 25 8 8 1 52
z- c -- 0 0 - -
27 9 27 27 9 27
It is easy to verify that the numbers in the bottom row of the tableau
8 -
under e1 and e2, Y = ( 27' 9"
1 )' ,are feasible for the dual problem
and the optimality of y follows as 8Yt + 4Y2 = ~~ , the value of the pro-
gramme. We now show that the simultaneous solution of the dual prob-
lem was no accident.
61
THE SIMPLEX METHOD
Suppose that we have an optimal solution for the c.m.p. and that the
L lua,
m
corresponding simplex tableau is as shown below, where e, =
'=1
m
and Y, = L Ii/c,.
=1
o
b
Let Ab = (aI' a2' .•. , am) be the matrix of the basis vectors and L =
(lu), then it follows fro.n (2) that the unit matrix I satisfies
1= (el , e2, ••• , em) = A~,
Degeneracy
. l(
mm-- x j ~jl)
+ L... eli' (14)
Ib>O tis j=l
then trs is the pivot for the replacement, as the higher powers
of 8 can be neglected. The method can easily be extended to
cover the case in which more than two tis qualify for the pivot.
We conclude this chapter by describing briefly two variations
of the simplex method. For a more detailed account of the
methods, the reader is referred to the books by Krek6 and Beale,
which are listed under the 'Suggestions for Further Reading' on
page 83.
Xr *= Xr
_. > 0 and *
Zj - c] ~ O. The value of Zo in the dual
trs
simplex method is the current value of the dual problem, which
is to maximise y'b subject to y'A ~ c', and the replacement
. ~~~~
mcreases the value of Zo by - ~ 0.
trs
The dual simplex method is applicable to the following type
of c.m.p:
minimise c'x,
subject to Ax +w= b and x ~ 0, w ~ 0,
and XI ~ O.
(This is an example of parametric linear programming.)
66
EXERCISES ON CHAPTER FOUR
Obtain the solution to the dual problem from the simplex tableau.
7. Solve by the simplex method:
maximise Xl + 6x + 4xa,
2
Xl + 2X2 + xa ~ 17,
Xl ~ 7, X2 ~ 2, Xa ~ 3.
Cereal
% carbohydrate 80 80 70 60
% protein 10 15 20 30
Cost per pound in shillings 1 2 3 4
What blend of the four cereals should the manufacturer use to minimise
the cost of the baby cereal? By how much must the cost of C2 be
reduced so that C2 is as cheap to use as CI in the manufacture of the
baby cereal, and give the blend in this case?
9. Show that an optimal basis for the c.m.p. remains optimal under
Ihe perturbation b -t b + bb, provided that L(b + bb) ~ 0, where L is
the inverse basis matrix.
67
CHAPTER FIVE
Game Theory
(1)
-!
In this game there is no single best strategy for either PI
or P 2 for if PI always uses S2, P 2 will use 110 in which case it
would be better for PI to use SI etc. It will be shown later that a
best policy for both players is to vary their choice of strategy
in a sequence of games, that is it pays PI to bluff occasionally.
DEFINITION. A two-person zero-sum game consists of two
strategy sets Sand T, where S E Sand 1 ET are the strategies
for the players PI and P2 respectively. The payoff, cp(s,I), repre-
sents the amount paid by PI to P2 as a result of the game in
which PI plays sand P 2 plays t, and is a real valued function
defined for all S E Sand t E T.
69
GAME THEORY
t1 f3
( )
3 -1
-1 3 (2)
2 2
maximin ¢ ~ minimax ¢,
maximin ¢ = minimax ¢.
Proof Since
maximin ¢ ~ minimax ¢.
71
GAME THEORY
so c/J has a saddle point at (9,t). Conversely suppose that c/J has
a saddle point at (s,i), then
c/J (9,t) ~ c/J(s,i) for all s E Sand t E T,
so
and maximin c/J ~ minimax c/J. Hence by the first part of the
theorem, equality must hold.
If the payoff has no saddle point then the game has no solution
in pure strategies, that is in strategies belonging to the strategy
sets Sand T. So to make progress we must introduce the
mixed strategy, which is represented by a probability density
function defined on a strategy set.
DEFINITION. The mixed strategies x(s) and y(t) for PI and
P 2 respectively, are real valued functions satisfying
L x(s) =
sES
1 and x(s) ~ 0 for all S E S, (5)
72
SOLUTION OF GAMES: MIXED STRATEGIES
q,(i,y) ~ w ~ ¢(x,y) for all mixed strategies xes) and yet) (6)
or equivalently
where w = ¢(x,y) is the value of the game and xes) and yet)
are called optimal strategies.
To verify the equivalence of (6) and (7), we assume that (7)
holds, and then use (5) to show that
73
GAME THEORY
_ 1
q,(X, (2) = - 6'
1
q,(S2,Y) = - 6'
'I4 12 f3 t,
SI
S2
Sa
( 6
6
4
5
5
6
4
6
6
4
0
) ,
Since the 2 X 2 matrix has no saddle point, the pure strategies for both
players are essential (this result only holds for 2 X 2 matrices). Let:X and
y be optimal strategies for PI and P2 respectively, where i(SI) = p,
i(S2) = 1 - p, y(t2) = q, y(t4) = 1 - q and 0 < p, q < 1. On applying
Theorem 4 we obtain
4J(i, t2)= 4p + 5(1 - p) = w
cp(x, tJ = 6p + 4(1 - p) = W
cp(Sl> ji) = 4q + 6(1 - q) = w
. . 1 14 2
whIch have the solutIOn p = - , w = - and q = -. Hence by Theo-
3 3 3
rem 3, a solution to the game is for PI to use his strategies SI and S2 with
probabilities ! and ~ respectively. for P~ to use his strategies I~ and
76
MINIMAX THEOREM
5. Minimax Theorem
Matrix Games
If S = (Sl, S2, ... , sm) and T = (/10 12 " .. , tn), then the mixed
strategies x(s) and y(t) for PI and P2 respectively, can be repre-
sented by the vectors x = (Xl> X2, " " "' xm)' and y = (Yl> Y2 •
. . ., Yn)', where Xi = x(s/) and Yi = y(t;). The conditions (5)
for a mixed strategy are equivalent to
m n
.J.(x , "v)=
'Y '~ ,L x·v·a··
I. J I] = x'Ay ,
where A = (aj)
i= I }-cl
G = (S,T;t/» becomes
i'A;;:;mv', Ay::;; mu, (11)
as the pure strategies correspond to the unit vectors e/.
Before proving the existence theorem, we require the result
that the sets of optimal strategies are unaltered by adding an
arbitrary constant to the payoff, that is if (x,y;ro) is a solution
to the game G = (S,T;t/», then (x,y;m + k) is a solution to
the game G = (S,T,t/> + k) (proof left as an exercise for the
reader).
THEOREM 5 (minimax theorem). A matrix game has a solution.
Proof. We assume that the maximin of the payoff matrix
A is positive, as this ensures that the value of the game is
positive. If necessary, this can be achieved by adding a suitable
constant to the elements of A. We now consider the s.m.p.,
minimise x'u
subject to x' A ~ v' and x ~ 0,
where u = (1, 1, ... , 1);" and v = (1, 1, ... , I);. A feasible
vector is x =aiiek where akl is the maximin. The dual problem
is to
maximise v'y
subject to Ay ~ u and y ~ 0,
°
for which y = is a feasible vector. Hence by the fundamental
duality theorem on page 19, there exist optimal vectors Xo and
Yo satisfying
, ,
Xou = vYo = Zo
where Zo > 0, as Xo must have at least one positive element to
satisfy the constraints. Let
-
X = Zo-1x o' -
y = Zo-1..0
1 , m=zo\
then (i,y;m) is a solution to the game, since i, y and m satisfy
the conditions (9), (10) and (11).
78
SOLUTION BY SIMPLEX METHOD
maxinaise v/y
subject to Ay ~ u and y ~ o. (12)
A= ( ! o
o
1
~
-1
),
Solution. Since maximin A = 0, we add 1 to the elements of A and
then convert (12) into the following canonical maximum problem,
maximise Yl + Y2 + Ya
4
subject to -Yl+ Y2 + 2Ya + WI = 1
3
2Yl + Y2 + Ya + w2 =1
4
TYI + 2Y2 + wa =1
and y,;;::: 0, WI;;::: o.
79
GAME THEORY
c o o 0
u
4
2 o
z-c
2 1 1 1
2
o o
3 2 2
4 1 1 1
3 2
o 2
o 2
4
o o 0 1 1
3
z-c
1
o ~~.-~--o--o-I- ~
3 2
-----J---
1
3 4
1
4
2 1
3 2
z-c o o o 2
o !I
I
3
4
is the value and Xo= ( ~ ,0, ~ is the optimal vector for the dual problem,
80
EXERCISES ON CHAPTER FIVE
which is found in the bottom row under the e/s. The corresponding opti-
mal strategies
•
.or
t' P d P! are x=
1 an
- Zo -1 Xo = (23,0, 31)' -=
,Y z" -1 Yo =
2. Evaluate the maximin and minimax for the game G = (S, T; q,),
where cfJ(S,/) =: 2s1 - S2 + 12 + 2s and S =: T is the field of real num-
bers, and hence solve the game.
3. Solve the game with the n X n payoff matrix, A = (all)' where
au = 0 for j =F j and ali > 0 for j = 1,2, ... , n. Use your result to solve
the game of exercise 1.
4. A game, G = (S, T; cJ» is called symmetric if S =: T and cJ>(S,/) =
- cJ>(t,s) for all sES and t ET. Show that x(s) is an optimal strategy for PI
if and only if cJ>(x,s) 2: 0 for all s E S.
Two aircraft each carry one rocket and the probability of the pilot of
either aircraft hitting the other aircraft by firing his rocket from a distance
d, is e- d • What is the best distance for the pilots to fire from, given that
each knows when the other has fired?
5. Solve the following game. PI is dealt one card and P2 is dealt two
cards from a pack of four aces. After looking at his card, PI guesses
which ace remains in the pack and then Pz, having heard PI'S guess and
having inspected his own cards, also guesses which ace remains in the
pack. If either player guesses correctly, he wins one from his opponent.
6. Use the simplex method to solve the game with payoff matrix
A = (-; -~ ~).
o -2 3
7. Commander A has three aircraft with which to attack a target
and his opponent B has four anti-aircraft missiles to defend it. To destroy
the target, it is sufficient for one of A's aircraft to penetrate B's defences.
There are three corridors through which A's aircraft can approach the
target; B can defend each corridor by placing any number of missiles
in it and each missile is guaranteed to destroy one and only one aircraft.
Find optimal strategies for A and B.
8. Show that the linear programme,
maximise ro
subject to x'A ~ roy', x'u =I and x ~ 0,
and its dual are feasible. Hence prove the mitiimax theorem for matrix
games. (u = (1, I, ... , I)~, v = (1, 1, ... , I)~)
9. Use the result of exercse 6 on page 12 to show that any non-
negative solution, y 2: 0, W 2: 0, of the equations
Ay + w = rou, v'y = 1,
can be expressed as a convex combination of the basic non-negative
solution of the equations. Hence prove that the set of optimal strategies
for P2 is a convex polytope. (u = (1, 1, ... , 1)~, v = (1, 1, ... , 1)~)
82
SUGGESTIONS FOR FURTHER READING
83
SOLUTIONS TO EXERCISES
Chapter I
1. Convex, not convex, convex.
3. C is empty (01 > 2), C is convex polytope (0 < IX ~ 2), C is half-
line (01 ~ 0).
Chapter II
4. x =.(0, 5'
8 19)'
5 ' value = - 568 .
6. Minimise OCn + l'
n
subject to L ocl~,(XJ) + ocn+1 ?:.f(x/)
'=1
for j = 1,2, ... , m,
L OCI~I(X;) - oc + ~f(x;)
N
Chapter III
84
SOLUTIONS TO EXERCISES
! D~
+ d~ + da and do 2: O.
7. Use equilibrium theorem and assume that the result does not hold.
Chapter IV
16 66 11)' 3
I. x = (0, 29' 0, 29,0, 29 ' value = - 29 .
2. No optimal solution.
5. x = (1,2,0, 1), is optimal for }. 2: 3 with value = ). + 5; no optimal
solution for ). < 3.
6. Y = (0, ~ , ~)', value = 32; optimal solution to dual is x =
3 3 3
1 2'
(
3'3) .
11 9 .,
7. X= ( 2'4,7), value = 47.
8.25% C1 , 75% C4 , cost = 3s Jd. Reduce by 3d, 33 t % C,' 66t % C4 •
Chapter V
1. (~~~)
..
2. M axlmJn = ..
minImax 1 soIutlOn.
= 2' ' IS . ( 1 1. 1)
S =2-' t = - 2;w=2 .
-4'
85
SOLUTIONS TO EXERCISES
_
6. x = (2'2,0 ,,= 3'3,0 or (4'4'2
1 1 )' _ ( 1 2 ) ' 1 1 1 )'
,0)= 1.
i)
A's (3,0,0) ( ; ; 1
strategies (2, 1,0) 1 I ;
for (1, I, 1) . 1 1 1
aircraft
Solution i = <+,;,0)', y = (0,;,0,1-)' (not unique), = t.
0)
86
Index
in simplex method, 63
Maximin, 71
Diet problem, 14
Minimax, 71
dual, 16
theorem, 78
interpretation of simplex me-
Mixed strategy, 72
thod,48
Dominated strategy, 74
Dual simplex method, 65 Normalisation of game, 70
Objective function, 18
Equilibrium theorem
Optimal assignment problem, 43
canonical, 23
Optimal strategy, 71, 73
standard, 22
Optimal vector, 18
Essential strategy, 75
basic, 25
Extreme point, 2
Optimality criterion, 53
88
LIBRARY OF MATHEMATICS
CALCULUS OF VARIATIONS A. M. Arthurs
COMPLEX NUMBERS W. Ledermann
DIFFERENTIAL CALCULUS P. J. Hilton
ELECTRICAL AND MECHANICAL OSCILLATIONS D. S. Jones
ELEMENTARY DIFFERENTIAL EQUATIONS AND OPERATORS
G. E. H. Reuter
FOURIER AND LAPLACE TRANSFORMS P. D. Robinson
FOURIER SERIES I. N. Sneddon
FUNCTIONS OF A COMPLEX VARIABLE D. O. Tall
INTEGRAL CALCULUS W. Ledermann
INTRODUCTION TO ABSTRACT ALGEBRA C. R. J. Clapham
INTRODUCTION TO MATHEMATICAL ANALYSIS C. R. J. Clapham
LINEAR EQUATIONS P. M. Cohn
LINEAR PROGRAMMING K. Trustrum
MULTIPLE INTEGRALS W. Ledermann
NUMBER THEORY T. H. Jackson
NUMERICAL APPROXIMATION B. R. Morton
PARTIAL DERIVATIVES P. J. Hilton
PRINCIPLES OF DYNAMICS M. B. Glauert
PROBABILITY THEORY A. M. Arthurs
SEQUENCES AND SERIES J. A. Green
SETS AND GROUPS J. A. Green
SETS AND NUMBERS S. Swierczkowski
SOLID GEOMETRY P. M. Cohn
SOLUTIONS OF LAPLACE'S EQUATION D. R. Bland
VIBRATING STRINGS D. R. Bland
VIBRATING SYSTEMS R. F. Chisnell