Chadwick Gambit: Software Tools for Game Theory

pygambit.nash.gnm_solve#

pygambit.nash.gnm_solve(game: Game, external: bool = False) List[MixedStrategyProfile]#

Compute Nash equilibria of a game using a global Newton method.

Parameters:
  • game (Game) – The game to compute equilibria in.

  • external (bool, default False) – Call the external command-line solver instead of the internally-linked implementation. Requires the command-line solvers to be installed somewhere accessible in the system path.

Returns:

The list of mixed strategy profiles computed.

Return type:

List of mixed strategy profiles