Skip to content

ongweekeong/Sudoku-Solver-as-CSP

Repository files navigation

Sudoku Solver as a CSP

1. Project Objectives

This project is an assessed assignment from the module CS3243 (Introduction to Artificial Intelligence) in NUS. Requirements are to write a program that solves sudoku puzzles by modelling it as a constraint satisfaction problem (CSP). In the assignment, test cases used for assessing are guaranteed to be valid and well-formed.

2. Project Overview

This program employs the use of the backtracking algorithm to solve the puzzles. Input puzzles are pre-processed with a function that is a hybrid of the AC-3 algorithm and Forward Checking (for early failure detection). This function is used every time the backtracking algorithm does another assignment.The minimum remaining values (MRV) heuristic was also used in this program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published