Prepare the following exercises for discussion in class on Friday 18th February 2011.
Exercise 3.1
Show that CSP generalizes SAT formulating the following SAT problem as a
CSP:
(x ∨ y ∨ ¬ z) ∧ (¬ w ∨ ¬ z) ∧ (w ∨ ¬ y ∨ z) |
Exercise 3.2 (Domain-based tightenings) Given two CSP
P and P′, we write P′ ≼ P iff and
any instantiation I on Y ⊆ X P locally inconsistent
in P is locally inconsistent in P′ as well.
Consider the following CSP: P=⟨ X={x,y}, DE≡{D(x)={1,2,3},D(y)={1,2,3}}, C⟩. Construct two domain tightenings P1 and P2 of P (a domain tightening is P′ such that X P′=X P, DE′ ⊆ DE, C P′= C P) for which the relation ≼ defined above is in fact a partial order. (Assume C admits any combination of values as valid.)
Exercise 3.3 (Propagation on paper) Consider an initial
domain expression {x ∈ {0, 1, 2, 3}, y ∈ {0, 1, 2, 3}} and
two constraints x < y and y < x. Apply the propagation
algorithm Revise2001 from the lecture using pen and paper.
Exercise 3.4 In sections 15.1 and 15.2 of the Comet
manual it is explained how to implement propagators in COMET.