toysolver-0.0.6: Assorted decision procedures for SAT, Max-SAT, PB, MIP, etc
SAT.Integer
data Expr Source
Constructors
Instances
newVar :: Solver -> Integer -> Integer -> IO ExprSource
linearize :: Encoder -> Expr -> IO ([(Integer, Lit)], Integer)Source
addConstraint :: Encoder -> Rel Expr -> IO ()Source
addConstraintSoft :: Encoder -> Lit -> Rel Expr -> IO ()Source
eval :: Model -> Expr -> IntegerSource