summaryrefslogtreecommitdiff
path: root/packages/glpk
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glpk')
-rw-r--r--packages/glpk/hmatrix-glpk.cabal2
-rw-r--r--packages/glpk/src/Numeric/LinearProgramming.hs3
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/glpk/hmatrix-glpk.cabal b/packages/glpk/hmatrix-glpk.cabal
index c115459..cd761e0 100644
--- a/packages/glpk/hmatrix-glpk.cabal
+++ b/packages/glpk/hmatrix-glpk.cabal
@@ -1,5 +1,5 @@
1Name: hmatrix-glpk 1Name: hmatrix-glpk
2Version: 0.4.0.1 2Version: 0.4.0.2
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
diff --git a/packages/glpk/src/Numeric/LinearProgramming.hs b/packages/glpk/src/Numeric/LinearProgramming.hs
index 5de8577..b0537cc 100644
--- a/packages/glpk/src/Numeric/LinearProgramming.hs
+++ b/packages/glpk/src/Numeric/LinearProgramming.hs
@@ -17,7 +17,8 @@ maximize 4 x_1 - 3 x_2 + 2 x_3
17subject to 17subject to
18 18
192 x_1 + x_2 <= 10 192 x_1 + x_2 <= 10
20 x_3 + 5 x_4 <= 20 20
21 x_2 + 5 x_3 <= 20
21 22
22and 23and
23 24