An introduction to linear programming and game theory