Hello! Welcome to the first lesson of our final module.
In our previous lessons, we built a solid foundation in linear programming, culminating in the Strong Duality Theorem. This powerful result states that if a linear program has an optimal solution, its dual also has an optimal solution, and their objective values are equal. This "no duality gap" property is the key we need to unlock a major theorem in game theory.
Today, we will pivot back to game theory and connect it directly to the LP theory you've just mastered. Our goal is to translate a player's strategic problem in a zero-sum game into the language of linear programming. Specifically, you will learn how to formulate a player's maximin problem as a linear program. This is the first crucial step in proving the Minimax Theorem using LP duality.
1. The Player's Goal: A Guaranteed Payoff
Let's consider a two-player, zero-sum game defined by a payoff matrix . Alice, the row player, wants to choose a mixed strategy, which is a probability vector where and . Bob, the column player, similarly chooses a mixed strategy . The expected payoff to Alice is .
Alice's challenge is that she must choose her strategy without knowing Bob's strategy . A conservative, risk-averse approach for Alice is to choose a strategy that does as well as possible in the worst-case scenario. This is called a maximin strategy.
She wants to choose the that maximizes her guaranteed payoff. For any given she chooses, her guaranteed payoff is the minimum possible payoff she could receive, assuming Bob will play his best response to minimize it.
So, for a fixed , her guaranteed payoff is:
where the minimum is taken over all of Bob's possible mixed strategies . Alice's overall goal is to choose to make this guaranteed value as large as possible.
2. Simplifying the Worst Case
Calculating the minimum over all of Bob's possible mixed strategies seems complicated. However, a key insight simplifies this significantly. To minimize his expected loss (which is Alice's gain ), Bob only needs to consider his pure strategies.
The following reading explains and proves this crucial simplification.
[PDF] Lecture 19: Zero-Sum Games II
This brief excerpt from Mikhail Lavrov's lecture notes proves that an opponent's best response to a fixed mixed strategy is always a pure strategy. This allows us to define the worst-case payoff much more simply.
Please read the section '2 Linear programming for zero-sum games', focusing on Lemma 2.1 and its proof. The key sentence to understand is 'The weighted average can’t be lower than the smallest of the payoffs...'.
The logic is straightforward: the expected payoff is a weighted average of the payoffs against Bob's pure strategies. An average can never be smaller than the smallest value being averaged. Therefore, to find the minimum payoff, Bob simply needs to identify which of his pure strategies (columns) yields the lowest payoff against Alice's chosen and play that one.
This means we can simplify Alice's guaranteed payoff for a strategy to:
The expected payoff if Bob plays column is , which is the -th component of the vector .
3. From Maximin Problem to a Linear Program
With this simplification, we can state Alice's maximin problem more formally:
Alice's Problem: Find a probability vector that solves:
This is an optimization problem, but it's not a linear program because the objective function involves a min operation. However, we can convert it into one using a standard technique.
The trick is to introduce a new variable, let's call it , which will represent the value of the objective function (the minimum payoff).
- New Objective: Instead of maximizing the minimum of several values, we simply **maximize
**. - New Constraints: We add constraints to force to be less than or equal to each of the expressions inside the original
minfunction. If we maximize , the optimal solution will push upwards until it is equal to the smallest of these expressions.
This transforms the problem into:
Alice's LP (preliminary form):
The decision variables here are and . The objective function is linear, and all the constraints are linear inequalities. We have successfully formulated the problem as a linear program.
4. The Final LP Formulation
To make this compatible with the duality theory we studied, it's best to write it in standard matrix/vector notation. The following reading does exactly this.
[PDF] Lecture 19: Zero-Sum Games II
This section of the same lecture notes shows the final step: converting the maximin problem into a formal LP using an auxiliary variable and matrix notation.
Please read from the paragraph beginning 'Alice’s maximin strategy is given by the solution to the following optimization problem...' to the end of the LP formulation for Alice. Notice how the series of inequalities for 'u' are compactly written as 'u1^T <= x^T A'.
Let's consolidate the formulation. Let be a column vector of ones of the appropriate dimension.
The set of constraints for can be rewritten. The sums are the components of the row vector . So the constraints are equivalent to , where is . It's more common to write this using column vectors, by transposing both sides: .
This gives us the final LP for the row player (Alice):
Row Player's (Primal) LP
Here, the variables are the vector and the scalar . This is the linear program that, when solved, gives Alice her optimal mixed strategy and the value of the game , which is her guaranteed security level.
To make this concrete, let's consider the 3x3 game from the MIT lecture notes (resource_id=[LINK](https://dspace.mit.edu/bitstream/handle/1721.1/84610/15-053-spring-2007/contents/lecture-notes/lec11.pdf)) with payoff matrix:
Alice's problem is to find and . The LP would be:
This LP directly corresponds to the abstract formulation and is ready to be solved.
Conclusion
In this lesson, we successfully bridged the gap between game theory and linear programming. You learned how to take a player's strategic objective—maximizing their worst-case outcome—and systematically convert it into a solvable linear program.
Key Takeaways:
- A maximin strategy for the row player is a mixed strategy that maximizes the guaranteed payoff, assuming the column player will choose a response to minimize it.
- The worst-case scenario for a fixed mixed strategy always occurs when the opponent plays one of their pure strategies.
- This leads to a max-min optimization problem, which is not linear.
- By introducing an auxiliary variable to represent the minimum payoff, we can transform the max-min problem into a standard linear program.
- The resulting LP's optimal solution provides both the player's optimal mixed strategy and the maximin value of the game .
Preview of the next lesson:
We have just formulated the row player's (Alice's) problem as a primal linear program. What do you think will happen if we construct the dual of this LP? In the next lesson, we will do exactly that. You will see that the dual LP is precisely the column player's (Bob's) problem of finding his optimal strategy. This remarkable symmetry, combined with the Strong Duality Theorem, will provide us with a direct and elegant proof of the Minimax Theorem.