-2

How to implement greater-than sudoku solver in Prolog using clpfd? I have trouble figuring out how to add those greater-than constraints to regular sudoku solver.

xemlmrx
  • 65
  • 6

1 Answers1

1

Simply put every square in a finite domain with the digits 1 to 9 and emit a #< constraint on each edge.

river
  • 1,028
  • 6
  • 16