Prerequisites: Chapters 1, and 2.
As in the previous page we discuss games on graphs. The most interesting feature of these games is that they always have pure Nash equilibria.
Let us briefly repeat the definition of an undirected graph, given in the sibling chapter. Undirected graphs have vertices, displayed by small circles. Some pairs of vertices are connected by undirected edges. They are visualized by curves connecting the two vertices. Vertices connected by an edge are called adjacent.
Again we use graphs to model islands. The vertices represent the villages, and the edges the roads between the villages.
Play the game here on Graph 1, Graph 2, Graph 6, Graph 8, Graph 9, Graph 10, or Graph 11.
Different to the doctor version, the restaurant version is not a constant-sum game, since the total number of customers varies. If both restaurants are placed far apart, the total number of customers would normally be higher than if the restaurants are located in adjacent villages, or even in the same village. Actually, if the graph is large enough, then the restaurants might find their own niches far apart, and there would not be much competition between them. This is different to what happens in the doctor location game. The game gets more interesting if the graph is smaller, in which case some competition between the restaurants is unavoidable.
Adam Smith coined the phrase "the invisible hand" in his book "The Wealth of Nations". This phrase stands for the claim that, if government allows the different agents to act freely, almost magically a solution best for the whole society will occur. Of course, nowadays we know that some mechanisms work like this and others don't. We have seen in the Doctor Location Chapter that letting doctors choose their location does not necessarily result in a solution desirable for the villagers. In the restaurant location model we consider here, we will see that the invisible hand seems to work, maybe not perfect but all right, at least in the examples we look at.
How are the payoffs computed in the three cases where the restaurants are placed in the same village, or in adjacent villages, or in nonadjacent villages? It turns out that they only depend on three quantities: the number d(x) of neighbors of vertex x, the number d(y) of neighbors of y, and the number n(x,y) of common neighbors of the vertices x and y, where x and y are the locations of Ann's and Beth's restaurants.
Doing all these computations, we arrive at the following payoff bimatrix:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
| 1 | 5/4, 5/4 | 7/4, 7/4 | 7/4, 7/4 | 2, 3/2 | 2, 2 | 9/4, 7/4 | 9/4, 7/4 |
| 2 | 7/4, 7/4 | 5/4, 5/4 | 7/4, 7/4 | 9/4, 7/4 | 9/4, 9/4 | 9/4, 7/4 | 2, 3/2 |
| 3 | 7/4, 7/4 | 7/4, 7/4 | 5/4, 5/4 | 2, 3/2 | 2, 2 | 5/2, 2 | 9/4, 7/4 |
| 4 | 3/2, 2 | 7/4, 9/4 | 3/2, 2 | 1, 1 | 3/2, 2 | 7/4, 7/4 | 2, 2 |
| 5 | 2, 2 | 9/4, 9/4 | 2, 2 | 2, 3/2 | 5/4, 5/4 | 2, 3/2 | 9/4, 7/4 |
| 6 | 7/4, 9/4 | 7/4, 9/4 | 2, 5/2 | 7/4, 7/4 | 3/2, 2 | 1, 1 | 3/2, 3/2 |
| 7 | 7/4, 9/4 | 3/2, 2 | 7/4, 9/4 | 2, 2 | 7/4, 9/4 | 3/2, 3/2 | 1, 1 |
The Maximin moves for both players are 1, 2, 3, and 5, exactly the vertices with three neighbors. The Security Level achieved by these moves is 5/4.
There are four Nash equilibria, which are shaded in the table.
Two of them are shown below, the other two are obtained by interchanging Ann's and Beth's move.

