Variables :

  • All squares to be uncovered. Domain :
  • , where 0 denotes not a mine and 1 denotes a mine Constraints :
  • The number on a square is the sum of its neighbour’s value.
  • X_4=1$