Documente Academic
Documente Profesional
Documente Cultură
net/publication/269835290
Production Scheduling for Precast Plants using a Flow Shop Sequencing Model
CITATIONS READS
45 627
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Hao Hu on 26 May 2016.
Abstract: There are two alternatives for production organization in precast factories—namely, the comprehensive method and the
Downloaded from ascelibrary.org by Shanghai Jiaotong University on 05/26/16. Copyright ASCE. For personal use only; all rights reserved.
specialized method. Production scheduling under the specialized alternative has been found to be a difficult optimization problem if
heterogeneous elements are involved. A flow shop sequencing model that incorporates actual constraints encountered in practice is
proposed for this difficult case of precast production scheduling. The model is solved using a genetic algorithm 共GA兲. The traditional
minimize makespan and the more practical minimize tardiness penalty objective functions are optimized separately, as well as simulta-
neously using a normalized weighted GA. Comparisons between the GA and classical heuristic rules show that the GA can obtain good
schedules for the model, giving a family of solutions that are at least as good as those produced by the use of heuristic rules.
DOI: 10.1061/共ASCE兲0887-3801共2002兲16:3共165兲
CE Database keywords: Manufacturing facilities; Productivity; Scheduling; Algorithms; Management methods; Concrete, precast.
Fig. 2. Specialized method of work crew organization: 共a兲 component view; 共b兲 workstation view
Under the specialized method of work crew organization, Furthermore, rather than the criterion of makespan minimization
scheduling is simple when identical components are involved; used in the model, industry is more concerned with meeting due
however, it is rather difficult to determine an efficient schedule if dates. The industry’s lack of interest because of these shortcom-
the components are heterogeneous, with a different production ings may have caused researchers to direct their efforts elsewhere.
time for each component type. Some components have to wait for Chan and Hu 共1999兲 described a flow shop sequencing model that
the next operation, and some workstations 共crews兲 have to wait was largely based on the FSP, and attempted to address some of
idly for the arrival of new components, a situation depicted in these issues in precast scheduling work. The FSSM can be sum-
Figs. 2共a and b兲. The darkest blocks in Fig. 2共a兲 represent the marized as follows. There are n jobs 共precast components兲 to be
component waiting time, while those in Fig. 2共b兲 represent the processed in the same task sequence by m(⫽6) machines 共work-
workstation idle time. Figs. 2共a and b兲 are Gantt charts for the stations or crews—that is, mold setting, reinforcement setting,
same production schedule, but Fig. 2共a兲 is plotted from the view- casting, curing, demolding, and finishing/repairing兲. A distinction
point of components 共jobs兲, while Fig. 2共b兲 is plotted from the is made between normal working time, off-normal working time,
viewpoint of workstations 共machines兲. and overtime. All operations can be preempted, with the excep-
Heterogeneous element production is the prevailing situation tion of casting and curing. Every job is processed on one machine
in the industry, where it is very common to produce many differ- at a time, and every machine processes one job at a time, except
ent types of elements to satisfy several contract orders at the same for curing, which is a parallel process and can handle more than
time. We focus on this problem, and propose a scheduling model one job simultaneously. Resequencing of jobs is possible after the
and the corresponding algorithms for this difficult but very prac- curing operation if it is advantageous to do so. The objective is to
tical situation encountered in the industry. find a schedule 共i.e., the job processing sequence兲 that gives the
minimum makespan, meets delivery dates, or satisfies other quan-
Flow Shop Sequencing Model for Specialized Precast tifiable criteria. Precedence constraints between jobs have re-
Production cently been added to the FSSM, and makespan and the total tar-
diness penalities are minimized simultaneously using a
Based on our investigation and observation of precast plants, pre-
normalized weighted GA 共NWGA兲. These are explained in more
cast production under the specialized method possesses many of
detail later.
the characteristics of the traditional flow shop scheduling problem
The FSSM is based on the FSP, but special considerations
共FSP兲. The FSP is generally described as follows. There are m
have been added to reflect practical situations in precast plants.
machines and n jobs; each job consists of m operations, and each
operation requires a different machine. The n jobs have to be • A distinction is made between normal working time, off-
processed in the same sequence on all of the machines. The ob- normal working time, and overtime in the FSSM. In contrast,
jective is to find the sequence of jobs minimizing the maximum time in the traditional FSP is continuous, with no distinction
flow time, which is technically called the makespan of the pro- between working and nonworking hours.
duction schedule. • All operations in the standard FSP are nonpreemptive. In the
Dudek et al. 共1992兲 pointed out that there were few descrip- FSSM, casting and curing are nonpreemptive, which means
tions of the applications of algorithms minimizing the schedule that a task, once started, cannot be interrupted until it is com-
makespan for the FSP in the literature, and that the modeling pleted; other operations are preemptive and they can be inter-
assumptions made in the standard flow shop scheduling model are rupted and resumed later on the same machine.
overly restrictive and idealistic. Practical constraints on due dates, • All operations in the FSP proceed sequentially and every ma-
resources, and working hours are not considered in the model. chine processes only one job at a time. Processing of a job on
the current machine only begins if the machine is free and if where t⫽max兵C(ji⫺1 ,k),C(ji ,k⫺1)其⫹t jik ; d⫽int(t/24); i
processing of the job by the previous machine has been com- ⫽2,3,...,n; and k⫽2,...,m; and
再
pleted. However, curing in the FSSM is modeled as a parallel
process and different components can be cured simultaneously. t if t⭐24•d⫹T D
Therefore, a component can be cured immediately after cast-
C 共 j i ,k 兲 ⫽ or if t⬎24•d⫹T D and OT⬎0
ing 共assuming that there is enough curing space in the cham-
24共 d⫹1 兲 ⫹t j 1 k if t⬎24•d⫹T D and OT⫽0
ber兲.
• In the FSP, the processing order of the jobs remains unchanged (2)
from the start to the end. However, in the FSSM, rescheduling where t⫽max兵(C(ji⫺1) ,k), C( j i ,k⫺1) 其 ⫹t j i k ; d⫽int(t/24); i
is possible after the curing operation if it is advantageous to
⫽2,3,...,n; and k⫽2,¯ ,m.
switch the processing order of components for the remaining
The makespan, which is the completion time of the last job on
operations.
the last machine, is calculated as
• Precedence constraints may exist among precast components
in the FSSM.
The processing time of job i on machine k is given by t ik (i makespan⫽C max⫽C 共 j n ,m 兲 (3)
⫽1,...,n;k⫽1,...,m). Let C( j i ,k) denote the completion time of
job j i on machine k, let 兵 j 1 , j 2 ,..., j n 其 denote a job permutation,
and let T D and T N denote the daily normal working time and In the traditional flow shop scheduling model, a new operation
off-normal working time, respectively; T N ⫽24⫺T D . Let OT rep- ( j i ,k) of job j i on machine k cannot be started until j i flows from
resent overtime and let d represent number of days. If the pro- machine k⫺1 and job j i⫺1 has been finished on machine k. How-
cessing of operations ends within the normal working time for the ever, different components can be cured simultaneously. The start
current day 关cases 共1兲 and 共3兲, respectively, in Fig. 3兴, the comple- of a component’s curing is only dependent on the finish of its
tion time of preemptive and nonpreemptive operations can be casting 共i.e., the processing of job j i on machine k⫺1兲. A com-
computed as per the standard FSP. However, if overtime is not ponent can be cured as soon as it is cast, and it need not wait for
used, preemptive operations are stopped at the end of the normal the completion of curing of another component 共curing space in
working time for the current day and are completed during nor- the chamber permitting兲. However, if the finish time of the curing
mal working time the next day 关case 共2兲 in Fig. 3兴. For nonpre- activity falls during the off-normal period, i.e., between (24d
emptive operations, if they cannot be completed within the nor- ⫹T D ) and 24(d⫹1), the next operation, demolding, cannot be
mal working time during the current day, they can be completed processed until the next work day, i.e., the 24(d⫹1)th hour.
using overtime 关case 共4兲 in Fig. 3兴 or they can be rescheduled for Let d i denote the due date, and c i the completion time for job
the next work day 关case 共5兲 in Fig. 3兴. Eqs. 共1兲 and 共2兲 define the j i . Associated with each job is a unit earliness penalty ␣ i ⬎0 and
completion times for the preemptive and nonpreemptive cases, a unit tardiness penalty  i ⬎0. Tardiness T i is defined as T i
respectively ⫽max兵0,c i ⫺d i 其 , while earliness E i is defined as E i ⫽max兵0,d i
再
⫺c i 其 . A job i can be given a time window a i within which no
t if t⭐24•d⫹T D
C 共 j i ,k 兲 ⫽ (1) penalties are incurred if its completion time is within the interval
t⫹T N if t⬎24•d⫹T D (d i ⫺a i ,d i ⫹a i ). Let ⌸ be the set of all possible job sequences,
min f 共 兲 ⫽
苸⌸
兺 关 ␣ i共 E i ⫺a i 兲 U 共 E i ⫺a i 兲 ⫹ i共 T i ⫺a i 兲 U 共 T i ⫺a i 兲兴
i⫽1
(4)
where U(x⫺c)⫽unit step function defined as
U 共 x⫺a i 兲 ⫽ 再 0
1
if x⭐a i
if x⬎a i Fig. 4. Genetic algorithm model for scheduling of precast production
diness is considered.
After several generations, the algorithm converges to the best
chromosome, which hopefully represents the optimum or near-
Heuristic Rules and Genetic Algorithms for Flow Shop
optimal solution to the problem.
Scheduling Problems
The flow shop scheduling problem has proven to be NP-complete
Genetic Algorithm Model for Precast Production
in general, and most researchers have focused on approximate
Scheduling
algorithms employing heuristics to provide good and quick solu-
tions. Gen and Cheng 共1997兲 and Chen et al. 共1995兲 surveyed the Chan et al. 共1996兲 proposed a generic GA model suitable for
existing heuristics for the m-machine n-job flow shop problem scheduling and resource allocation problems. We use the same
with makespan as the criterion. Palmer’s, Gupta’s, Campbell, basic GA model for the scheduling of precast production 共Fig. 4兲.
Dudek and Smith 共CDS兲, and rapid access 共RA兲 heuristics are In the following sections, we describe some of the details and
implemented and compared against GAs in this paper. However, specific adaptations of the GA for the FSSM model.
these heuristics are developed for minimizing the schedule
makespan, and few algorithms have been published for optimiz-
Implementation of Genetic Algorithm for Precast
ing the E/T criterion. In industry, the commonly used heuristic
Production
for the tardiness problem is the earliest due date 共EDD兲 rule,
which sequences the jobs in ascending order of their due dates.
Representation
Genetic algorithms have been successfully applied to solve the
Two different kinds of representations can be adopted for the
traditional FSP. Reeves 共1995兲 proposed one such implementa-
production scheduling problem. One is based on permutation or-
tion, and concluded that simulated annealing algorithms and GAs
dering, and the other is based on random keys. In permutation
produce comparable results for most sizes and types of problems,
ordering, the production order is represented directly by the order
but GAs will perform relatively better for large problems and will
of appearance of the job identification numbers in the chromo-
reach a near-optimal solution more quickly. Chen et al. 共1995兲
some string. It is evident that under crossover and mutation, off-
proposed a GA based heuristic for the FSSP with makespan as the
spring may contain more than one occurrence of a job number or
criterion. Murata et al. 共1996兲 applied a multiobjective GA to the
leave out a job number entirely. Such a chromosome is an illegal
FSSP.
schedule. We have used a random key representation instead in
the adapted FSSM because of the ease with which it eliminates
the problem of illegal offspring and itss ability to handle prece-
Genetic Algorithm Approach
dence constraints. The random key representation was proposed
Genetic algorithms are stochastic search techniques based on the by Bean 共1994兲, and encodes a solution with random numbers
mechanism of natural selection and natural genetics. GAs, differ- from 0.0 to 1.0. These random values are applied as sort keys to
ing from conventional search techniques, start with an initial set represent the ordering priority used to build a schedule. For ex-
of random solutions called a population. In GAs, each individual ample, the jobs can be arranged in ascending order of the evolved
solution is represented by a single stringlike entity called a chro- random key values, with jobs having smaller values being con-
mosome. When applied to scheduling, each individual in the sidered for scheduling first. When used for scheduling problems,
population corresponds to one possible solution of the scheduling there are as many genes 共random keys兲 in the chromosome as
problem. A chromosome is the internal representation of the so- there are jobs to be scheduled 共Chan and Hu 1999兲. Random keys
lution, and consists of a linear string of genes that can be trans- neatly solve the problem of illegal offspring that may be gener-
formed directly or decoded indirectly to produce an actual sched- ated during genetic operations on chromosomes at the expense of
ule. The chromosomes evolve through successive iterations, an enlarged search space. However, an extra gene 共also a random
called generations. During each generation, the chromosomes are number between 0.0 and 1.0兲 is added at the end of the random
evaluated, using some measure of fitness. To create the next gen- key sequence to weight the makespan criterion when both the
eration, either merging of chromosomes from members of the makespan and the E/T are considered simultaneously. Therefore,
current generation using a crossover operator or modifying a a chromosome based on random keys may look like Fig. 5, with
chromosome using a mutation operator forms new chromosomes, (n⫹1) genes, where n is the number of jobs. We will show the
called offspring. A new generation is formed by 共1兲 selecting, performance of the algorithm with different weight settings.
according to the fitness values, some of the parents and offspring; In practical precast scheduling, it is sometimes required to
and 共2兲 rejecting others so as to keep the population size constant. assign precedence constraints among the jobs in the production
Fitter chromosomes have higher probabilities of being selected. sequence. This can be easily done in the random key representa-
on a single individual. The traditional crossover can be used with- order in which to consider the jobs when building the schedule,
out modification on the random key representation. We used a 2→1→9→6→5→11→4→3→8→10→7. The weight of the
single-point crossover that involves the exchange of a part of each makespan criterion is 0.25, while that of the E/T criterion is 1.0
chromosome in a pair across a randomly chosen point 关Fig. 6共a兲兴. ⫺0.25⫽0.75. The schedule can then be evaluated to determine its
Although crossover is principally thought of as a mechanism that fitness.
improves the quality of solutions, it is also possible that crossover
will disrupt a good schema already present, especially those of GA Parameters
higher order if it is overused. There are several parameters that can determine the performance
of the GA, but their optimal values cannot be ascertained by
Mutation applying fixed rules. Main GA parameters include the population
Mutation operates on a single chromosome and produces a new
size, the number of iterations performed, and the probability of
genotype by making a random change to values of one or more of
crossover and mutation. In this paper, the values of these param-
the genes in a chromosome string. Mutation is performed at the
eters were determined from a study of the literature, as well as
gene level, but not every gene needs to be 共or should be兲 mutated.
through limited experimentation to find a suitable population size
The frequency of mutation is often kept very low to avoid disrup-
共Chan and Hu 1999兲. The values used for the GA parameters were
tion of good solutions; the principal use of mutation is to reintro-
duce genetic diversity to avoid getting trapped in local optima. A as follows: population size, 100; number of iterations, 400; cross-
constant mutation scheme 关Fig. 6共b兲兴 is used in our implementa- over probability, 0.85; and mutation probability, 0.05.
tion of the GA for the FSSM. In constant mutation, a suitable
constant value is added 共subtracted兲 to 共from兲 the existing allele ObjectiveÕEvaluation Functions
value. Makespan is calculated using Eqs. 共1兲–共3兲, while the penalty for
However, after crossover and mutation, we need to check that earliness/tardiness is calculated using Eq. 共4兲. For the makespan-
all precedence constraints have been satisfied using the inequality tardiness optimization, Murata et al. 共1996兲 suggested a weighted
constraint described previously. The gene values may have to be sum approach to combine the two objective functions into a scalar
adjusted to satisfy the precedence requirement. fitness function f (x), as follows:
再 0
f m ⫽ 共 m w ⫺m 兲 / 共 m w ⫺m b 兲
1
if m w ⬍m
if m b ⬍m⭐m w
if m⭐m b
(7)
for mold preparation, reinforcement, casting, demolding, and
finishing/repairing 共curing is an operation that does not require
any crew兲. With stationary molds, the specialized crews move
再
from one mold to another. The production times used in the ex-
0 if t w ⬍t amples are the average values observed in practice. Natural cur-
ing was used, and its duration is 12 h. In our examples, the maxi-
f t⫽ 共 m w ⫺m 兲 / 共 m w ⫺m b 兲 if t b ⬍t⭐t w (8) mum overtime for casting per work day is 4 h. Overtime is used
1 if t⭐t b to complete an element if it is due the next day and doing so can
accomplish all of the processes within the overtime period al-
where m and t denote makespan and total tardiness penalties,
respectively; m b and t b ⫽minimum makespan and minimum total lowed; otherwise, the process is completed in normal working
tardiness penalties obtained by using a single objective GA time over consecutive days.
search; and m w and t w ⫽maximum makespan and tardiness pen- Our first example considers a simple precast situation compris-
alties from the single objective GA. Therefore, the objective func- ing six heterogeneous components. Production times, due dates,
tion of our NWGA can be represented as and E/T penalties of these components are listed in Table 1. The
second example expands the problem considerably by taking a
min f ⫽w m • f m ⫹w t • f t (9) 10-element type and 44-component situation with one specialized
where w m and w t ⫽weights for f m and f t , respectively; w m is crew for each of the five tasks. Table 2 compares the schedules
obtained directly by evolution of the chromosome string as de- obtained by our GA scheduling model against those obtained by
scribed earlier; and w t is calculated from the relation w m ⫹w t different heuristic procedures.
⫽1. In our examples, we assumed that there were no predecessor
and successor schedules. Fig. 7 illustrates a schedule produced by
GA for example 1. It is evident from Fig. 7 that there is some idle
Results and Discussion time when all of the task crews 共except the first兲 have to wait for
the arrival of the first component. Workstations are also idle when
there are no more scheduled components and new jobs do not
Numerical Examples
come in. This idle lead time at the beginning of a schedule may
Our examples employ stationary molds and the specialized pro- not be present in actual practice, since components are scheduled
duction method of crew organization. There are only five crews— in batches over finite-planning periods, with the scheduling of
each batch being independent of each other. Each resulting sched- alty. Nevertheless, we cannot conclude which heuristic is the best
ule is tacked on to the end of the previous schedule to form a because it is well known that heuristics do not work well outside
rolling schedule. The gray blocks in Fig. 7 show idle time in the of the problems for which they are designed, and their perfor-
production schedule, which leads to lower plant productivity— mance is sensitive to the input data.
compared to what it should be when production is on an ongoing- For example 2, Table 2 compares the schedules obtained by
rolling schedule. our GA scheduling model with those obtained by different heu-
ristic algorithms. The schedules with the minimum makespan of
Comparison of Different Algorithms 170.8 h and the minimum tardiness penalty of 0.0 units were both
obtained using GAs. Similarly, for example 1, the schedules with
We implemented some of the heuristics described in Gen and
the minimum makespan of 48.5 h and the minimum tardiness
Cheng 共1997兲 and Chen et al. 共1995兲, and tried them on several
penalty of 0.0 units were both acquired by GAs. Unlike heuristic
example problems, including the two discussed in this paper. The
rules, GAs were able to come up with more than one optimal
preliminary results show that Palmer’s, Gupta’s, CDS, and RA
solution. This illustrates another important advantage of the GAs,
heuristics were good at shortening the makespan, while the EDD
rule was good at reducing the tardiness penalty and/or E/T pen-
Makespan-Tardiness Optimization
Murata et al. 共1996兲 demonstrated that a weighted multiobjective
GA could find better Pareto optimal solutions than the vector
evaluated GA described by Schaffer 共1985兲 when they applied it
to the FSSP with two objectives—to minimize the makespan and
to minimize the total tardiness. However, we could not locate the
complete Pareto front for our example when we applied a similar
approach to the 10-element type 44-component example. In fact,
we could only get a few nondominated solutions in every GA run.
Downloaded from ascelibrary.org by Shanghai Jiaotong University on 05/26/16. Copyright ASCE. For personal use only; all rights reserved.
lems with different input data sizes should be conducted in order using genetic algorithms.’’ J. Constr. Eng. Manage., 125共3兲, 167–175.
to arrive at a more definite conclusion on the efficacy of the GA in Holland, J. 共1975兲. Adaptation in natural and artificial systems, Univ. of
solving the FSSM for precast production scheduling. Michigan Press, Ann Arbor, Mich.
Ishibuchi, H., and Murata, T. 共1998兲. ‘‘A multi-objective genetic local
search algorithm and its application to flowshop scheduling.’’ IEEE
Acknowledgments Transactions on Systems, Man, and Cybernetics—Part C: Applica-
tions and Reviews, Piscataway, N.J., 28共3兲, 392– 403.
The writers are grateful to the staff and officers of the Precast Ishii, K., and Muramatsu, R. 共1982兲. ‘‘Study on designing buffer capacity
Technology Center of the Housing & Development Board, Sin- in the production system for the components of the prefabricated
houses by precast concrete panel.’’ Bull. Sci. Eng. Res. Lab., 102,
gapore, for their support of the research that resulted in the find-
47– 61.
ings reported in this paper.
Kopfer, H. 共1996兲. Evolutionary search and the job shop: Investigations
on genetic algorithms for production scheduling, Physica, Heidelberg,
Germany.
References
Li, H., and Love, P. 共1997兲. ‘‘Using improved genetic algorithms to fa-
cilitate time-cost optimization.’’ J. Constr. Eng. Manage., 123共3兲,
Bean, J. 共1994兲. ‘‘Genetic algorithms and random keys for sequencing
233–237.
and optimization.’’ ORSA J. Comput., 6共2兲, 154 –160.
Chan, W. T., Chua, D. K. H., and Kannan, G. 共1996兲. ‘‘Construction Li, H., and Love, P. 共1998兲. ‘‘Site-level facilities layout using genetic
resource scheduling with genetic algorithms.’’ J. Constr. Eng. Man- algorithms.’’ J. Comput. Civ. Eng., 12共4兲, 227–231.
age., 122共2兲, 125–132. Murata, T., Ishibuchi, H., and Tanaka, H. 共1996兲. ‘‘Multi-objective ge-
Chan, W. T., and Hu, H. 共1998兲. ‘‘Process scheduling using genetic algo- netic algorithm and its applications to flow shop scheduling.’’ Com-
rithms for construction industry.’’ Proc., 3rd Int. Conf. on Manage- put. Ind. Eng., 30共4兲, 957–967.
ment, Springer, Shanghai, China, Paper No. R507 共CDROM兲. Reeves, C. R. 共1995兲. ‘‘A genetic algorithm for flowshop sequencing.’’
Chan, W. T., and Hu, H. 共1999兲. ‘‘Production scheduling using genetic Comput. Op. Res., 22共1兲, 5–13.
algorithms in precast factories.’’ Proc., 5th Int. Conf. on Application Schaffer, D. 共1985兲. ‘‘Multiple objective optimization with vector evalu-
of Artificial Intelligence to Civil and Structural Engineering, Vol. C, ated genetic algorithms.’’ Proc., 1st Int. Conf. on Genetic Algorithms,
Comp Press, Oxford, U.K., 25–33. Carnegie–Mellon Univ., Pittsburgh, 93–100.
Chen, C. L., Vempati, V. S., and Aljaber, N. 共1995兲. ‘‘An application of Warszawski, A. 共1982兲. ‘‘Managerial planning and control in precast in-
genetic algorithms for flow shop problems.’’ Eur. J. Oper. Res., 80, dustry.’’ J. Constr. Div., Am. Soc. Civ. Eng., 108共2兲, 299–313.
389–396. Warszawski, A. 共1984兲. ‘‘Production planning in prefabrication plant.’’
Choo, H. J., Tommelein, I. D., Ballard, G., and Zabelle, R. 共1999兲. Build. Environ., 19共2兲, 139–147.
‘‘WorkPlan: Constraint-based database for work package scheduling.’’ Warszawski, A. 共1990兲. Industrialization and robotics in building: A
J. Constr. Eng. Manage., 125共3兲, 151–160. managerial approach, Harper & Row, New York.
Chua, D. K. H., Chan, W. T., and Govindan, K. 共1997兲. ‘‘A time-cost Ziverts, G., and Bajars, E. 共1976兲. ‘‘Production planning and scheduling
trade-off model with resource consideration using genetic algorithm.’’ for long line prestress products.’’ J. Prestressed Concr. Inst., 21共6兲,
Civ. Eng. Sys., 14, 291–311. 46 –75.