Question: AI PROGRAMMING PROJECT USING PYTHON Tenner Grid is a Mathematical puzzle that consists of a rectangular grid of width ten cells. The task is to
AI PROGRAMMING PROJECT USING PYTHON
Tenner Grid is a Mathematical puzzle that consists of a rectangular grid of
width ten cells. The task is to fill in the grid so that each row contains the
numbers to Numbers must not be repeated in rows. In columns the numbers
may be repeated and the numbers in a column must add up to a given target
sum. Therefore, the bottom numbers give the sum of the numbers in column.
The digits in contiguous cells even diagonally contiguous cells must be
different.
The rules of Tenner Grids math puzzles:
Numbers appear only once in a row.
Numbers may be repeated in columns.
Numbers in the columns must add up to the given sums.
Numbers in connecting cells must be different.
Write an AI program to generate and solve the game Tenner Grid by modelling
it as constraint satisfaction problem. Your program must solve a randomly
generated Tenner Grid Puzzle in Simple backtracking, Forward checking,
Forward checking with MRV heuristic. You can configure your program to
either solve by Tenner Grid Puzzles, by Tenner Grid Puzzles, by
Tenner Grid Puzzles, or by Tenner Grid Puzzles.
For each algorithm, show the initial state randomly generated state final CSP
Tenner variable assignments, number of variable assignments and number of
consistency checks, the solution found final state and time used to solve the
problem.
Conduct a comparison of various CSP algorithms Backtracking Forward
Checking, and FCMRV on Tenner Grid problem.
Analyze the median number of consistency checks over five runs required to
solve the problem and show the results in term of which algorithm is better to
solve the problem.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
