Skip to content

Handling biffurcations in the tracer#955

Open
AndresFerCervell wants to merge 3 commits into
gambitproject:masterfrom
AndresFerCervell:feature/bifurcation-fix
Open

Handling biffurcations in the tracer#955
AndresFerCervell wants to merge 3 commits into
gambitproject:masterfrom
AndresFerCervell:feature/bifurcation-fix

Conversation

@AndresFerCervell

Copy link
Copy Markdown
Contributor

Issues closed by this PR

Description of the changes in this PR

This PR introduces several mathematical and structural improvements to the QRE (Quantal Response Equilibrium) tracing algorithm to increase convergence stability and prevent crashes, particularly in edge-case games.

  • Stabilized Predictor-Corrector in path.cc using alternating multidimensional perturbations at bifurcations.
  • Replaced strict orientation flip rejection with a lambda-based geometric safeguard to handle fold bifurcations.

It also adds an entry in Changelog.

How to review this PR

-Review the symmetry-breaking logic.
-Run gambit-logit on team_mp.txt to confirm it now reaches the Nash Equilibrium successfully without getting stuck in the bifurcation.
The mathematical explanation can be found here: https://github.com/AndresFerCervell/GSoC-2026-Gambit-Portfolio/blob/main/Gambit_Logit_Algorithm.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: QRE tracing stalling at bifurcation, incorrectly reporting output as Nash

1 participant