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/simplex1.hs | |
parent | f38b4a3076cfae023559ce61cb2a443c809b7a6f (diff) |
documentation for simplex
Diffstat (limited to 'packages/glpk/examples/simplex1.hs')
-rw-r--r-- | packages/glpk/examples/simplex1.hs | 4 |
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 | |||
5 | objFun = Maximize [10, 6, 4] | 5 | objFun = Maximize [10, 6, 4] |
6 | 6 | ||
7 | constr = Dense [ [1,1,1] :<: 100 | 7 | constr = 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 |
12 | bnds = [ 1 :>: 0 | 12 | bnds = [ 1 :>: 0 |