This model is related to the model gameh.
model gameh2 "Another Two Persons Game"; set i,j :=[forhand backhand]; parameter p{i,j} := [0.9 , 0.3 , 0.2 , 0.6]; variable x{i}; constraint R: sum{i} x = 1; maximize gain: min{j} (sum{i} p*x); Write{i|x}('Choose %s with probability %4.2f\n', i,x); Write('The game value is %4.2f\n', gain); end
[1] MatMod. Homepage for Learning Mathematical Modeling : https://matmod.ch.
[2] Hürlimann T. Reference Manual for the LPL Modeling Language, most recent version. https://matmod.ch/lpl/doc/manual.pdf.