You are on page 1of 12

Serbian

Serbian Journal of Management 2 (1) (2007) 35 - 46 Journal


of
Management
www.sjm.tf.bor.ac.yu

USING GENETIC ALGORITHMS TO RESOLVE


FACILITY LAYOUT PROBLEM

I. Mihajlovi}* , @. @ivkovi}, N. [trbac,


D. @ivkovi} and A. Jovanovi}

University of Belgrade, Technical Faculty at Bor,


Vojske Jugoslavije 12, 19210 Bor, Serbia

(Received 12 May 2006; accepted 23 July 2006)

Abstract

The component layout problem requires efficient search of large, discontinuous spaces. The
efficient layout planning of a production site is a fundamental task to any project undertaking. This
paper describes a genetic algorithm (GA) to solve the problem of optimal facilities layout in
manufacturing system design so that material-handling costs are minimized. The performance of the
proposed heuristic is tested over problems selected from the literature. Computational results indicate
that the proposed approach gives better results compared to many existing algorithms in this area.

Keywords: facility layout; flexible manufacturing; stochastic programming

1. INTRODUCTION available space such that a set of objectives


can be optimized while satisfying optional
Component layout plays an important role spatial of performance constraints.
in the design and usability of many Current tools available in practice to
engineering products. The layout problem is designers to aid in the general mechanical
also classified under the headings of layout process mostly remain at the stages of
packing, packaging, configuration, container physical or electronic models with the
stuffing, pallet loading or spatial assistance of manual adjustment and visual
arrangement in the literature. The problem feedback.
involves the placement of components in an The difficulty in automating the

* Corresponding author: imihajlovic@tf.bor.ac.yu


