Bimatrix game equilibrium via nonlinear programming

These lecture notes&#xA;(PDF) &#xA;from Asu Ozdaglar give a bilinear program whose solution is the mixed-strategy&#xA;equilibrium for a two-player, non-zero-sum game with finite action spaces—also&#xA;known as a bimatrix game. I wanted to reproduce this highly practical result in&#xA;a more accessible format and offer some implementation notes.