[SOLVED] RL Homework1-Practice/Real-Life Applications of Computational Algorithms

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon HW01-3ogttg.zip (2611 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
Rate this product

In this homework, you will use a SAT solver to solve Sudoku.

  • Read a Sudoku puzzle from the input
  • Encode into CNF
  • Use MiniSat to find an assignment to CNF (if satisfiable)
  • Output solution from the assignment
  • Or print β€œNO” (if the puzzle is not solvable)

2.Input / Output

Each input file contains a puzzle that

  • has a size 𝑁Í𝑁, and
  • is prefilled with numbers 0 to 𝑁, where 0 represents the square is empty.

3.Command line

Your Sudoku solver should take three arguments:

./solver [Input Puzzle Filename] [Output Puzzle Filename] [MiniSatExe] where MiniSatExe is the filename of the MiniSat executable.Β  Β  Β  Β Β 

Practice/Real-Life Applications of Computational Algorithms – Homework 1

4. Hand in your assignment

Please upload the following files in a zip, specifying your ID (e.g., Student_ID.zip) to E3 by the deadline.

  • Source code
  • A report that introduces your implementation
  1. Platform Linux
  • HW01-3ogttg.zip