36 I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46
mechanical and electromechanical layout over the lifetime of the facility. Such
processes stems from: (1) the modeling of problems occur in many organizations,
the design objectives and constraints; (2) the including manufacturing cell layout, hospital
efficient calculation of the objectives and layout, semiconductor manufacturing and
constraints; (3) the identification of service center layout. For US manufacturers,
appropriate optimization search strategies. between 20% and 50% of total operating
A number of design goals can be modeled expenses are spent on material handling and
as layout objectives. In addition, a set of an appropriate facilities design can reduce
constrains often has to be satisfied to ensure these costs by at least 10%-30% [2,3].
the applicability of the layouts. Efficient Altering facility designs due to incorrect
calculations of objectives and constraints are decisions, forecasts or assumptions usually
necessary to solve the layout problems in involves considerable cost, time and
reasonable time since the analysis of disruption of activities. On the other hand,
objectives and constraints can be good design decisions can reap economic
computationally expensive and a large and operational benefits for a long -time
number of evaluations may be required to period. Therefore, the critical aspects are
achieve convergence. The search space of designs that translate readily into physical
the layout problem is non-linear and multi- reality and designs that are "robust" to
model, making it vital to identify a suitable departures from assumptions.
algorithm to navigate the space and find The project manager or planner usually
good quality solutions. performs the task of preparing the layout
The layout goals are usually formulated as based on his/her own knowledge and
objective functions. The objectives may expertise. Apparently, this could result in
reflect the cost, quality, performance and layouts that differ significantly from one
service requirements. Various constraints person to another. To put this task into more
may be necessary to specify spatial perspective, researchers have introduced
relationships between components. The different approaches to systematically plan
specifications of components, objectives, the layout of production sites [4,5]
constraints, and topological connections Facility layout planning can generally be
define a layout problem and an optimization classified according to two main aspects: (1)
search algorithm takes the problem method of facility assignment and (2) layout
formulation and identifies promising planning technique.
solution by evaluating design alternatives Mathematical techniques usually involve
and evolving design states. Analysis of the identification of one or more goals that
objectives and constraints vary from problem the sought layout should strive to achieve. A
to problem. However, the optimization widely used goal is the minimization of
search technique and geometric transportation costs on site. These goals are
representation and the resulting interference commonly interpreted to what
evaluation are problem independent and are, mathematicians term "objective functions".
thus, the focus for a generic layout tool[1]. This objective function is then optimized
The primary objective of the design under problem-specific constraints to
problem is to minimize the costs associated produce the desired layout. Systems utilizing
with production and materials movement knowledge-based techniques, in contrast,
I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46 37
provide rules that assist planners in layout 2. LAYOUT SPACE
planning rather than perform the process CHARACTERISTICS AND SOLUTION
based purely on a specified optimization APPROACHES
goal(s).
Usually the selected fitness function is the The problem of plant layout involves
minimum total costs of handling of work distributing different departments,
pieces. In general, those costs are the sum of equipment, and physical resources as best as
the transport costs (these are proportional to possible in the facility, in order to provide
the intensity of the flow and distances) and greater efficiency in the production of goods
other costs. or services.
An effective facility layout design reduces The aims to be achieved when dealing
manufacturing lead-time, and increases the with a problem of the above type can
throughput, hence increases overall generally be described from two stances. On
productivity and efficiency of the plant. The the one hand, many researchers describe the
major types of arrangements in problem as one of optimizing product flow,
manufacturing systems are the process, the from the raw material stage through to the
flow line or single line, the multi-line, the final product. This is achieved by
semi-circular and the loop layout. The minimizing the total material handling costs.
selection of a specific layout defines the way Solving the problem in this sense requires
in which parts move from one machine to knowing distances between departments
another machine. The selection of the (usually taken from their centroids), the
machine layout is affected by a number of number of trips between departments, and
factors, namely the number of machines, the cost per unit.
available space, similarity of operation On the other hand, layout can be
sequences and the material handling system considered as a design problem. Seen from
used. There are many types of material this angle, solving the problem involves not
handling equipment that include automated only collecting the quantitative information
guided vehicles, conveyer systems, robots, mentioned above, but also qualitative
and others. The selection of the material information, for instance, how different
handling equipment is important in the departments are related from the point of
design of a modern manufacturing facility view of adjacency.
[6]. The layout space is defined as the
The problem in machine layout design is mathematical representation of the space of
to assign machines to locations within a configurations mapped against the cost per
given layout arrangement such that a given configuration. Deterministic algorithms are
performance measure is optimized. The unable to navigate such a space for globally
measure used here is the minimization of near-optimal solutions, and stochastic
material handling cost. This problem belongs algorithms are usually required for solutions
to the non-polynomial hard (NP-hard) class. of good quality.
The problem complexity increases The manner of arranging of working
exponentially with the number of possible devices largely depends on the type of
machine locations. production. NP-hard problems are
unsolvable in polynomial time [7](Kusiak
38 I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46

1990). Accurate mathematical solutions do highly unlikely that exact solution to the
not exist for such problem. The complexity general layout problem can be obtained in an
of such problems increases exponentially amount of time that is bounded by a
with the number of devices. For instance, a polynomial in the size of the problem,
flexible manufacturing system (FMS) resulting in prohibitive computation time for
consisting of N machines will comprise a large problems. Heuristic algorithms are
solution space with the size N. The problem typically used to generate acceptable
is theoretically solvable also by testing all solutions. As will be discussed, general
possibilities (i.e., random searching) but algorithms typically require some level of
practical experience shows that in such (stochastic) perturbation to avoid local
manner of solving the capabilities of either optima.
the human or the computer are fast exceeded. Various models and solution approaches
For arranging the devices in the FMS the have been proposed during past three
number of possible solutions is equal to the decades. Heuristic techniques were
number of permutations of N elements. introduced to seek near-optimal solutions at
When N is large, it is difficult, if not reasonable computational time for large
impossible, to produce the optimal solution scaled problems covering several known
within a reasonable time, even with support methods such as improvement, construction
of a powerful computer. With today's and hybrid methods, and graph-theory
computation power of modern computers it methods [10]. However, the area of
is possible to search for the optimum researches is still always interesting for
solution by examining the total space of many researchers, since today the problems
solutions somewhere up to the dimensions of are solved by new methods and with the
space 10. In case of problems of larger possibility of application of much greater
dimensions it is necessary to use computation capacity of modern computers.
sophisticated solving methods which, during A variety of optimization algorithms have
examining the solution space somehow limit been applied to the layout problem. Some of
themselves and utilize possible solutions the approaches may be efficient for specific
already examined [8]. types of problems, but often place
restrictions on component geometry,
allowable degrees-of-freedom, and the
3. LAYOUT SEARCH ALGORITHMS objective function formulation. Others are
applicable to a wider variety of problems but
The layout problem can have different may require prohibitively long computing
formulations, but it is usually abstracted as time to solve even simplistic problems.
an optimization problem. An assignment of Layout algorithms can be classified into
the coordinates and orientations of different categories according to search
components that minimizes the cost and strategies used for design space exploration.
satisfies certain placement requirements is The target of all methods is the minimum
sought. The problem can be viewed as a transport costs, but they differ in
generalization of the quadratic assignment exactingness, particularly in the length of the
problem and therefore belongs to the class of procedure. However, it cannot be decided
NP-hard problems [9]. Consequently it is with certainty which basic method and/or
I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46 39
method of improvement of the layout is the C total cost of material handling system.
best.
The total cost function is defined as:
3.1. Fitness function
M M

