-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A GLPK backend to the math-programming library. -- -- Please see the README on GitHub. @package math-programming-glpk @version 0.5.0 -- | A GLPK backend to the Programming library. -- -- This package allows both linear and mixed-integer programs to be -- solved. module Math.Programming.Glpk type Glpk = GlpkT IO -- | A reference to a GLPK variable. type GlpkVariable = GlpkPtr Column -- | A reference to a GLPK constraint. type GlpkConstraint = GlpkPtr Row -- | A placeholder for an objective. -- -- GLPK supports only single-objective problems, and so no indices need -- to be stored. data GlpkObjective runGlpk :: Glpk a -> IO a writeFormulation :: MonadGlpk m => FilePath -> m () -- | An environment to solve math programs using GLPK. data GlpkT m a class (MonadLP GlpkVariable GlpkConstraint GlpkObjective m, MonadIP GlpkVariable GlpkConstraint GlpkObjective m) => MonadGlpk m -- | An interface to the low-level GLPK API. -- -- High-level solver settings can be modified by altering the -- SimplexMethodControlParameters and MIPControlParameters -- values for LP and IP solves, respectively. data GlpkEnv -- | An error that GLPK can encounter. data GlpkException