summaryrefslogtreecommitdiff
path: root/packages/glpk/examples/simplex2.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2015-01-12 17:33:17 +0100
committerAlberto Ruiz <aruiz@um.es>2015-01-12 17:33:17 +0100
commitfd4ea99b3fdbd3451b3ece61fd554e6f01801e29 (patch)
tree35666b648b4e8a7488805af82b9da65d7fa50a67 /packages/glpk/examples/simplex2.hs
parent432d80a0b65b0be64fe0dc0d7816f1f738895458 (diff)
parent9ef9a9a1c2e2319358fb164bc18a8a0efb23893b (diff)
Merge pull request #106 from cje/fix-examples
Minor fixes for examples
Diffstat (limited to 'packages/glpk/examples/simplex2.hs')
-rw-r--r--packages/glpk/examples/simplex2.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/glpk/examples/simplex2.hs b/packages/glpk/examples/simplex2.hs
index f4e27fd..e9e8859 100644
--- a/packages/glpk/examples/simplex2.hs
+++ b/packages/glpk/examples/simplex2.hs
@@ -13,6 +13,6 @@ constr2 = Dense [ [2,1,0] :<=: 10
13main = do 13main = do
14 print $ simplex prob constr1 [] 14 print $ simplex prob constr1 []
15 print $ simplex prob constr2 [] 15 print $ simplex prob constr2 []
16 print $ simplex prob constr2 [ 2 :=>: 1, 3 :&: (2,7)] 16 print $ simplex prob constr2 [ 2 :>=: 1, 3 :&: (2,7)]
17 print $ simplex prob constr2 [ Free 2 ] 17 print $ simplex prob constr2 [ Free 2 ]
18 18