Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 649 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 649 Bytes

2nd Practical Project

The report of this practical project is available here.

How to run

Prolog

To run the Prolog version of the Sudoku solver, consult the file prolog\sudoku.pl and run the predicate sudoku/0:

?- consult('prolog/sudoku.pl').
true.

?- sudoku.

Some algorithms may require a bigger stack size, in that case run the following command:

swipl --stack-limit=32g .\prolog\sudoku.pl

This will increase the stack size to 32GB.

Matlab

To run the Matlab version of the Sudoku solver, run the function sudoku located in the file matlab\sudoku.m:

>> sudoku