diff options
author | CJ East <cje@ieee.org> | 2015-01-12 23:53:51 +1100 |
---|---|---|
committer | CJ East <cje@ieee.org> | 2015-01-12 23:53:51 +1100 |
commit | 9ef9a9a1c2e2319358fb164bc18a8a0efb23893b (patch) | |
tree | 35666b648b4e8a7488805af82b9da65d7fa50a67 /packages/glpk/examples/simplex1.hs | |
parent | 432d80a0b65b0be64fe0dc0d7816f1f738895458 (diff) |
Minor fixes for examples
Diffstat (limited to 'packages/glpk/examples/simplex1.hs')
-rw-r--r-- | packages/glpk/examples/simplex1.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/glpk/examples/simplex1.hs b/packages/glpk/examples/simplex1.hs index e7aeaa9..a326555 100644 --- a/packages/glpk/examples/simplex1.hs +++ b/packages/glpk/examples/simplex1.hs | |||
@@ -9,9 +9,9 @@ constr = Dense [ [1,1,1] :<=: 100 | |||
9 | , [2,2,6] :<=: 300 ] | 9 | , [2,2,6] :<=: 300 ] |
10 | 10 | ||
11 | -- default bounds | 11 | -- default bounds |
12 | bnds = [ 1 :=>: 0 | 12 | bnds = [ 1 :>=: 0 |
13 | , 2 :=>: 0 | 13 | , 2 :>=: 0 |
14 | , 3 :=>: 0 ] | 14 | , 3 :>=: 0 ] |
15 | 15 | ||
16 | main = do | 16 | main = do |
17 | print $ simplex objFun constr [] | 17 | print $ simplex objFun constr [] |