pygambit.nash.EnumPolyResult#

class pygambit.nash.EnumPolyResult(*, game: Game, rational: bool, use_strategic: bool, stop_after: int | None, maxregret: float, max_rectangles: int | None, phcpack_path: Path | str | None = None, equilibria: list[MixedStrategyProfile] | list[MixedBehaviorProfile], success: bool)#

The result of enumpoly_solve.

stop_after#

The maximum number of equilibria which were to be computed, if specified.

Type:

int, optional

maxregret#

The acceptance criterion for approximate Nash equilibrium which was used.

Type:

float

max_rectangles#

The maximum number of rectangles examined per support which was allowed. Not set when phcpack_path was used.

Type:

int, optional

phcpack_path#

Set if PHCpack was used to solve the systems of equations.

Type:

pathlib.Path or str, optional

equilibria#

The equilibria found.

Type:

MixedStrategyEquilibriumSet or MixedBehaviorEquilibriumSet

success#

Always True. (A support being skipped as singular, or exhausting its rectangle budget, is reported only via event_callback; it is not yet reflected here.)

Type:

bool

Methods

Attributes