Coder Social home page Coder Social logo

sparrow's Introduction

Sparrow SAT Solver

Code Authors: Adrian Balint Algo Authors: Adrian Balint & Andreas Fröhlich

Citation: Adrian Balint & Andreas Fröhlich: Improving Stochastic Local Search for SAT with a New Probability Distribution, SAT 2010 Ulm University - Institute of Theoretical Computer Science

Build the solver

make

Using the solver

Usage of sparrow:

./sparrow [options] <DIMACS CNF instance> [<seed>]

Sparrow options: --c1 <double_value> : c1 constant from the Sparrow heuristic (default: 3sat:2.15; 5sat:2.855; 7sat:6.5)
--c2 <int_value> : c2 constant from the Sparrow heuristic (default: 3sat,5sat,7sat:4)
--c3 <int_value> : c3 constant from the Sparrow heuristic (default: 3sat,7sat:10⁵; 5sat:0.75*10⁵)
--sp <double_value> : smoothing probability inherited from gNovelty+ heuristic (default: 3sat:0.347; 5sat:1.0; 7sat:0.83)(values between [0..1.0] only the first 3 digits after dot will be taken into account)

Further options:
--maxflips <int_value> : maximum number of flips (default: LLONG_MAX)
--runs <int_value> : number of tries to solve the problem (default: LLONG_MAX)
--luby : use luby interval restarts (default: off)
--luby_base <int_value> : number of flips per base unit (default: 2^18)
--sps <float_value> : of sp values for sequence (default: 0.,.1,.6,1.,.9,.6,.8,.7,1.)
--randomc : random clause selection (default: on)
-a or --printsolution : print solution (default: off)
-h or --help : print usage

sparrow's People

Contributors

adrianopolus avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

sparrow's Issues

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.