Game Theory LP Formulation

Work in progress. This note is still being written and incomplete.

An m×nm \times n two-person zero-sum game is solved by formulating it as a pair of dual linear programs.

Row Player’s LP

maximize v\text{maximize } v

Subject to i=1mpiaijv\sum_{i=1}^{m} p_i a_{ij} \ge v for every column jj, i=1mpi=1\sum_{i=1}^{m} p_i = 1, pi0p_i \ge 0.

Column Player’s LP

minimize v\text{minimize } v

Subject to j=1nqjaijv\sum_{j=1}^{n} q_j a_{ij} \le v for every row ii, j=1nqj=1\sum_{j=1}^{n} q_j = 1, qj0q_j \ge 0.

The 2 LPs are duals of each other. Solving either with the simplex algorithm gives the game’s value vv and both players’ optimal mixed strategies.

Written by September 16, 2026 1 min read
Was this helpful?