DM826 - Modeling and Solving Constrained Optimization Problems
Sheet 5, Spring 2012 [pdf format]

Prepare the following exercises for discussion in class on Monday 5th March 2012.

Exercise 1  

Assume a CSP:

 P= ⟨ X= {xyz},  DE={1, 2, 3, 4},  C≡{x < yy < z}⟩

and a branching b defined as follows:

     
b =  if  |D(x)| > 1  and  D(x) = {n1,…,nk} then          
 ⟨ {assign(xn1)},…, {assign(xnk)}⟩         
  else if  D(y) > 1  and  D(y) = {n1,…, nk}  then          
 ⟨{assign( yn1 )}, …, {assign( ynk )}⟩         
  else          
 ⟨ ⟩          

where the propagator assign(u, n) for a variable uX and a value nD(u) is defined as

assign(un)(v) =  if  (u = v)  then  n ⋃ D(v) else  D(v)

Draw the resulting search tree.

Exercise 2  

Discussion on Assignment 1, Pentominoes and Binpacking problems.