glpk-hs: Comprehensive GLPK linear programming bindings

[ bsd3, library, math, program ] [ Propose Tags ]

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. Also includes usefully general algebraic structures. To design a linear programming problem, use Control.Monad.LPMonad to construct the constraints and specifications. Linear functions are essentially specified as Data.Maps 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.

Versions [RSS] [faq] 0.0.0, 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.5, 0.7, 0.8
Dependencies array, base (==4.*), containers, deepseq, gasp (>=1.2), glpk-hs, mtl [details]
License BSD-3-Clause
Author Louis Wasserman
Maintainer Jean-Philippe Bernardy <>
Category Math
Source repo head: git clone
Uploaded by JeanPhilippeBernardy at 2021-01-29T12:27:53Z
Distributions NixOS:0.8
Executables glpk-hs-example
Downloads 12885 total (49 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2021-01-29 [all 2 reports]


  • Control
    • Monad
      • Control.Monad.LPMonad
        • Control.Monad.LPMonad.Supply
          • Control.Monad.LPMonad.Supply.Class
  • Data
    • Data.LinearProgram
      • Data.LinearProgram.Common
      • Data.LinearProgram.GLPK
        • Data.LinearProgram.GLPK.IO
        • Data.LinearProgram.GLPK.Solver
      • Data.LinearProgram.LinExpr


Maintainer's Corner

For package maintainers and hackage trustees