limp-0.3.2.3: representation of Integer Linear Programs

Safe HaskellNone
LanguageHaskell2010

Numeric.Limp.Program.Program

Description

Definition of a whole program

Synopsis

Documentation

data Direction Source #

Direction to optimise program in: minimise or maximise.

Constructors

Minimise 
Maximise 
Instances
Show Direction Source # 
Instance details

Defined in Numeric.Limp.Program.Program

data Program z r c Source #

Whole program, parameterised by:

z
type of integer variables
r
type of real variables
c
representation of integers and reals (see Rep)

Constructors

Program 

Fields

Instances
(Show z, Show r, Show (Z c), Show (R c)) => Show (Program z r c) Source # 
Instance details

Defined in Numeric.Limp.Program.Program

Methods

showsPrec :: Int -> Program z r c -> ShowS #

show :: Program z r c -> String #

showList :: [Program z r c] -> ShowS #

program :: Rep c => Direction -> Linear z r c k -> Constraint z r c -> [Bounds z r c] -> Program z r c Source #

minimise :: Rep c => Linear z r c k -> Constraint z r c -> [Bounds z r c] -> Program z r c Source #

maximise :: Rep c => Linear z r c k -> Constraint z r c -> [Bounds z r c] -> Program z r c Source #