Chadwick Gambit: Software Tools for Game Theory

pygambit.nash.enumpure_solve#

pygambit.nash.enumpure_solve(game: Game, use_strategic: bool = True) NashComputationResult#

Compute all pure-strategy Nash equilibria of game.

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

  • use_strategic (bool, default True) – Whether to use the strategic form. If False, computes all agent-form pure-strategy equilibria, which consider only unilateral deviations at each individual information set.

Returns:

res – The result represented as a NashComputationResult object.

Return type:

NashComputationResult