Returns empty equilibrium
B0RIS15 opened this issue · 0 comments
B0RIS15 commented
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 - []