Prerequisites: Chapters 1, and 2.
As in in the doctor location games page we discuss games on graphs. Here the most interesting features are existence or nonexistence of pure Nash equilibria. The corresponding sequential versions will be discussed later.
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.
As in the doctor location chapter we use graphs for modeling 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, or Graph 10.
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 this is probably what would happen. The restaurants would 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, and there must be some competition between the restaurants.
Adam Smith coined the phrase "the invisible hand" in his book "The Wealth of Nation". 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 just seen in the previous section 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 works at least for the examples we look at.
Let me explain how the payoffs are computed in these three cases where the restaurants are placed in the same village, or in adjacent villages, or farer apart.. It turns out that they only depend on three quantities namely 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 it may seem that the Nash equlibria are also good for the society
insofar as they give a distribution that reaches as many people as possible.
In the example, the four Nash equilibria are the only outcomes where the sum of the payoffs
reaches the maximum occuring value of 9/2.
Are these observations true in general?
Play the game here on Graph 1.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
| 1 | 5/4, 5/4 | 7/4, 7/4 | 2, 2 | 2, 2 | 7/4, 9/4 | 2, 2 | 9/4, 9/4 |
| 2 | 7/4, 7/4 | 5/4, 5/4 | 9/4, 9/4 | 2, 2 | 7/4, 9/4 | 2, 2 | 2, 2 |
| 3 | 2, 2 | 9/4, 9/4 | 5/4, 5/4 | 2, 2 | 7/4, 9/4 | 2, 2 | 2, 2 |
| 4 | 2, 2 | 2, 2 | 2, 2 | 5/4, 5/4 | 2, 5/2 | 7/4, 7/4 | 2, 2 |
| 5 | 9/4, 7/4 | 9/4, 7/4 | 9/4, 7/4 | 5/2, 2 | 3/2, 3/2 | 5/2, 2 | 9/4, 7/4 |
| 6 | 2, 2 | 2, 2 | 2, 2 | 7/4, 7/4 | 2, 5/2 | 5/4, 5/4 | 2, 2 |
| 7 | 9/4, 9/4 | 2, 2 | 2, 2 | 2, 2 | 7/4, 9/4 | 2, 2 | 5/4, 5/4 |
This game has eight pure Nash equilibria, colored in the bimatrix above.
Again four of them are shown below, the other four are just obtained by interchanging the
moves of the players.
The conjecture about the Nash equilibria being the only outcomes maximizing the sum of the payoffs of the two players (and thereby also maximizing the number of villagers reached) is also true in this example.
Variants of the games are obtained by considering graphs with different weights of the vertices--- meaning that the villages have no longer equal but varying population. In Graph 3, for instance, vertices 4, 7, and 10 have double weight.
The above description of the payoffs is still valid, but d(x) now must mean the sum of the weights of the neighbors of vertex x, n(x,y) the sum of the weights of the common neighbors of x and y, and w(x) and w(y) the weights of x and y. Then, if Ann places her restaurant in location x and Beth in location y,Every one-restaurant location game, even when played with weights, has the following properties:
In the restaurant location game with one restaurant to choose for each player, f(x) is the payoff Ann would get from the restaurant in x in the absence of Beth. using the notations d(x) and n(x,y) described above, f(x)=w(x)+d(x)/2. The symmetric value g(x,y)=g(y,x) is the amount that has to be subtracted form this ideal maximum possible payoff f(x) when placing at x, due to the sharing of some possible customers. It equals
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 simultanously by the two players. It is not at all obvious how to handle ties, for instance where one vertex is adjacent to one of Ann's restaurants and two of Beth's restaurants. Half of the population of that village go to a restaurant, but will one third of them go to Ann's restaurnt and two thirds to Beth's restaurants? Or. and this is the point of view we take, does half of them go to Ann's restaurant, and half to Beth's restaurants? This point of view could be justifies if the population has a very slight bias, half of them towards Ann's and the other half towards Beth's restaurants, so slight that they always go to the closer one no matter what brand, but in case of a tie of distance, they go to their preferred brand.
Let us discuss what can happen at the example of Graph 10. ..........
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 reponse ... 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.