Mathematical Modeling with LPL : Explain and run a Model
Problem Statement
Modeling Description
||
Back to MatMod
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
Problem Statement
Modeling Description
Back to model
The solution is as follows:
The LOG-File output of LPL is as follows: