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

Discussion

Why is all different stronger than a set of pairwise inequalities?

  • A.Its propagation can detect infeasibility the pairwise version misses
  • B.It is easier for a human being to read and to write
  • C.It requires fewer constraints to be stored in memory
  • D.It applies to variables with continuous domains as well

Answer: A

Three variables each with the same two valued domain are pairwise satisfiable but cannot all differ, and only a global algorithm using matching theory detects that immediately. Readability and storage are genuine but minor benefits. The example is the standard demonstration that decomposition loses information, and it justifies the whole apparatus of specialised global constraints in constraint programming systems.

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

Post your comment

Please log in or register to post a comment.