glpk-hs-0.3.4: Comprehensive GLPK linear programming bindings
Data.LinearProgram.LinExpr
data LinExpr v c Source
Constructors
Instances
solve :: (Ord v, Eq c, VectorSpace c c) => [(LinFunc v c, c)] -> Maybe (Map v (LinExpr v c))Source
substituteExpr :: (Ord v, Module c c) => v -> LinExpr v c -> LinExpr v c -> LinExpr v cSource
simplifyExpr :: (Ord v, Module c c) => LinExpr v c -> Map v (LinExpr v c) -> LinExpr v cSource
constTerm :: LinExpr v c -> cSource
coeffTerm :: LinExpr v c -> LinFunc v cSource
funcToExpr :: Group c => LinFunc v c -> LinExpr v cSource