Two-person zero sum games
Player 1 (P1) has $m$ choices of actions labelled $1,2,\ldots,m$, and player 2 (P2) has $n$ choices labelled $1,2,\ldots,n$.
Let an $m\times n$ matrix $A = (a_{ij})$ be the payoff matrix. If P1 plays $i$ and P2 plays $j$, P1 wins $a_{ij}$ and P2 loses $a_{ij}$.
Suppose P1 plays first. If P1 plays $i$, P2 will make the optimal choice to let P1 win $\min_{j\in\set{1,2,\ldots,n}} a_{ij}$. P1's problem is
$$ \begin{align*} \text{Maximise } &\min_{j\in\set{1,2,\ldots,n}} a_{ij} \\ \text{over } &i\in\set{1,2,\ldots,m}. \end{align*} $$
Similarly if P2 plays first, P2's problem is
$$ \begin{align*} \text{Minimise } &\max_{i\in\set{1,2,\ldots,m}} a_{ij} \\ \text{over } &j\in\set{1,2,\ldots,n}. \end{align*} $$
An outcome $(i^\ast, j^\ast)$ of a two-person zero sum game is called a saddle point if $$ \begin{align*} \max_i \min_j a_{ij} = \min_j \max_i a_{ij} \end{align*} $$ and the extrema are attained at $(i^\ast, j^\ast)$.
If the payoff matrix has a saddle point, the players' decisions are the same regardless of who plays first.
We now allow P1 to randomly choose action $i$ with probability $p_i$. P1 picks the distribution $\v p=(p_1,p_2,\ldots,p_m)$ and P2 picks $\v q=(q_1, q_2, \ldots, q_n)$.
If P1 plays $\v p$, P2 will make the optimal choice $j$ to let P1 win $\min_j \sum_i p_i a_{ij}$. P1's problem is
$$ \begin{align*} \text{Maximise } & \min_j \sum_i p_i a_{ij} \\ \text{over } & \v p \in\R^m \\ \text{subject to } & \sum_i p_i = 1, \\ & \v p\geq \v 0, \end{align*} $$
which is equivalent to
$$ \begin{align*} \text{Maximise } & v \\ \text{over } & v\in\R,\ \v p\in\R^m \\ \text{subject to } & A^T \v p \geq v \v e, \\ & \v e^T \v p = 1, \\ & \v p\geq \v 0 \end{align*} $$
where $\v e = (1,1,\ldots,1)^T$.
Similarly P2's problem is
$$ \begin{align*} \text{Minimise } & \max_i \sum_j q_j a_{ij} \\ \text{over } & \v q\in\R^n \\ \text{subject to } & \sum_j q_j = 1, \\ & \v q \geq \v 0, \end{align*} $$
which is equivalent to
$$ \begin{align*} \text{Minimise } & w \\ \text{over } & w\in\R, \ \v q\in\R^n \\ \text{subject to } & A\v q \leq w\v e, \\ & \v e^T \v q = 1, \\ & \v q \geq 0. \end{align*} $$
These two problems are dual of each other. (Derivation)
In a mixed strategy two-person zero sum game, a strategy $\v p\in\R^m$ is optimal for P1 iff there exists $\v q\in\R^n$ and $v\in\R$ such that the following holds:
-
primal feasibility: $A^T \v p \geq v \v e$, $\v e^T \v p=1$ and $\v p\geq \v 0$;
-
dual feasibility: $A\v q\leq v \v e$, $\v e^T \v q = 1$ and $\v q\geq \v 0$; and
-
complementary slackness: $v = \v p^T A \v q$.
Tips for finding optimal strategies:
-
Look for a saddle point of the payoff matrix.
-
Look for dominating actions: if we have rows $i$ and $i'$ with $a_{ij}\geq a_{i'j}$ for all $j$, then P1 will never play $i'$. Similar for columns.
-
Solve the linear program graphically or using the simplex method.