I'm using the Gambit game theory library to analyze a simplified version of poker by computing the Nash equilibrium. I've built a sizable extensive form game file through an external Python script, and am trying to compute the Nash equilibrium with the LP method. The game is constant sum and perfect recall. I am able to import the game from a text file into the Python Gambit library with no issues, and Gambit seems to read in the info sets, payoffs, players, nodes, etc correctly.
However, when I run
gambit.nash.lp_solve(game, rational=False), I get the following error:
RuntimeError: bad pivot in LUdecomp
I cannot find any documentation of this error in the source code or anywhere else online. I've used this command on the sample games successfully. Does anyone have any idea what may be causing this issue?