Binary distributions for Windows, Mac, and Linux, can be downloaded from releases page.
cabal install toysolver
or stack install toysolver
- Install
stack
git clone --recursive https://github.com/msakai/toysolver.git
cd toysolver
stack install
- Install GHC and cabal (You can use ghcup for installing them)
git clone --recursive https://github.com/msakai/toysolver.git
cd toysolver
cabal install
The Docker images can be found at dockerhub.
To run toysat
using Docker for solving samples/pbs/normalized-j3025_1-sat.opb
:
docker run -it --rm -v `pwd`:/data msakai/toysolver toysat samples/pbs/normalized-j3025_1-sat.opb