
PRACTICE PROBLEMS 6
Lecture 9
1. Using the MIS_QUICK algorithm, find the size of the maximally independent set.
(a) Base your weights on row counts
(b) Base your weights on column counts
2. What is a local search? What are the benefits and drawbacks of a local search.
3. What is the cooling schedule in simulated annealing used for? What is the purpose of different cooling schedules?
4. Using the branch and bound algorithm, find the minimum cover for the constraint matrix in Fig 2.
5. Find the minimum cover for the constraint matrix in Fig 3 using a decision tree and the branch and
bound algorithm. How much of the search space can be eliminate by using the branch and bound
algorithm?
6. Use Simulated Annealing to find the minimum cover for constraint matrix in Fig 4. Assume you are
using a linear cooling schedule where the start temperature is initialized to 100 and decrease by 20
after each iteration. Assume the random numbers generated in each iteration are r0 = 0.215, r1 = 0.920,
r2 = 0.150, r3 = 0.689, r4 = 0.678, r5 = 0.752, r6 = 0.112, r7 = 0.995, r8 = 0.332. You may choose the
random neighbor selected in each iteration of the algorithm.
Fig 2. Constraint matrix for problem 4.
Fig 3. Constraint matrix for problem 5.
P1 P2 P3 P4
m7 x x
m13 x x
m15 x x
Fig 1. Constraint matrix for problem 1.
P1 P2 P3 P4 P5 P6 P7
m0 x x x
m1 x x x
m2 x x x
m5 x x
m7 x x x
P1 P2 P3 P4 P5 P6 P7 P8
x x
xx
x x
x x x x x x
x x
xx
m0
m2
m7
m8
m12
m13
m15
m3
Fig 4. Constraint matrix for problem 6.
P1 P2 P3 P4 P5 P6 P7
m0 x x x
m1 x x x
m2 x x x
m5 x x
m7 x x x