diff options
Diffstat (limited to 'packages/glpk/examples/simplex3.hs')
-rw-r--r-- | packages/glpk/examples/simplex3.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/glpk/examples/simplex3.hs b/packages/glpk/examples/simplex3.hs index 0f787cb..3a7e8e8 100644 --- a/packages/glpk/examples/simplex3.hs +++ b/packages/glpk/examples/simplex3.hs | |||
@@ -1,7 +1,8 @@ | |||
1 | import Numeric.LinearProgramming | 1 | -- compare with |
2 | |||
3 | -- $ glpsol --cpxlp /usr/share/doc/glpk-utils/examples/plan.lp -o result.txt | 2 | -- $ glpsol --cpxlp /usr/share/doc/glpk-utils/examples/plan.lp -o result.txt |
4 | 3 | ||
4 | import Numeric.LinearProgramming | ||
5 | |||
5 | prob = Minimize [0.03, 0.08, 0.17, 0.12, 0.15, 0.21, 0.38] | 6 | prob = Minimize [0.03, 0.08, 0.17, 0.12, 0.15, 0.21, 0.38] |
6 | 7 | ||
7 | constr = Dense | 8 | constr = Dense |