pygambit.gambit.MixedBehaviorProfile.max_regret#

MixedBehaviorProfile.max_regret() float | Rational#

Returns the maximum regret at any information set.

A profile is a Nash equilibrium if and only if max_regret() is 0.

Changed in version 16.5.0: New implementation of max_regret to clarify the distinction between per-player and per-agent concepts.