-
Unzip the provided zip file and put all the necessary modules in one project folder. The modules needed are GSAT.py, SAT.py, and all the given files in the assignment.
-
Open the solve_sodoku.py file and, on the line that creates the solver object, set the solver module to use: GSATSAT(sys.argv[1]) means that when the file is executed at the command prompt the GSAT solver module should be used. SAT(sys.argv[1]) indicates that the SAT solver module should be used.
-
Now, open a terminal and run the following commmand to solve the input cnf using the set solver module: "python3 ./solve_sudoku.py "
-
Notifications
You must be signed in to change notification settings - Fork 0
Edmynx/AI-Logic-and-Inference
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published