CoCalc Public Filesdemo_for_yor.sagewsOpen with one click!
Author: Vince Knight
Views : 40
Compute Environment: Ubuntu 18.04 (Deprecated)
A = matrix([[3, 1],[0, 2]]) B = matrix([[2, 1], [0, 3]]) g = NormalFormGame([A, B]) g
Normal Form Game with the following utilities: {(0, 1): [1, 1], (1, 0): [0, 0], (0, 0): [3, 2], (1, 1): [2, 3]}
g.obtain_nash()
[[(0, 1), (0, 1)], [(3/4, 1/4), (1/4, 3/4)], [(1, 0), (1, 0)]]