forked from mvr/glpk-hs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
glpk-hs.cabal
52 lines (48 loc) · 2.15 KB
/
glpk-hs.cabal
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Name: glpk-hs
Version: 0.4
Author: Louis Wasserman
License: BSD3
License-file: LICENSE
Maintainer: Louis Wasserman <[email protected]>
Stability: experimental
Synopsis: Comprehensive GLPK linear programming bindings
Description:
Friendly interface to GLPK's linear programming and mixed integer programming features. Intended for easy extensibility,
with a general, pure-Haskell representation of linear programs.
To design a linear programming problem,
use "Data.LinearProgram.LPMonad" to construct the constraints and specifications. Linear functions are essentially specified
as @Data.Map@s from variables to their coefficients, and functions for manipulating them are available in "Data.LinearProgram.LinExpr".
Then "Data.LinearProgram.GLPK" provides facilities for using the GLPK solver system on your problem, with a sizable number
of options available.
Category: Math
cabal-version: >= 1.8
build-type: Simple
library
hs-source-dirs: src
Build-Depends: base >= 4 && < 5
, array
, containers
, mtl >= 2.2
, deepseq
, linear
Exposed-modules: Data.LinearProgram,
Data.LinearProgram.Common,
Data.LinearProgram.LinExpr,
Data.LinearProgram.GLPK,
Data.LinearProgram.GLPK.Solver,
Data.LinearProgram.GLPK.IO,
Data.LinearProgram.LPMonad,
Data.LinearProgram.LPMonad.Supply,
Data.LinearProgram.LPMonad.Supply.Class
Other-modules: Data.LinearProgram.GLPK.Internal,
Data.LinearProgram.GLPK.Types,
Data.LinearProgram.GLPK.Common,
Data.LinearProgram.GLPK.IO.Internal,
Data.LinearProgram.LPMonad.Internal,
Data.LinearProgram.Spec,
Data.LinearProgram.Types
c-sources: glpk/glpk.c
extra-libraries: glpk
executable example1
build-depends: base >= 4 && < 5, glpk-hs, linear
main-is: examples/example1.hs