Researchers using mathematical


C= G C
i =1 j =1
ij ij Lij (1)
techniques in facility layout planning have
developed many forms to represent their The evaluation function considered in this
optimization goals or objective functions. paper is the minimization of material
Those functions can be categorized in handling cost, which is criterion most
following manner: To minimize the total researchers prefer to apply in solving layout
transportation costs of resources between problems. However, the proposed approach
facilities. To minimize the total applies to other functions as well.
transportation costs of resources between To solve the problem it is necessary to
facilities (presented through a system of know the matrix of the transport quantities
proximity weights associated with an between the individual devices N in a time
exponential scale). To minimize the total period. Also the variable transport costs,
transportation costs of resources between depending on the transport means used, must
facilities and the total relocation costs be known. For example: connection between
(presented through a system of proximity two devices can be performed by another
weights and relocation weights). transport device then between other two
During the manufacturing process, devices. Thus, also different transport cost
material flows from one machine to the next per unit length result.
machine until all the processes are The costs of transport between two
completed. The objective of solving the devices can be determined if their mutual
facility layout problem is therefore to distance Lij is known. During execution of
minimize the total material handling cost of the GA the value Lij changes with respect to
the system. To determine the material the mutual position of devices and with
handling cost for one of the possible layout respect to position in the arrangement.
plans, the production volumes, production Fitness function thus depends on the
routings, and the cost table that qualifies the distances Lij between the devices. The
distance between a pair of distance between serving points is multiplied
machines/locations should be known. The by coefficients Gij and Cij, which measure
following notations are used in the the amount of material flow and the handling
development of the objective function: cost between devices and they are constants
defined by input matrix, Table 1 and Table 2.
Gij amount of material flow among The value of the cost function is thus the sum
machines i and j (i,j=1,2,..,M) of all values obtained for all the pairs of
Cij unit material handling cost between devices. The aim of optimization process is
locations of machines i and j to minimize this value. Fitness is based on
(i,j=1,2,.,M) the principle that the cost of moving goes up
Lij rectilinear distance between locations with the distance.
of machines i, and j
40 I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46

3.2. Genetic algorithms 1 2 3

9 7 8

Genetic algorithms (GAs) can be defined 4 5 6

as meta-heuristics based on the evolutionary 4 3 1 9 7 8 4 3 1 2 5 6

process of natural systems [11]. Since their 7 8 9

inception, they have been applied to 2 5 6

numerous optimization problems with highly


