Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
getObjectiveFunction :: a -> PBLinSum Source
isUnsat :: a -> STM Bool Source
getBestSolution :: a -> STM (Maybe (Model, Integer)) Source
getLowerBound :: a -> STM Integer Source
addSolution :: a -> Model -> IO () Source
addLowerBound :: a -> Integer -> IO () Source
logMessage :: a -> String -> IO () Source
Context SimpleContext | |
Context a => Context (Normalized a) |
isFinished :: Context a => a -> STM Bool Source
getSearchUpperBound :: Context a => a -> STM Integer Source
setFinished :: Context a => a -> IO () Source
setOnUpdateBestSolution :: SimpleContext -> (Model -> Integer -> IO ()) -> IO () Source
setOnUpdateLowerBound :: SimpleContext -> (Integer -> IO ()) -> IO () Source
data Normalized a Source
Context a => Context (Normalized a) |
normalize :: Context a => a -> Normalized a Source