# El Farol Bar problem source: en.wikipedia.org/wiki/El_Farol_Bar_problem

The **El Farol bar problem** is a problem in game theory. Every Thursday night, a fixed population want to go have fun at the El Farol Bar, unless it's too crowded.

- If
**less than 60%**of the population go to the bar, they'll all have more fun than if they stayed home. - If
**more than 60%**of the population go to the bar, they'll all have less fun than if they stayed home.

Everyone must decide *at the same time* whether to go or not, with no knowledge of others' choices.

Paradoxically, if everyone uses a deterministic pure strategy which is symmetric (same strategy for all players), it is guaranteed to fail no matter what it is. If the strategy suggests it will not be crowded, everyone will go, and thus it *will* be crowded; but if the strategy suggests it will be crowded, nobody will go, and thus it will *not* be crowded, but again no one will have fun. Better success is possible with a probablistic mixed strategy. For the single-stage El Farol Bar problem, there exists a unique symmetric Nash equilibrium mixed strategy where all players choose to go to the bar with a certain probability, determined according to the number of players, the threshold for crowdedness, and the relative utility of going to a crowded or uncrowded bar compared to staying home. There are also multiple Nash equilibria in which one or more players use a pure strategy, but these equilibria are not symmetric.^{[1]} Several variants are considered in *Game Theory Evolving* by Herbert Gintis.^{[2]}

In some variants of the problem, the players are allowed to communicate before deciding to go to the bar. However, they are not required to tell the truth.

Based on a bar in Santa Fe, New Mexico, the problem was created in 1994 by W. Brian Arthur. However, under another name, the problem was formulated and solved dynamically six years earlier by B. A. Huberman and T. Hogg.^{[3]}

## Minority game[edit]

A variant is the **Minority Game** proposed by Yi-Cheng Zhang and Damien Challet from the University of Fribourg.^{[4]} An odd number of players each must make a binary choice independently at each turn, and the winners are those players who end up on the minority side. As in the El Farol Bar problem, no single (symmetric) deterministic strategy can give an equilibrium, but for mixed strategies there is a unique symmetric Nash equilibrium (each player chooses with 50% probability), as well as multiple non-symmetric equilibria.

A multi-stage, cooperative Minority Game was featured in the manga *Liar Game*, in which the majority was repeatedly eliminated until only one player was left.

## Kolkata Paise Restaurant Problem[edit]

Another variant of the El Farol Bar problem is the **Kolkata Paise Restaurant Problem**,^{[5]}^{[6]}^{[7]}^{[8]}^{[9]}^{[10]} named for the many cheap restaurants where laborers can grab a quick lunch, but may have to return to work hungry if their chosen restaurant is too crowded. Formally, a large number *N* of players each choose one of a large number *n* of restaurants, typically *N* = *n* (while in the El Farol Bar Problem, *n* = 2, including the stay-home option). At each restaurant, one customer at random is served lunch (payoff = 1) while all others lose (payoff = 0). The players do not know each others' choices on a given day, but the game is repeated daily, and the history of all players' choices is available to everyone. Optimally, each player chooses a different restaurant, but this is practically impossible without coordination, resulting in both hungry customers and unattended restaurants wasting capacity.

Strategies are evaluated based on their aggregate payoff and/or the proportion of attended restaurants (utilization ratio). A leading stochastic strategy, with utilization ~0.79, gives each customer a probability *p* of choosing the same restaurant as yesterday (*p* varying inversely with the number of players who chose that restaurant yesterday), while choosing among other restaurants with uniform probability. This is a better result than deterministic algorithms or simple random choice (noise trader), with utilization fraction 1 - ^{1}/* _{e}* ≈ 0.63.

In a similar problem, there are hospital beds in every locality, but patients are tempted to go to prestigious hospitals out of their district. However, if too many patients go to a prestige hospital, some get no hospital bed at all, while additionally wasting the unused beds at their local hospitals.

## References[edit]

**^**Whitehead, Duncan (2008-09-17). "The El Farol Bar Problem Revisited: Reinforcement Learning in a Potential Game" (PDF). University of Edinburgh School of Economics. Retrieved 2014-12-13.**^**Gintis, Herbert (2009). "Game Theory Evolving".**6**(24). Princeton University Press: 134. Cite journal requires`|journal=`

(help)**^**"The Ecology of Computation", Studies in Computer Science and Artificial Intelligence, North Holland publisher, page 99. 1988.**^**D. Challet, M. Marsili, Y.-C. Zhang, Minority Games: Interacting Agents in Financial Markets, Oxford University Press, Oxford (2005)**^**A. S. Chakrabarti, B. K. Chakrabarti, A. Chatterjee, M. Mitra (2009). "The Kolkata Paise Restaurant problem and resource utilization".*Physica A*.**388**(12): 2420–2426. arXiv:0711.1639. Bibcode:2009PhyA..388.2420C. doi:10.1016/j.physa.2009.02.039.CS1 maint: uses authors parameter (link)**^**Asim Ghosh, Bikas K. Chakrabarti. "Kolkata Paise Restaurant (KPR) Problem". Wolfram Alpha.**^**A. Ghosh, D. D. Martino, A. Chatterjee, M. Marsili, B. K. Chakrabarti (2012). "Phase transition in crowd dynamics of resource allocation".*Physical Review E*.**85**(2): 021116. arXiv:1109.2541. Bibcode:2012PhRvE..85b1116G. doi:10.1103/physreve.85.021116.CS1 maint: uses authors parameter (link)**^**Frédéric Abergel, Bikas K. Chakrabarti, Anirban Chakraborti, Asim Ghosh (2013) (2013).*Econophysics of Systemic Risk and Network Dynamics*(PDF). New Economic Windows. Bibcode:2013esrn.book.....A. doi:10.1007/978-88-470-2553-0. ISBN 978-88-470-2552-3.CS1 maint: uses authors parameter (link)**^**A. Chakraborti, D. Challet, A. Chatterjee, M. Marsili, Y.-C. Zhang, B. K. Chakrabarti (2015). "Statistical Mechanics of Competitive Resource Allocation using Agent-Based Models".*Physics Reports*.**552**: 1–25. arXiv:1305.2121. Bibcode:2015PhR...552....1C. doi:10.1016/j.physrep.2014.09.006.CS1 maint: uses authors parameter (link)**^**Bikas K Chakrabarti, Arnab Chatterjee, Asim Ghosh, Sudip Mukherjee, Boaz Tamir (2017).*Econophysics of the Kolkata Restaurant Problem and Related Games: Classical and Quantum Strategies for Multi-agent, Multi-choice Repetitive Games*. ISBN 978-3-319-61351-2.CS1 maint: uses authors parameter (link)

## Further reading[edit]

- Arthur, W. Brian (1994). "Inductive Reasoning and Bounded Rationality" (PDF).
*American Economic Review: Papers and Proceedings*.**84**: 406–411. Retrieved 2014-12-13.