Fig. 1. Type of layout used in calculations
acceptable results.
and its chromosome representation
GAs are new approach to solving
complex problems such as determination of
facility layout. GAs became known through The selection stage consists of sampling
the work of John Holland in the 1960s [11]. the initial population, thereby obtaining a
The GAs contain the elements of the new population with the same number of
methods of blind searching for the solution individuals as the initial one. This stage aims
and of directed and stochastic searching and at improving the quality of the population by
thus give compromise between the favoring those individuals that are more
utilization and searching for solution. At the adequate for a particular problem (the quality
beginning, the search in the entire search of an individual is gauged by calculating its
space and afterwards, by means of crossover, fitness, using equation 1, which indicates
they search only in the surrounding of the how good a solution is).
promising solutions. So GAs employed The selection, mutation, and crossover
random, yet directed search for locating the operators were used to create the new
globally optimal solution [12]. generation of solutions. A fitness function
The starting point in GA presented in this evaluates the designs and decides which will
work was an initial population of solutions be the survivors into the next generation.
(which was randomly generated). Process Selection is accomplished by copying strings
shop layout and its randomly generated from the last generation into the new
chromosome are shown on figure1. This generation based on a fitness function value.
population undergoes a number of Mutation is the process of randomly
transformations designed to improve the changing one bit of information in the string
solutions provided. Such transformations are and it prevents GAs from stagnating during
made in the main loop of the algorithm, and the solution process. Crossover is
have three basic stages: selection, responsible for introducing most new
reproduction, and replacement, as discussed solutions by selecting two parent strings at
below. Each of the selection-transformation random and exchanging parts of the strings.
cycles that the population undergoes A parent selection procedure used in this
constitutes a generation; hopefully, after a work operates as follows:
certain number of generations, the
population will have evolved towards the 1. Generate initial population consisting
optimum solution to the problem, or at least of 200 members using random number
to a near-best solution. generator.
2. Place all population members in main
database.
I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46 41
3. Calculate the fitness C (Eq. (1)) of all
P1 1 3 6 2 5 8 4 7 9
population members.
4. Chose the population member whose P2 8 3 1 9 6 5 7 2 4
fitness has minimum value compared with
fitness of the other population members as The mutation operator is used to rearrange
the first parent. the structure of a chromosome. In this study,
5. Place chosen population member in the swap mutation was used, which is simply
separate database. selecting two genes at random and swapping
6. Repeat procedure (1-5) once more to their contents. The probability of mutating a
produce second parent chromosome. single gene is usually a small number.
Since it is difficult to assume the total
Now there is two parent chromosomes optimum solution of the problem
whose fitness are the best compared to the investigated, and it became more difficult if
rest of the population. The probability that number of workstations (machines) increase,
the fitness of one of two parents is total the program should be terminated when
minimum of studied example is very small. either the maximum number of generations
The starting chromosome in new iteration is reached, or until the propounded limit is
isn't randomly generated. It is the attained. In this work we chose the second
chromosome obtained by crossover of two procedure. As propounded limit the value
parents chromosomes discussed above. obtained for the material handling cost of
Consider a pair of parent chromosomes (P1, optimal facility layouts presented in
P2) shown below: benchmark test was used. This value was C =
4818. Only the results with value equal to
P1 1 3 6 8 4 2 5 7 9 this were placed in main database, which are
P2 8 3 1 5 7 9 6 2 4 presented as optimums in figure 2.
In all experiments the same genetic
The way of crossover implementing in parameters as used in works [13,14] were
this work was chose four central numbers of used. Those genetic parameters were: the
both parents i.e. (8,4,2,5) in P1 and (5,7,9,6) probability of crossover pc = 0.6 and
in P2, but we do not exchange it from P1 to probability of mutation pm = 0.001. The
P2 and vice versa (the procedure explained percentage of replication of well-performed
and used by Chan and Tansri [13]; Mak, chromosomes in each generation was R =
Wong and Chan [14]as well as by El-Baz [6], 5%.
we only change their string in original
chromosome of one parent in the way they
are lined in the other. To be precisely, 4. NUMERICAL EXAMPLE
numbers 8,4,2,5 in P1 should be lined as
2,5,8,4 in P1, and numbers 5,7,9,6 in P2 The calculation of numerical example
should be lined as 9,6,5,7 in P2. At this stage presented was done on standard PCP4 desk-
genes can not be found to exist in more then top computer [Pentium (R) 4CPU 2.0 GHz,
one position in the resultant chromosomes. 248 MB of RAM].
The structures of the resultant chromosomes A comparative evaluation of the proposed
then become: approach is made using benchmark
42 I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46

numerical examples. The example is taken solutions since the number of sampling
from Chan and Tansri [13] and compared solutions from the solution space is enlarged.
with the work of Mak, Wong and Chan [14] The general cost performance for the four
as well as with work of El-Baz [6] whom different approaches is studied with the used
used same example to evaluate their work. sampling solution space.
The stopping criterion for iteration was Fig. 2 shows some of the resulting
obtaining a value of fitness C (Eq. (1)), equal optimal machine layouts giving a material
to the best value obtained in above papers. handling cost of value equal to 4818 i.e.
The plant flow of materials between solutions that are equivalent compared to
machines and material handling cost ones proposed by models selected for
between machines are presented in tables 1 comparison from the literature.
and 2, respectively. The plant configuration Results presented by Chan and Tansri
layout is 3X3 grid. In this example, using 9 [13], Mak, Wong and Chan [14] and El-Baz
machines, there are 362880 possible [6] are also the optimal solutions for studied
solutions in the solution space e.g.(9!). example. Results obtained by proposed
approach are the same yet obtained with less
Table 1. Flow of materials between machines

From/To 1 2 3 4 5 6 7 8 9
1 100 3 0 6 35 190 14 12
2 6 8 109 78 1 1 104
3 0 0 17 100 1 31
4 100 1 247 178 1
5 1 10 1 79
6 0 1 0
7 0 0
8 12
9

The experimental results shown in Table 3 number of iterations, Figure 3. Overall


are expressed in terms of: minimum of handling costs obtained is 4818,
1. The material handling cost of the best and layout it presents shown in Fig.2.
solution among trials (Best) The reason for such discrepancies of
2. The number of the trials needed to results presented in this paper and the results
obtain one of the optimal solutions (#). proposed by models selected for comparison
from the literature, concerning number of
In general, an increase in the population iterations, is laying mainly in simplicity of
and generation sizes can provide better the way of crossover implementing in this
I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46 43
work comparing to the procedure explained 5. CONCLUSION
in previous literature as described in section
3.2. This paper proposes an approach using
GAs to solve facility layout problems.
Algorithm presented here has theoretical
Table 2. Material handling cost between machines
From/To 1 2 3 4 5 6 7 8 9
1 1 2 3 3 4 2 6 7
2 12 4 7 5 8 6 5
3 5 9 1 1 1 1
4 1 1 1 4 6
5 1 1 1 1
6 1 4 6
7 7 1
8 1
9

4 8 5 7 1 6 6 2 5

3 9 2 3 9 2 1 9 8

7 1 6 4 8 5 7 3 4

5 2 6 5 8 4 4 3 7

8 9 1 2 9 3 8 9 1

4 3 7 6 1 7 5 2 6

Fig. 2. Some of the optimal facility layouts for example studied


44 I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46

Table 3. The experimental results for sample problem


Exp. No.of Proposed No.of M.Adel El- Mak et PMX
triels approach triels Baz al. (Chan and
Tansri)
# Best # Best Best Best
1 4050 5119 200 5039 5233 4939
2 8595 5150 400 4818 5040 5036
3 180 4872 1000 4818 4818 4938
4 405 4818 2000 4818 4818 4818
5 270 4818 5000 4818 4818 4818
6 360 4818 400 4872 5225 4938
7 2160 4939 800 4818 4927 4992
8 1125 4990 2000 4818 4818 4818
9 765 4818 4000 4818 4818 4818
10 1485 4818 800 4818 5225 4938
11 3105 4818 1600 4818 4927 4992
12 990 4818 4000 4818 4818 4818
13 2160 4818 8000 4818 4818 4818
14 3105 4818 2000 4818 5225 4938
15 225 4818 4000 4818 4818 4927
16 2160 4818 10000 4818 4818 4818
17 3015 4818 4000 4818 4818 4938
18 3240 4818 8000 4818 4818 4862
19 3600 4818 5000 4818 4818 4818
Sum: 40995 63200

aspect that is finding an ideal workstations benchmark problems. The comparison


position in short time as well as practical indicates that the proposed approach is
significance of saving financials needed for efficient and has a high chance of obtaining
transportation costs in concrete production the best solution for the facility layout
systems. The proposed GA approach problem with less number of iterations. The
produces the optimal machine layout, which solutions for the example studied were
minimizes the total material handling cost. calculated in reasonably short time on
The effectiveness of the proposed approach standard PC equipment. Only demerit of GA
has been examined by using three presented in this work, compared to results
I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46 45
presented by Chan and Tansri [13], Mak, Journal of Operational Research, 1992, 63, 322-46.
Wong and Chan [14] and El-Baz [6] is that 4. Yeh I.C., Construction-site layout using
annealed network. J.Comput.Civ.Eng.,ASCE , 1995,
number of trials needed to obtain first 9, 201-208.
optimum is to some extent larger, still overall 5. Cheung S.O., Tong T.K.L., Tam C.M., Site pre-
number of iterations is much lesser (40995 < cast yard layout arrangement through genetic
63200), with same number of experiments. algorithms. Autom. Constr., 2002 11, 35-46.

This work
5300 M.Adel El-Baz
Mak et al.
5200 Chan and Tansri

5100

5000
Optimal results

4900

4800

4700

4600

4500

0 10000 20000 30000 40000 50000 60000 70000


No. of trials
Fig. 3. Comparison of the optimal solutions obtained in this work and literature models

6. El-Baz M. Adel, A genetic algorithm for facility


References layout problems of different manufacturing
environments. Computers and Industrial Engineering,
1. Cagan J., Shimida K., Yin S., A Survey of 2004, 47, 233-246.
computational approaches to three-dimensional 7. Kusiak A., Intelligent Manufacturing Systems,
layout problems. Computer-Aided Design, 2002, 34, 1990 (Prentice - Hall Inc.: New Jersey).
597-611. 8. Ficko M., Brezocnik M., Balic J., Designing the
2. Maller R.D., Gau K.Y., The facility layout layout-and multiple-rows flexible manufacturing
problem: recent and emerging trends and system by genetic algorithms. Journal of Materials
perspectives. Journal of Manufacturing Systems, Processing Technology, 2004, 157 150-158.
1996, 15,351-66. 9. De Bont F., Aerts E., Meehen P., O`Brien C.,
3. Tam K.Y., Genetic algorithms, function Placement of shapeable blocks. Philips Journal of
optimization, and facility layout design. European Research 1988, 43, 1-22.
46 I.Mihajlovi} / SJM 2 (1) (2007) 35 - 46
10. Kusiak A., Heragy S., The facility layout
problem. Eur. J. Operat. Res., 1987, 29, 229-251.
11. Holland H.J., Adaptation in Natural and
Artificial Systems, 1975 (University of Michigan
Press: Ann Arbor).
12. Heng L., Love P.E.D., Genetic Search for
solving Construction Site-Level Unequal-Area
Facility Layout Problems. Automation in
Construction, 2000, 9, 217-226.
13. Chan K.C., Tansri H., A study of genetic
crossover operations on the facility layout problem.
Computers and Industrial Engineering, 1994, 26(3),
537-550.
14. Mak K.L., Wong Y.S., Chan T.S., A genetic
algorithm for facility layout problems. Journal of
Computer Integrated Manufacturing Systems, 1998,
1(1-2), 113-123.

You might also like