Computer Aided Layout (2)
Computer Aided Layout (2)
m m
z f ij cij d ij
i 1 j 1
• Rectilinear distance
If the centroidof department1is locatedat (x 1, y1)
andthe centroidof department2 is locatedat (x 2, y 2)
thend12 | x 1 x 2 | | y1 y 2 |
Computer-Aided Layout
• Activity relationship chart as input.
– The activity relationship between departments i and j must
first be quantified to get fij, where represents the relationship
strength on some numerical scale.
• One possible objective function:
m m
z fij xij
i 1 j 1
From\ 1 2 3 4
To
1 -- 10 15 20
2 -- 10 5
3 -- 5
4 --
Pairwise Exchange Method
• Phase I: Construct Phase Initial Solution
(1,2,3,4)
• Phase II: Improvement – Pair Wise
Exchange
• a) Exchange two departments
• b) If results in better solution, accept; go to a)
• otherwise stop
Pairwise Exchange Method
Pairwise Exchange Method
Pairwise Exchange Method
Pairwise Exchange Method
Pairwise Exchange Method
• Limitations
– No guarantee of optimality,
• The final solution depends on the initial layout
• Leads to suboptimal solution
– Does not consider size and shape of
departments
• Additional work has to be re-arrange the department
if shaper are not equal
Graph-based Method
• Often applied when using an adjacency-based
objective.
• A method that uses a graph (nodes connected by arcs)
to represent departments and their adjacencies to
other departments.
– Departments = nodes.
– If an arc connects two departments, they are adjacent.
• Arcs have values that represent adjacency relationships.
– Finding the “best” layout amounts to finding the best graph.
Graph-based Method
Graph-based Method
• Procedure for generating an adjacency graph.
1. Find the highest valued adjacency relationship as the
starting nodes connected by an arc (break ties randomly).
2. The third department selected will have the largest total
relationship value with the two departments selected in step
1.
3. The next departments to enter are selected one at a time
based on the highest total relationship values added when
the department is placed on the “face” of the existing graph.
A face is a region bounded by arcs of the graph.
Graph-based Method
Specific Computerized Layout
Algorithms
• Objective – Understand how different
quantitative concepts can be applied to
generate layout alternatives.
– Discrete and continuous departments.
– Different algorithms.
Specific Computerized Layout
Algorithms
• CRAFT – Computerized Relative Allocation of Facilities
Technique.
– One of the oldest implementations of computerized layout.
Well known in the facilities planning literature.
• Inputs
– From-To chart.
– Cost matrix.
– Initial layout.
• Objective
– Distance based.
• Department representation.
– Discrete grids.
– No shape restrictions.
Specific Computerized Layout
Algorithms
• CRAFT automatically implements a modified pairwise
interchange method.
– Many details must be addressed.
• CRAFT Algorithm
1. Start with an initial layout with all departments made up
of individual square grids (each representing the same
amount of space).
2. Estimate the best two-way department exchange by
assuming department centroids exchange exactly.
Dept. i and j exchange
– New centroid i = centroid j.
– New centroid j = centroid i.
Only consider exchanging adjacent departments.
– Why?
Specific Computerized Layout
Algorithms
• CRAFT Algorithm
3. Execute the exchange if the estimated cost of the best
exchange in (2) is lower than the best cost found so far.
The actual result of the exchange is problem dependent.
4. If the estimated cost of the best exchange in (2) is higher
than the best cost found so far stop.
Else, go to 1.
CRAFT Example
CRAFT Example
• Initial Layout
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
1 1 1 1 1 1 1 1 1 1 1 7 7 7 7 7 7 7 7
2 1 1 1 1 1 1 1 1 1 1 7 7 7 7 7 7 7 7
3 1 1 1 1 1 1 1 1 1 1 7 7 7 7 7 7 7 7
4 2 2 2 2 2 3 3 3 3 3 5 5 7 7 7 7 7 7
5 2 2 2 2 2 3 3 3 3 3 5 5 5 5 5 5 5 5
6 2 2 2 2 2 3 3 3 3 3 5 5 5 5 5 5 5 5
7 2 2 2 2 2 4 4 4 4 6 6 6 6 6 6 6 5 5
8 4 4 4 4 4 4 4 4 4 6 6 6 6 6 6 6 6 6
9 4 4 4 4 4 4 4 4 4 6 6 6 6 6 6 6 6 6
10 4 4 4 4 4 4 4 4 8 8 8 8 8 6 6 6 6 6
A B C D A B C D
A X 10 5 4 A X 11 7 9
B 1 X 1 20 B X 4 28
C 2 3 X 10 C X 20
D 5 8 10 X D X
Specific Computerized Layout
Algorithms
• BLOCPLAN also computes a “Rel-Dist” value for a
layout, which is:
m m
f d
i 1 j 1
ij ij
P= 20 sides P= 12 sides
Controlling Department
Shape
• The minimum perimeter occurs for a department when
it is square in shape.
– Assumes the department is non-circular, and represented
as a grid made up of individual square units.
• Let Pi* = minimum perimeter occurring when
department i is square.
Pi* 4 Ai
m m m m
Minimizez c ijf ijd hk x ih x ik
i 1 j1 h 1 k 1
Subjectto :
m
x
i 1
ih 1 for all h (onlyonedept.assigned
per site).
x
h 1
ih 1 for all i (eachdept.assigned
to a site).
x ih {0,1}
Heuristics in Computer-Aided
Layout
• The optimization problems that CRAFT, BLOCPLAN and
MULTIPLE attempt to solve are more complicated due
to department size considerations.
• These problems share one feature in common.
– They are very difficult to solve (find the best or a best solution
wrt to the given objective function).
• Procedures exist but they can become so computationally
expensive that all of the world’s computing power cannot solve
them.
Heuristics in Computer-Aided
Layout
• Example – MULTIPLE
– MULTIPLE simplifies the layout problem by restricting layouts
to be constructed in sequence on the space filling curve.
– MULTIPLE searches for the best or “optimal” sequence.
– Finding this sequence can also be very difficult as the number
of departments increases.
• Example – 25 departments. How many sequences?
There are A lot of
Possibilities
There are 25! different schedules
The first task has 25 choices, the
second has 24 choices….
25! = 15511210043330985984000000