For these graph they are the only outcomes where every village is adjacent
to some restaurant, but of course this is not true in general.
Still, the four Nash equilibria are the only outcomes where the sum of the payoffs
reaches the maximum occurring value of 9/2.
Play the game here on Graph 11.
| Gr2 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 1 | 3/2, 3/2 | 9/4, 7/4 | 5/2, 2 | 9/4, 5/4 | 2, 5/2 | 2, 2 | 5/2, 2 | 3, 2 |
| 2 | 7/4, 9/4 | 5/4, 5/4 | 7/4, 7/4 | 9/4, 7/4 | 3/2, 5/2 | 2, 5/2 | 9/4, 9/4 | 9/4, 7/4 |
| 3 | 2, 5/2 | 7/4, 7/4 | 5/4, 5/4 | 5/2, 2 | 7/4, 11/4 | 9/4, 11/4 | 2, 2 | 2, 3/2 |
| 4 | 5/4, 9/4 | 7/4, 9/4 | 2, 5/2 | 1, 1 | 3/2, 3 | 5/4, 9/4 | 7/4, 9/4 | 2, 2 |
| 5 | 5/2, 2 | 5/2, 3/2 | 11/4, 7/4 | 3, 3/2 | 7/4, 7/4 | 5/2, 2 | 11/4, 7/4 | 3, 3/2 |
| 6 | 2, 2 | 5/2, 2 | 11/4, 9/4 | 9/4, 5/4 | 2, 5/2 | 3/2, 3/2 | 9/4, 7/4 | 11/4, 7/4 |
| 7 | 2, 5/2 | 9/4, 9/4 | 2, 2 | 9/4, 7/4 | 7/4, 11/4 | 7/4, 9/4 | 5/4, 5/4 | 2, 3/2 |
| 8 | 2, 3 | 7/4, 9/4 | 3/2, 2 | 2, 2 | 3/2, 3 | 7/4, 11/4 | 3/2, 2 | 1, 1 |
This game has four pure Nash equilibria, colored in the bimatrix above. In both these cases, the sum of payoffs of both players equals 9/2. However the combination of one restaurant in village 1 and the other one in village 8 serves the community better, since the sum of payoffs is 5 in this case. This combination maximizes the number of villagers reached.
Move number 5 is the only Maximin move, with a security level of 7/4. The maximum degree of the graph equals Δ = 5. Again vertex 5 is the vertex whose degree equals the maximum degree Δ. This is not a coincidence:
Why? If Ann plays vertex x, the worst that could happen to Ann is when Beth also places her restaurant on vertex x, since both payoffs then are 1/2 + d(x)/4, which is always lower or equal to the Ann's payoffs 1+ d(x)/2 - n(x,y)/4 respectively 1/2 + d(x)/2 - n(x,y)/4 when Beth places her restaurant somewhere else (since n(x,y) ≤ d(x)). Thus in row x, the minimum value for Ann is 1/2 + d(x)/4. This value is maximized for x with maximal d(x).
For every vertex x, the payoff Ann would get from the restaurant in x in the absence of Beth, or if Beth places her restaurant far away is 1+d(x)/2. Of course, the same is true for Beth, if she places her restaurant at y and Ann places far away, Beth's payoff is 1+d(y)/2. But if the locations x and y are closer together, both payoffs are reduced. Moreover, and this is the important part, both payoffs are reduced by the same amount. This amount equals
We can even describe how to find a Nash equilibrium. Starting with any vertex, we proceed to one of its best responses, and from that vertex to one of its best responses, and so on. In other words, we start with any vertex and move along arcs of the best response digraph. Eventually we must visit a vertex that we have seen already in the sequence. In other words, we will find a directed cycle in the best response digraph. We will only discuss one special case, but the others can be treated similarly.
The special case is where the cycle consists of four different vertices x, y, z, and w, i.e. where y is a best response to x, z a best response to y, w is a best response to z, and x is a best response to w. Since y is the best response to x, and therefore at least as good a response as w, we get
We could also play variants where two restaurant chains place not only one but several restaurants each. Remember that we are still playing a simultaneous game, all location decisions are made simultaneously by the two players. If a village hosts no restaurant, but two restaurants from Ann's chain and one from Beth's chain are adjacent, then still half of the population would go to a restaurant, one fourth to to one from Ann's chain and one fourth to Beth's restaurant. Thus they would not visit every adjacent restaurant with the same frequency. This could be explained by 50% of the population of every village having a very slight preference towards Ann's chain, and 50% towards Beth's chain, so slight that they would always go to the closer one no matter what brand, but in case of a tie of distance, they would go to their preferred brand.
Let us discuss what can happen at the example of
Graph 10.
Note that, since you cannot click simultaneously with one mouse,
in this applet you have to press the button "Seq Ann---Beth", and then select
Ann's first restaurant, Beth's first restaurant, Ann's second restaurant,
and Beth's second restaurant, in this order.
...
...
To the right is part of the condensed best response digraph. Obviously dominated moves,
like placing both restaurant in the same village, are eliminated, Furthermore all
moves that are not best responses of another move are eliminated. Those moves that
are not best response of a best response of a best response ... of a move, with
arbitrary length of this sequence, are displayed in light bold.
In the remaining part, many cycles can be observed, but no cycles of length 2 or 1,
thus there is no pure Nash equilibrium.