We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! I try to find equilibrium in 19x2 matrix, but an empty array with equilibrium is returned to me. Here is my code
game = nash.Game(Player1, Player2) try: equlibrium = list(game.support_enumeration())[0] except IndexError: try: equlibrium = list(game.support_enumeration(non_degenerate=True))[0] except: equlibrium = list(game.support_enumeration(non_degenerate=True)) print("equlibrium", equlibrium) print("Player1 - ", numEqulibriumPlayer1, "Player2 - ", numEqulibriumPlayer2)
player matrices -
Player1 matrix - [[ 0. 2009.] [20457. 1979.] [20372. 1979.] [19824. 1977.] [13133. 1978.] [ 6695. 1976.] [ 0. 1979.] [ 0. 1976.] [ 0. 1975.] [ 0. 1996.] [20856. 1980.] [21075. 1979.] [21051. 1981.] [20905. 1978.] [20942. 1982.] [21042. 1984.] [20939. 1990.] [20974. 1965.] [21056. 1976.]] Player2 matrix - [[ 0. -2009.] [-21093. -2050.] [-21267. -2297.] [-21159. -2796.] [-14600. -3681.] [ -7904. -5167.] [ 0. -7723.] [ 0. -12386.] [ 0. -22324.] [ 0. -54005.] [-20881. -1994.] [-21175. -2039.] [-21282. -2124.] [-21337. -2244.] [-21652. -2426.] [-22107. -2669.] [-22470. -2998.] [-23124. -3368.] [-23962. -3941.]]
Output -
equlibrium [] Player1 - [] Player2 - []
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I try to find equilibrium in 19x2 matrix, but an empty array with equilibrium is returned to me.
Here is my code
player matrices -
Output -
The text was updated successfully, but these errors were encountered: