Mathematical Modeling with LPL : Explain and run a Model
Problem Statement
Modeling Description
||
Back to MatMod
model math01 "Drunken Husband"; integer variable x; y; constraint A: 25*x+49*y = 2000; solve; Write('He drank %d bottles of Rioja and %d Malbec.' , x-24 , y-17); end
Problem Statement
Modeling Description
Back to model
The solution is as follows:
The LOG-File output of LPL is as follows: