summaryrefslogtreecommitdiff
path: root/packages/glpk/examples/simplex1.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2010-02-23 09:23:06 +0000
committerAlberto Ruiz <aruiz@um.es>2010-02-23 09:23:06 +0000
commit5587a094afa3e24698cd38301c805e6ee5876c73 (patch)
tree9c240fc1a558e871928fe61b99a8cdccd649d3e4 /packages/glpk/examples/simplex1.hs
parentf38b4a3076cfae023559ce61cb2a443c809b7a6f (diff)
documentation for simplex
Diffstat (limited to 'packages/glpk/examples/simplex1.hs')
-rw-r--r--packages/glpk/examples/simplex1.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/glpk/examples/simplex1.hs b/packages/glpk/examples/simplex1.hs
index 4609524..9639f37 100644
--- a/packages/glpk/examples/simplex1.hs
+++ b/packages/glpk/examples/simplex1.hs
@@ -5,8 +5,8 @@ import Numeric.LinearProgramming
5objFun = Maximize [10, 6, 4] 5objFun = Maximize [10, 6, 4]
6 6
7constr = Dense [ [1,1,1] :<: 100 7constr = Dense [ [1,1,1] :<: 100
8 , [10,4,5] :<: 600 8 , [10,4,5] :<: 600
9 , [2,2,6] :<: 300 ] 9 , [2,2,6] :<: 300 ]
10 10
11-- default bounds 11-- default bounds
12bnds = [ 1 :>: 0 12bnds = [ 1 :>: 0