summaryrefslogtreecommitdiff
path: root/packages/glpk/examples/simplex3.hs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glpk/examples/simplex3.hs')
-rw-r--r--packages/glpk/examples/simplex3.hs5
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 @@
1import 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
4import Numeric.LinearProgramming
5
5prob = Minimize [0.03, 0.08, 0.17, 0.12, 0.15, 0.21, 0.38] 6prob = Minimize [0.03, 0.08, 0.17, 0.12, 0.15, 0.21, 0.38]
6 7
7constr = Dense 8constr = Dense