GithubHelp home page GithubHelp logo

sat_problem's Introduction

SAT Solver LvR

Main file for running the SAT solver is satsolver.py.

The tests included for submission are in /tests folder. The uf125-01.cnf example is taken from this site.

###coloring.py The coloring_pref_1000_2000.txt example is generated by the included script coloring.py. It outputs a dimacs file of the SAT formula for k-coloring the provided graph (for this sample k=6). The graph is a [preferential attachment model] (https://en.wikipedia.org/wiki/Barab%C3%A1si%E2%80%93Albert_model) generated with n=1000 and m=2000.

###Running the SAT solver The sat solver is run via command:

python satsolver.py [path to input file] [path to output file] 

The input file is in dimacs input format and the output is in the dimacs result format.

Note that the input file must not contain lines with starting with anything other than "c", "p" or clause lines (as some dimacs files do).

sat_problem's People

Contributors

umarovt avatar

Stargazers

 avatar

Watchers

James Cloos avatar Janoš Vidali avatar  avatar

sat_problem's Issues

Homework submission

I was informed by a classmate that I should open an issue for submission. The latest commit contains the submission code and was submitted before the deadline.

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.