Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Homework #6 (Placement/Floorplanning)
1. Describe a simulated annealing solution for the problem discussed below. Make sure
to discuss all the important concepts associated with annealing e.g. the move set, cost
function, cooling schedule, and initial temperature. Dont just state parameter values.
Show how you select them. For example, explain how you determined the number of
moves carried out at each temperature. How did you select the value of Ti-Ti+1?
Problem:
Assume we have a set of objects X. Object x i X has area Ai. Container C has
area A. We want to put a maximum number of objects into C so that they fit, i.e. find X
X so that A i A , |X| is maximum, and the sum is taken over all i such that x X.
i
i
Now add one more constraint. Assume B is a 0,1 matrix of size n X n, and b ij = 1
implies that if xi X then xj must be in X. bij = 1 implies nothing. B is a symmetric
matrix.
2. Consider the GA partitioning problem discussed in class. Determine one or more new
crossover techniques 1) that produce legal partitions, 2) that you think are clever, 3)
that are technically good in that they would be useful in leading to a good solution,
and 4) are consistent with all the general concepts of GA. Limit your time on this
question to 30 minutes.
A C
B D E
F
a. Corresponding to a slicing floorplan one can construct at least one slicing tree.
Traversing the tree produces a Polish expression. A vertical cut, such as the one shown,
places modules A, B and D to its left, and the rest to its right. Continuing with the two
rectangles formed by this cut, we can slice these to again put modules to the left or right,
or top and bottom.
b. (5 pts.) Write out a normalized Polish expression for this floorplan if one exists. (Recall that ABH
means that A is to the right of B; ABV means that A is below B; a Polish expression is normal if
there exists no occurrences of HH or VV.
Let S = (7, 3, 4, 1, 5, 6, 2, 8)