diff options
author | Alberto Ruiz <aruiz@um.es> | 2010-02-23 09:23:06 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2010-02-23 09:23:06 +0000 |
commit | 5587a094afa3e24698cd38301c805e6ee5876c73 (patch) | |
tree | 9c240fc1a558e871928fe61b99a8cdccd649d3e4 /packages/glpk/examples/simplex3.hs | |
parent | f38b4a3076cfae023559ce61cb2a443c809b7a6f (diff) |
documentation for simplex
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 |