limp-0.3.2.2: 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 

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 # 

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 #