limp-0.3.0.0: representation of Integer Linear Programs

Safe HaskellNone
LanguageHaskell2010

Numeric.Limp.Canon.Program

Description

Canon representation of linear program

Synopsis

Documentation

data Program z r c Source

A program represented by objective, constraints and bounds. There is no need for an optimisation direction; the objective is just negated.

Constructors

Program 

Fields

_objective :: Linear z r c
 
_constraints :: Constraint z r c
 
_bounds :: Map (Either z r) (Maybe (R c), Maybe (R c))
 

varsOfProgram :: (Ord z, Ord r) => Program z r c -> Set (Either z r) Source

Find set of all variables mentioned in program