Safe Haskell | None |
---|---|
Language | Haskell2010 |
Definition of a whole program
- data Direction
- data Program z r c = Program {
- _direction :: Direction
- _objective :: Linear z r c KR
- _constraints :: Constraint z r c
- _bounds :: [Bounds z r c]
- program :: Rep c => Direction -> Linear z r c k -> Constraint z r c -> [Bounds z r c] -> Program z r c
- minimise :: Rep c => Linear z r c k -> Constraint z r c -> [Bounds z r c] -> Program z r c
- maximise :: Rep c => Linear z r c k -> Constraint z r c -> [Bounds z r c] -> Program z r c
Documentation
Whole program, parameterised by:
z
- type of integer variables
r
- type of real variables
c
- representation of integers and reals (see
Rep
)
Program | |
|