Part A: make the other side indifferent
No room is safe for either side. The thief's worst case is whichever room it robs, and the
guard's worst case is 4 or 9. So both must mix. If the thief robs Gold with probability , then
watching Gold gives the thief and watching Silver gives . The
thief chooses to make these equal, so that the guard gains nothing by choosing:
, so . The value is 27/19, about 1.42 a night.
The guard does the same from its side and watches Gold with probability , more
often than Silver though Silver is robbed more often. Each side's probabilities are set by the
other side's payoffs: the guard must make the thief indifferent, and Gold is where the thief has
the most to win.
Part B: three equations for three rooms
Here every room is in play. If the thief robs each room some of the time, the guard's mix must
make all three rooms equally good for the thief. With probabilities , , of watching
Gold, Silver and Bronze, the three rooms give the thief , and
. Setting them equal, with , gives
and every room then gives the thief . The thief's own optimal mix,
found the same way, robs Gold, Silver and Bronze with probabilities ,
and . Both mixes are unique. Bronze is robbed most often and
watched least: guarding it buys little.
Part C: the game is a linear program
Add a constant to every payoff so that all are positive. That shifts the value by the same
constant and changes no strategy. Now, for the guard, consider
For any feasible , the strategy holds the thief to at most
. Maximizing minimizes that bound. The LP's dual,
subject to , , is the same construction for the
thief. By LP duality both optima are equal, and the dual solution comes free from the final
simplex tableau: it is the negated objective row under the slack columns.
The grader checks the result as a certificate. If and
, then is the value and both strategies are optimal, whoever computed
them and however.
Why not just play the game? Fictitious play has each side best-respond to the other's history
so far. Robinson proved in 1951 that it converges to the value, but slowly: after 3000 rounds of
part A, its guarantees are still about 0.005 from the value. Multiplicative weights needs about
rounds for accuracy . Exact optimal strategies need an LP.
Part D: the minimax theorem from duality
The guard's problem is: minimize subject to for every ,
and . Its dual is: maximize subject to for
every , and , which is exactly the thief's problem. Both are feasible
and bounded, so strong duality makes their optimal values equal. That common value is the value of
the game: .
The check in part C needs no knowledge of . For every guard strategy ,
, so no guard holds this thief below . For every
thief strategy , in the same way. So the value is at least and at most
.
Going further
- Learning to play. If both sides run multiplicative weights against each other, their
average strategies approach an equilibrium (Freund and Schapire). That gives a proof of the
minimax theorem with no LP at all; see
Multiplicative Weights.
- Games that are not zero-sum. Every finite game has a Nash equilibrium, but computing one is
PPAD-complete even for two players (Daskalakis, Goldberg and Papadimitriou; Chen and Deng). The
LP trick works only because one side's gain is the other's loss.
- Guards who move first. Security games let the defender commit to a mixed strategy that the
attacker observes before choosing. In a zero-sum game this costs the guard nothing, which is
another reading of the minimax theorem. Such models have scheduled real patrols, at airports and
ports.
References
- J. von Neumann. Zur Theorie der Gesellschaftsspiele. Mathematische Annalen 100, 1928.
- G. B. Dantzig. A proof of the equivalence of the programming problem and the game problem. In
Activity Analysis of Production and Allocation, Wiley, 1951.
- J. Robinson. An iterative method of solving a game. Annals of Mathematics 54(2), 1951.
- Y. Freund, R. E. Schapire. Adaptive game playing using multiplicative weights. Games and
Economic Behavior 29, 1999.
- C. Daskalakis, P. W. Goldberg, C. H. Papadimitriou. The complexity of computing a Nash
equilibrium. SIAM Journal on Computing 39(1), 2009.
- X. Chen, X. Deng, S.-H. Teng. Settling the complexity of computing two-player Nash
equilibria. Journal of the ACM 56(3), 2009.