Skip to content

OCaML bindings for the MiniSat satisfiability solver.

License

Notifications You must be signed in to change notification settings

ric-almeida/MiniSat-ocaml

 
 

Repository files navigation

MiniSat-ocaml
=============

MiniSat-ocaml is a set of OCaml bindings for the SAT solver MiniSat.  Instead
of reimplementing MiniSat itself in OCaml, this library makes the MiniSat
interface available through OCaml.

The usage of the OCaml interface is pretty straightforward and mimics the C++
interface.

The package provides an example, solver.ml, that reads from standard input a
formula and print its satisfiability and a satisfying assignment (if any). A
formula is a sequence of lines that either define a variable ('v' <name>),
define a clause ('c' followed by a sequence of names, with a leading '-' if
they are negated in the clause) and comments (starting with '#'). A couple of
example formulas are available in the 'examples/' directory.

For questions, comments, suggestion, or improvements please contact Flavio
Lerda <[email protected]> or Pietro Abate <[email protected]>

Copyright:
     Flavio Lerda 2007 - 2009 (c)
     Pietro Abate 2009 (c)

About

OCaML bindings for the MiniSat satisfiability solver.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published