.. _gambit-enumpoly: :program:`gambit-enumpoly`: Compute equilibria of a game using polynomial systems of equations ============================================================================================== :ref:`Algorithm description ` When the verbose switch `-v` is used, the program outputs each support as it is considered. The supports are presented as a comma-separated list of binary strings, where each entry represents one player. The digit 1 represents a strategy which is present in the support, and the digit 0 represents a strategy which is not present. Each candidate support is printed with the label "candidate,". The approach of subdividing the space of totally mixed profiles assumes solutions to the system of equations and inequalities are isolated points. In the case of degeneracies in the resulting system, When the verbose switch `-v` is used, these supports are identified on standard output with the label "singular,". This will occur if there is a positive-dimensional set of equilibria which all share the listed support. However, the converse is not true: not all supports labeled as "singular" will necessarily be the support of some set of equilibria. .. program:: gambit-enumpoly .. cmdoption:: -d Express all output using decimal representations with the specified number of digits. .. cmdoption:: -h Prints a help message listing the available options. .. cmdoption:: -H By default, the program uses an enumeration method designed to visit as few supports as possible in searching for all equilibria. With this switch, This switch only has an effect when solving strategic games. .. cmdoption:: -S By default, the program uses behavior strategies for extensive games; this switch instructs the program to use reduced strategic game strategies for extensive games. (This has no effect for strategic games, since a strategic game is its own reduced strategic game.) .. cmdoption:: -m .. versionadded:: 16.3.0 Specify the maximum regret criterion for acceptance as an approximate Nash equilibrium (default is 1e-4). See :ref:`pygambit-nash-maxregret` for interpretation and guidance. .. cmdoption:: -e EQA .. versionadded:: 16.3.0 By default, the program will search all support profiles. This switch instructs the program to terminate when EQA equilibria have been found. .. cmdoption:: -q Suppresses printing of the banner at program launch. .. cmdoption:: -v Sets verbose mode. In verbose mode, supports are printed on standard output with the label "candidate" as they are considered, and singular supports are identified with the label "singular." By default, no information about supports is printed. Computing equilibria of the strategic game :download:`e01.nfg <../contrib/games/e01.efg>`, the example in Figure 1 of Selten (International Journal of Game Theory, 1975) sometimes called "Selten's horse" $ gambit-enumpoly e01.nfg Compute Nash equilibria by solving polynomial systems Gambit version |release|, Copyright (C) 1994-2026, The Gambit Project This is free software, distributed under the GNU GPL NE,1.000000,0.000000,1.000000,0.000000,0.000000,1.000000 NE,0.000000,1.000000,1.000000,0.000000,1.000000,0.000000 NE,0.000000,1.000000,0.333333,0.666667,1.000000,0.000000 NE,1.000000,0.000000,1.000000,0.000000,0.250000,0.750000