The toysolver package

[Tags: bsd3, library, program]

Toy-level implementation of some decision procedures


[Skip to ReadMe]

Properties

Versions0.0.2, 0.0.3, 0.0.4, 0.0.4.1, 0.0.5, 0.0.6, 0.1.0, 0.2.0, 0.3.0
Change logNone available
Dependenciesarray, base (==4.*), bytestring, containers (>=0.4.2), deepseq, filepath, mtl, old-locale, OptDir, parse-dimacs, parsec, queue, random, stm (>=2.3), time [details]
LicenseBSD3
AuthorMasahiro Sakai (masahiro.sakai@gmail.com)
Maintainermasahiro.sakai@gmail.com
CategoryAlgorithms
Bug trackerhttps://github.com/msakai/toysolver/issues
Source repositoryhead: git clone git://github.com/msakai/toysolver.git
Executablespb2lp, maxsat2lp, cnf2lp, lp2yices, toysat, toysolver
UploadedThu Sep 27 23:12:02 UTC 2012 by MasahiroSakai
DistributionsNixOS:0.3.0
Downloads1098 total (95 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-06-09 [all 2 reports]

Flags

NameDescriptionDefault
forcechar8set default encoding to char8 (not to use iconv)Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for toysolver-0.0.2

toysolver

Installation

Usage

This package includes several commands.

toysolver

Arithmetic solver for the following problems:

Usage: toysolver [OPTION...] file.lp

-h  --help           show help
-v  --version        show version number
    --solver=SOLVER  mip (default), omega-test, cooper, old-mip

toysat

SAT-based solver for the following problems:

Usage:

toysat [file.cnf||-]
toysat --pb [file.opb|-]
toysat --wbo [file.wbo|-]
toysat --maxsat [file.cnf|file.wcnf|-]
toysat --lp [file.lp|-]

lp2yices

Converter from LP file to Yices input file.

Usage: lp2yice [file.lp|-]

-h  --help      show help
    --optimize  output optimiality condition which uses quantifiers
    --no-check  do not output "(check)"

cnf2lp

Converter from DIMACS .cnf file to .lp file.

Usage: cnf2lp [file.cnf|-]

maxsat2lp

Converter from .cnf/.wcnf file to .lp file.

Usage: maxsat2lp [file.cnf|file.wcnf|-]

pb2lp

Converter from .opb/.wbo file to .lp file.

Usage: pb2lp [--wbo] [file.opb|file.wbo|-]

TODO