pygambit.nash.enumpure_solve#
- pygambit.nash.enumpure_solve(game: Game, use_strategic: bool = True, external: bool = False) List[MixedStrategyProfile] | List[MixedBehaviorProfile]#
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 treat only unilateral deviations at each individual information set.
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:
List of mixed strategy or mixed behavior profiles computed.
- Return type:
List of profiles
