The Optional Prisoner's Dilemma (OPD) game models a situation of conflict involving two players in game theory. It can be seen as an extension of the standard prisoner's dilemma game, where players have the option to "reject the deal", that is, to abstain from playing the game. This type of game can be used as a model for a number of real world situations in which agents are afforded the third option of abstaining from a game interaction such as an election. 
The structure of the Optional Prisoner's Dilemma can be generalized from the standard prisoner's dilemma game setting. In this way, suppose that the two players are represented by the colors, red and blue, and that each player chooses to "Cooperate", "Defect" or "Abstain".
The payoff matrix for the game is shown below:
|Cooperate||R, R||S, T||L, L|
|Defect||T, S||P, P||L, L|
|Abstain||L, L||L, L||L, L|
- If both players cooperate, they both receive the reward R for mutual cooperation.
- If both players defect, they both receive the punishment payoff P.
- If Blue defects while Red cooperates, then Blue receives the temptation payoff T, while Red receives the "sucker's" payoff, S.
- Similarly, if Blue cooperates while Red defects, then Blue receives the sucker's payoff S, while Red receives the temptation payoff T.
- If one or both players abstain, both receive the loner's payoff L.
The following condition must hold for the payoffs:
T > R > L > P > S
- Cardinot, Marcos; Gibbons, Maud; O'Riordan, Colm; Griffith, Josephine (2016). "Simulation of an Optional Strategy in the Prisoner's Dilemma in Spatial and Non-spatial Environments". From Animals to Animats 14. Lecture Notes in Computer Science. Vol. 9825. pp. 145–156. doi:10.1007/978-3-319-43488-9_14. ISBN 978-3-319-43487-2.
- Batali, John; Kitcher, Philip (1995). "Evolution of altriusm in optional and compulsory games" (PDF). Journal of Theoretical Biology. 175 (2): 161–171. doi:10.1006/jtbi.1995.0128. Archived from the original (PDF) on 2019-02-22.
- Cardinot, Marcos; O'Riordan, Colm; Griffith, Josephine (2016). "The Optional Prisoner's Dilemma in a Spatial Environment: Coevolving Game Strategy and Link Weights". ECTA. Proceedings of the 8th International Joint Conference on Computational Intelligence. Vol. 1. pp. 86–93. doi:10.5220/0006053900860093. ISBN 978-989-758-201-1.