Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is a sudoku puzzle as a constraint problem?

  • A.The grid is one variable whose domain is every completed grid
  • B.Digits are variables whose values are the cells they occupy
  • C.Cells are variables with all different constraints on rows, columns and boxes
  • D.Rows are variables whose domains are the permutations of the digits

Answer: C

The natural model gives each cell a variable over the digits, with twenty seven all different constraints for the rows, columns and boxes, and arc consistency on those global constraints solves most published puzzles without any search. Permutation and whole grid models propagate far worse, and inverting cells and digits is awkward. That a well modelled puzzle is solved by propagation alone is the clearest possible demonstration of what inference contributes.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.