Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- minimize :: MonadLP v c o m => Expr v -> m o
- maximize :: MonadLP v c o m => Expr v -> m o
- evalExpr :: MonadLP v c o m => Expr v -> m Double
- free :: MonadLP v c o m => m v
- nonNeg :: MonadLP v c o m => m v
- nonPos :: MonadLP v c o m => m v
- bounded :: MonadLP v c o m => Double -> Double -> m v
- within :: MonadLP v c o m => m v -> Bounds -> m v
- integer :: MonadIP v c o m => m v
- binary :: MonadIP v c o m => m v
- nonNegInteger :: MonadIP v c o m => m v
- nonPosInteger :: MonadIP v c o m => m v
- asKind :: MonadIP v c o m => m v -> Domain -> m v
- (.<=.) :: MonadLP v c o m => Expr v -> Expr v -> m c
- (<=.) :: MonadLP v c o m => Double -> Expr v -> m c
- (.<=) :: MonadLP v c o m => Expr v -> Double -> m c
- (.>=.) :: MonadLP v c o m => Expr v -> Expr v -> m c
- (>=.) :: MonadLP v c o m => Double -> Expr v -> m c
- (.>=) :: MonadLP v c o m => Expr v -> Double -> m c
- (.==.) :: MonadLP v c o m => Expr v -> Expr v -> m c
- (==.) :: MonadLP v c o m => Double -> Expr v -> m c
- (.==) :: MonadLP v c o m => Expr v -> Double -> m c
- formatExpr :: MonadLP v c o m => Expr v -> m Text
- formatExpr' :: Monad m => (v -> m Text) -> Expr v -> m Text
- withVariableName :: MonadLP v c o m => m v -> Text -> m v
- withConstraintName :: MonadLP v c o m => m c -> Text -> m c
- withObjectiveName :: MonadLP v c o m => m o -> Text -> m o
Documentation
evalExpr :: MonadLP v c o m => Expr v -> m Double Source #
Get the value of a linear expression in the current solution.
bounded :: MonadLP v c o m => Double -> Double -> m v Source #
Create a new variable bounded between two values.
nonNegInteger :: MonadIP v c o m => m v Source #
Create an integer-value variable that takes on non-negative values.
nonPosInteger :: MonadIP v c o m => m v Source #
Create an integer-value variable that takes on non-positive values.
(.<=.) :: MonadLP v c o m => Expr v -> Expr v -> m c infix 4 Source #
A less-than or equal-to constraint
(<=.) :: MonadLP v c o m => Double -> Expr v -> m c infix 4 Source #
A less-than or equal-to constraint with a numeric left-hand side
(.<=) :: MonadLP v c o m => Expr v -> Double -> m c infix 4 Source #
A less-than or equal-to constraint with a numeric right-hand side
(.>=.) :: MonadLP v c o m => Expr v -> Expr v -> m c infix 4 Source #
A greater-than or equal-to constraint
(>=.) :: MonadLP v c o m => Double -> Expr v -> m c infix 4 Source #
A greater-than or equal-to constraint with a numeric left-hand side
(.>=) :: MonadLP v c o m => Expr v -> Double -> m c infix 4 Source #
A greater-than or equal-to constraint with a numeric right-hand side
(==.) :: MonadLP v c o m => Double -> Expr v -> m c infix 4 Source #
An equality constraint with a numeric left-hand side
(.==) :: MonadLP v c o m => Expr v -> Double -> m c infix 4 Source #
An equality constraint with a numeric right-hand side
withVariableName :: MonadLP v c o m => m v -> Text -> m v Source #
withConstraintName :: MonadLP v c o m => m c -> Text -> m c Source #
withObjectiveName :: MonadLP v c o m => m o -> Text -> m o Source #