pygambit.nash.GNMResult#

class pygambit.nash.GNMResult(*, game: Game, rational: bool, use_strategic: bool, perturbation: MixedStrategyProfileDouble, end_lambda: float, steps: int, local_newton_interval: int, local_newton_maxits: int, equilibria: list[MixedStrategyProfile], success: bool, reason: GNMTerminationReason)#

The result of gnm_solve.

perturbation#

The perturbation vector the path-following run was traced from.

Type:

MixedStrategyProfileDouble

end_lambda#

The value of the perturbation magnitude lambda at which tracing was set to terminate.

Type:

float

steps#

The number of steps taken within a support cell which was used.

Type:

int

local_newton_interval#

The frequency of local Newton method correction steps which was used.

Type:

int

local_newton_maxits#

The maximum number of iterations in a local Newton method step which was allowed.

Type:

int

equilibria#

The equilibria found along the path.

Type:

MixedStrategyEquilibriumSet

success#

False if the run ended in a numerical breakdown (see reason); True if it ended normally (whether or not further equilibria might exist beyond where tracing stopped).

Type:

bool

reason#

Why path-following terminated.

Type:

GNMTerminationReason

Methods

Attributes