MPL Model Library
Odds And Even, Example 14.1-1, Hillier and Lieberman
{ Exmpl14.1-1_OddsAndEven.mpl }
{ Hillier and Lieberman, Introduction to Operations Research, 7th ed. }
{ Chapter 14.1, Example 1, Game Theory, Size: 3x3, Page 726 }
TITLE
OddsAndEven;
INDEX
strategy1 := 1..2;
strategy2 := strategy1;
DATA
Payoff[strategy1, strategy2] := ( 1, -1,
-1, 1);
VARIABLES
Probabilities[strategy1] -> x;
ValueOfGame;
MODEL
MAX GameValue = ValueOfGame;
SUBJECT TO
TotalProbabilities:
SUM(strategy1: Probabilities) = 1;
ExpectedPayoff[strategy2]:
SUM(strategy1: Payoff * Probabilities) >= ValueOfGame;
END
Return to MPL Model Library