Giter VIP home page Giter VIP logo

sudoku-sat's Introduction

Submission for Project 1

This repository contains 4 folders:

  • basic_task: minimal encoding of a 9x9 sudokus
    1. sud2sat.py
    2. sat2sat.py
    3. tester.py
  • extended1: minimal encoding of ninety-five 9x9 sudokus
    1. sud2sat1.py
    2. sat2sat1.py
  • extended2: efficient encoding of a 9x9 sudokus
    1. sud2sat2.py
    2. sat2sat2.py
  • extended3: extended encoding of a 9x9 sudokus
    1. sud2sat3.py
    2. sat2sat3.py

To run the code, use the following commands:

cd <basic_task / extended1 / extended2 / extended3>
./sud2sat.py <puzzle.txt >puzzle.cnf
minisat puzzle.cnf assign.txt >stat.txt
./sat2sud.py <assign.txt >solution.txt

sudoku-sat's People

Contributors

sarasubedi avatar julhoang avatar 7gus7 avatar

Watchers

 avatar

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.