GithubHelp home page GithubHelp logo

pcasso's Introduction

Riss tool collection. Norbert Manthey. 2014

You can receive the latest copy of the Riss and Coprocessor tool collection from
http://tools.computational-logic.org
Please send bug reports to [email protected]

================================================================================

This software package contains the SAT solver Riss, and might contain related 
tools:

Coprocessor   ... a CNF simplifier
Pcasso        ... a parallel search space splitting SAT solver

This README file is split into two parts. The first part explains how to build the
tools that are contained in the package, and the second part explains common use 
cases.


=== BUILDING: ==================================================================

Usually, when a tool has been build and another tool should be build as well, then
the next build call can be executed. However, some tool require additional build 
flags, so that an intermediate "make clean" should be executed. This holds especially
when building Pcasso. The build target for most performance is given below. For 
debugging purposes, the suffix "RS" can be replaced with "d" to enable assertions
and to disable code optimizations. 

	To build Riss (by default without constructing DRAT-proofs):
	make rissRS

	With producing DRAT proofs:
	make rissRS ARGS="-DDRATPROOF"

	To build Coprocessor:
	make coprocessorRS

	To build Pcasso:
	make pcassoRS

=== COMMON USE CASES: ==========================================================

The available parameters can be listed for each tool by calling:
	./<tool> --help

Using Riss to solve a formula <input.cnf> use
	./riss <input.cnf> [solution] [solverOptions]

Using Riss to solve a formula <input.cnf> and generating a DRUP proof, the 
following call can be used. Depending on the proof verification tool the option
"-no-proofFormat" should be specified. Note, not all formula simplification 
techniques support generating a DRUP proof.
	./riss <input.cnf> -drup=input.proof -no-proofFormat [solution] [solverOptions]

The script "cp.sh" provides a simple setup for using Coprocessor as a formula 
simplification tool and afterwards running a SAT solver. The used SAT solver can
be exchanged by changing the variable "satsolver" in the head of the script.
	./cp.sh <input.cnf> [coprocessorOptions]

pcasso's People

Contributors

ahmed-irfan avatar conp-solutions avatar nmanthey avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pcasso's Issues

Solver has some bugs

There are a few CNFs that trigger bugs in the implementation. For real world CNFs, these might not have a big impact, and by using a CNF simplifier these problems might actually not be hit, but the should still be addressed:

The branch that show cases them is:
https://github.com/conp-solutions/PCasso/tree/solver-failures

The command sequence to trigger them (on this branch) is:

make clean
make pcassod MYLFLAGS="-fsanitize=address -pthread"
./cnfs/re-validate.sh
echo "Status: $?"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.