summaryrefslogtreecommitdiff
path: root/packages/glpk/hmatrix-glpk.cabal
blob: 092fd41ff0af7c28d2fcbeff2ef12ae11dd88711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Name:               hmatrix-glpk
Version:            0.2.2
License:            GPL
License-file:       LICENSE
Author:             Alberto Ruiz
Maintainer:         Alberto Ruiz <aruiz@um.es>
Stability:          experimental
Homepage:           http://perception.inf.um.es/hmatrix
Synopsis:           Linear Programming based on GLPK
Description:
 Simple interface to linear programming functions provided by GLPK.

Category:           Math
tested-with:        GHC ==6.10.4, GHC ==7.0.3

cabal-version:      >=1.2
build-type:         Simple

extra-source-files:     examples/simplex1.hs
                        examples/simplex2.hs
                        examples/simplex3.hs
                        examples/simplex4.hs

library
    Build-Depends:      base >= 3 && < 5, hmatrix >= 0.8.3

    hs-source-dirs:     lib

    Exposed-modules:    Numeric.LinearProgramming

    c-sources:          lib/Numeric/LinearProgramming/glpk.c

    ghc-options:        -Wall

    extra-libraries:    glpk