glpk-hs-0.0.0: Comprehensive GLPK linear programming bindings

Data.LinearProgram.GLPK

Synopsis

Documentation

data GLPOpts Source

Options available for customizing GLPK operations. This also determines which kind of solving is performed -- relaxed LP, or MIP.

data MsgLev Source

Constructors

MsgOff 
MsgErr 
MsgOn 
MsgAll 

data Cuts Source

Constructors

GMI 
MIR 
Cov 
Clq 

Instances

glpSolveVars :: (Ord v, Real c) => GLPOpts -> LP v c -> IO (Double, Map v Double)Source

Solves the linear or mixed integer programming problem. Returns the value of the objective function, and the values of the variables.

glpSolveAll :: (Ord v, Real c) => GLPOpts -> LP v c -> IO (Double, Map v Double, Map String Double)Source

Solves the linear or mixed integer programming problem. Returns the value of the objective function, the values of the variables, and the values of any labeled rows.