Practice Problems 6 - Computer-Aided Logic Design | ECE 474A, Study notes of Electrical and Electronics Engineering

Material Type: Notes; Class: Computer-Aided Logic Design; Subject: Electrical & Computer Engr; University: University of Arizona; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 08/31/2009

koofers-user-ev4-1
koofers-user-ev4-1 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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

Partial preview of the text

Download Practice Problems 6 - Computer-Aided Logic Design | ECE 474A and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

PRACTICE P ROBLEMS 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 r 0 = 0.215, r 1 = 0.920,

r 2 = 0.150, r 3 = 0.689, r 4 = 0.678, r 5 = 0.752, r 6 = 0.112, r 7 = 0.995, r 8 = 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 P

m7 x x m13 x x m15 x x

Fig 1. Constraint matrix for problem 1.

P1 P2 P3 P4 P5 P6 P

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 P

x x x x

x x x x x x x x x x

x x

m m

m m m m m

m

Fig 4. Constraint matrix for problem 6.

P1 P2 P3 P4 P5 P6 P

m0 x x x

m1 x x x m2 x x x m5 x x

m7 x x x