Professional Documents
Culture Documents
General job shop scheduling and rescheduling with alternative manufacturing with the application of computers and precise
route choices for an FMS environment is addressed in this controls has lead to the development of such systems. They
paper. A genetic algorithm is proposed to derive an optimal provide flexibility for job shops with nearly the efficiency of
combination of priority dispatching rules "pdrs" (independent large volume manufacturing. This paper deals with an auto-
pdrs one each for one Work Cell "WC"), to resolve the conflict mated job shop or flexible manufacturing system (FMS), which
among the contending jobs in the Giffler and Thompson "GT" can achieve both flexibility and productivity. It is the type of
procedure. The performance is compared with regard to makes- system emerging in manufacturing to compete in the global
pan criteria and computational time. The optimal WCwise-pdr market that is becoming increasingly competitive every day.
is proved to be eJficient in providing optimal solutions in a The various components of the FMS are generally grouped
reasonable computational time. Also, the proposed GA based as follows [1]:
heuristic method is extended to revise schedules on the arrival
of new jobs, and on the failure of equipment to address the FMS descriptions: workstation specification, material
dynamic operation mode of flexible manufacturing systems. An handling system description, layout
iterative search technique is proposed to find the best route description and pallet/fixture avail-
choice for all operations to provide a feasible and optimal ability.
solution. The applicability and usefulness of the proposed Part descriptions: operation sequence for each part and
methodology for the operation and control of FMS in real- resource requirement for each oper-
time are illustrated with examples. The scope of the genetic ation.
search process and future research directions are discussed. Scheduling parameters: tool loading and schedule specifi-
cation.
Keywords: Flexible manufacturing systems; Genetic algor-
ithm; Scheduling The realisation of the objectives of the FMS depends on all
the above aspects. Once the FMS and part descriptions are
defined, then the performance/profitability of the system
depends entirely on how efficiently the production resources
1. Introduction are used and on how the flow of selected parts is processed
through the system (i.e. releasing and dispatching at operational
Automating a job shop can pave the way for producing a level). The overall allocation of system resources (scheduling)
variety of parts in small lots flexibly in a produce-to-order and the status of the system determines the above decision [2].
environment. The shop structure is therefore moving towards Determining an efficient schedule for the general job shop
a pure job shop coupled with automation. With numerical problem has been the subject of research for more than 50
control machines, having large magazines capable of holding years. For n jobs and m machines in the general case there
a variety of tools and with automatic tool changers, linked by will be (n!) '~ feasible sequences [3]. The evolution of CIM
automatic material handling devices and integrated computer has complicated the issue because of its complex nature of
control systems, it has become possible to achieve automation working. Scheduling problems are known to be complex even
in a flexible job shop. The technological breakthrough in for simple formulations and are NP-hard in many cases. The
automatic generation of scheduling plans for job shops are
traditionally addressed using optimisation and approximation
Correspondence and offprint requests to: Dr S. G. Ponnambalam, approaches [4]. Optimisation algorithms include enumerative
Department of Mechanical Engineering, PSG College of Technology,
Post Box l611, Peelamedu, Coimbatore 641004, India. E-mail: procedures and mathematical programming techniques (linear,
psgct@giasmd01 .vsnl.net.in integer programming, goal programming, transportation, net-
A Genetic" Algorithm .for Scheduling FMS 589
work and dynamic programming). The techniques included in 2. Operating Environment and Problem
approximation techniques are: implicit enumeration (branch- Definition
bound); decomposition (Lagrangian relaxation); priority rule
based; heuristics; local search algorithms (iterative search,
2.1 FMS Descriptions
simulated annealing, threshhold annealing, Tabu-search); evol-
utionary programs (genetic algorithms); A1 techniques
The FMS considered in this paper, is for a pare job shop, and
(knowledge-based and expert systems). Optimisation algorithms
provide satisfactory or optimal results if the problems to be is described as follows:
solved are not too large and are restricted to low-dimensional 1. The overall system comprises several computer numerical
over-simplified problems. Approximation algorithms are prob- controlled processors (called a Work Ceil °'WC"), an auto-
lem dependent and raise the problem of overcoming the diffi- matic material handling system, part-carrying conveyors
culties between computer and human reasoning. In both the (input and output), a robot, and an automated storage and
cases, the efficiency problem arises [5]. Approximation algor- retrieval system (ASfRS). All the above are linked by means
ithms are capable of guaranteeing the solution to be within a of host computer.
fixed percentage of the actual optimum and are considered as 2. There will be from 2 to 10 such work cells (WC) in the
useful tools for solving discrete optimisation problems. system. A WC is either a machining centre or an assembly
Since the inception of computer integrated manufacturing machine or an inspection station. Each WC is provided with
(CIM), emphasis has been on including alternative route independent tool magazines, automated part loading and
choices in scheduling analysis. Fanti et al. [6] indicated that unloading arrangements, part program controller, automatic
the routeing flexibility is one of the main features of FMS. tool changer (ATC) and buffer storage.
They proposed three methods for real-time routeing selection:
3. An automated guided vehicle (AGV) transfers materials,
I. Total route workload (TRW). pallets and fixtures between WCs, WC and AS/RS, and
load/unload station and WC. This handles the part flow
2. Route bottleneck workload (RBW).
within the system.
3. Shortest clear-out time (SCOT).
4. A sufficiently large number of general purpose pallets/
All their approaches are based on a merit index estimation of fixtures is available.
each available route depending upon the corresponding resource 5. The AS/RS is used to store the raw materials necessary
burden. Nasr and Elsayed [7] pointed out that separating for the parts to be processed as well as the work in
process planning and scheduling results in a production sched- progress inventories.
ule that lacks flexibility and adaptability, and due attention
should be given to these two functions to achieve realistic and The arrangement of the FMS hardware is shown in Fig. !.
effective production scheduling. They have developed a mixed
integer programming model for a general job shop type machin- 2.2 Part Description
ing system with alternative machine tool routeings, and based
on that formulation have presented two algorithms, namely,
The scheduling problem considered in this paper arises in the
bound algorithm and shortest finish time (SFT) algorithms, to
following context.
minimise the mean flow-time. The above discussion shows that
scheduling has to incorporate alternative manufacturing plans.
©
This will significantly enhance the productivity of the system,
especially during dynamic changes in the state of the system.
Considering the above aspects, this paper addresses a genetic
algorithm (GA) based scheduler that can handle alternative
route choices with a rescheduling capability. A GA based
heuristic is developed that provides independent workcellwise
(WC) priority dispatching rules (pdrs), one each for one WC
(Wcwise-pdr set), to generate a near optimal schedule for fixed
routeing problems with makespan objective. This is extended
using an iterative search process to incorporate alternative
route choices. Further, a regenerative rescheduling scheme is
suggested to address dynamic cases. ROBOT I
The rest of the paper is organised as follows. In Section 2,
the operating environment and the problem are defined. The
proposed algorithm along with a comparative study are
addressed in Section 3. In Section 4, the concept of reschedul-
ing and its functioning are presented. In Section 5, a method
to handle alternative route choice is proposed and illustrated Fig. 1. Configuration of flexible manufacturing system. WC, work cell;
with an example. Finally, conclusions and the scope for further AGV, automated guided vehicle; TT~ tool transporter; TC, tool
improvement are given in the last section. changer; AS/RS, automated storage/retrieval system; S, shuttle.
590 IV. Jawahar et al.
independent pdrs, one each for one WC, to resolve the conflicts
Tij = Q * [L~j + ~ (M,.(O + I¥S~.(o q TS~.(o) + ULo] in GT procedure. Before presenting the proposed methodology,
y=l
the enumerating procedure of the GT algorithm [9], the B-B
5. Deadlines (due dates) are assumed to be between 2 to 6 technique proposed by Greenberg [11] for resolving conflicts
times that of the total processing time of the job. in GT, Greenberg's technique extended to break lower bound
6. There is no constraint on fixture and pallet availability. TIEs [t2] and the direct application of pdrs in GT procedure
7. Transportation times are small compared to the operation [13] along with their restrictions are observed. Next, the pro-
times. There will also be a certain amount of cushioning posed GA based heuristic is presented. Then, the effectiveness
period between the operations related to each job (the of the methodology is compared in terms of solution accuracy
cushioning period is the time the job waits until the WC with respect to the criterion "makespan time" of the schedule
for the next operation becomes free) and that period can and computational time.
be used for transportation. In these aspects the transfer time
has been assumed to be negligible. 3.1 Giffler and Thompson Algorithm
1 3 i 2
20 15 7 42
2 2 I 3
i2 9 4 25
3 2 3 -
7 9 - 16
S~ 8 t2 ! 12 16 1 17 21 1 12 I6 1 t9 23 12 27 3t 20 I9 23 12 22 26 i5 8 t2 1 8 t2 I 17 21 I0 23 27 16
F~ 11 13 7 15 17 7 20 22 7 15 17 7 22 24 18 30 32 26 22 24 18 25 27 21 lI 13 7 11 /3 7 20 22 t6 26 28 22
$2 14 1 8 16 1 8 14 l 8 21 1 15 12 1 6 12 1 6 12 1 6 12 1 6 16 5 10 17 5 11 23 5 i7 16 5 10
F2 16 5 13 18 5 13 t6 5 13 23 5 20 14 5 11 I4 5 ll 14 5 1t 14 5 tt t8 9 15 19 9 t6 25 9 22 t8 9 15
$3 12 6 14 I0 6 14 10 6 14 t0 6 12 15 6 19 15 6 17 10 6 t9 10 6 12 5 1 16 5 1 8 5 1 7 5 1 7
F3 13 91611 91611 91611 91416 921 t6 9 19 11 92I 11 914 6 418 6 410 6 4 9 6 4 9
showed the method of applying genetic concepts to scheduling 3.6 GA Based Schedule Generation Methodology
problems. An elementary n-task, one-processor problem is pro-
vided to demonstrate the GA methodology for the job shop Instead of resolving conflicts using an extended B-B technique
scheduling (JSS) problem. Further, they extended the technique and the direct application of pdrs in the GT procedure, a
to the n-task on m-processor (serial) case. Their paper can be method is suggested which uses an optimal Wcwise-pdr set
used as a primer on applying genetic algorithms to the JSS (independent pdrs, one each for one WC). A genetic search
problem. Dorndorf and Pesch [19] proposed a GA based on process evolves the best WCwise-pdr set for minimising makes-
pan time. This resolves the conflicts in the GT schedule
the idea of using a chain of priority rules which fits the needs
generation procedure. This part addresses the details of the
of a particular problem. Within the GA each gene represents
genetic search process that evolves the optimal WCwise-pdr
a priority rule from the set of priority rules. While decoding
set, and the method of generating the schedule.
a chromosome, to generate a feasible schedule, the ith rule is
applied for scheduling the ith conflict in the schedule generation 3.6.1 Genetic Program for the Evolution of WCwise
procedure. In their GA process, they employed a GT algorithm Priority Dispatching Rule
[9] to generate an active feasible schedule and used the makes-
In the proposed GA, each gene (g) represents a pdr code (0,
pan time of the schedule as the fitness parameter. Billo et al.
1, 2 and 3), one each for one WC. Floating-point encoding
[20] illustrated the use of GA to solve problems associated
has been used to identify the pdr code. The chromosome (c),
with the formation of machine cells. The GA formulation
the length of which is equal to the number of WCs in the
included a fitness function that incorporated two competing
system, represents a WCwise-pdr set and is representative of
objectives: a feasible solution. The position of the gene in a chromosome
1. Maximise similarity of parts. indicates the WC number and the pdr code in that position
identifies the pdr for conflict resolution by that WC.
2. Minimise number of cells. The genetic search process starts with a randomly generated
Weindal and Garlichs [21] presented a GA for the decentral set of chromosomes (WCwise-pdr sets) called the initial popu-
production scheduling of an assembly system. Dorndorf and lation. The size of the population (pop~ize) depends on the
Pesch [22] proposed another genetic search process that is solution space. The possible number of combinations of WCwise-
pdr sets are 4 ' ' where m is the number of WCs in the system.
encoded with machine numbers. In the proposed GA, the
Hence, the population size is related to the number of WCs in
operations are ordered by inserting the optimal sequences for
the system and has been assumed to be equal to the number of
each machine, which are obtained separately with a B-B
WCs in the system. The WCwise-pdr set of a chromosome is
technique, with respect to the machine order defined in the
applied in the GT procedure (the method to generate all schedules)
chromosome, and a feasible schedule is generated. This method
to give a feasible schedule. This produces a timetable with the
provides near optimal schedules but requires the performance of
start and end of the processing period, and the makespan time.
additional computation to find the optimal machine sequences.
The fitness parameter (fit(c)) is the makespan time. It is found
Sridhar and Rajendran [23] addressed a genetic search process tl'n-ough the schedule generated using the WCwise-pdr set and is
{'or part family grouping and scheduling parts within part represented by the chromosome c.
families in a flow-line based manufacturing cell. In their work,
the objectives of makespan and total flow-time have been fit(c) = makespan time con'esponding to clu-omosome c.
considered independently and together. The process of selecting the chromosomes to represent the
The reasons indicated by the various researchers who have next generation has the following steps:
used GA for scheduling are summarised as: 1. Conversion of the fitness parameter value to a new fitness
value (newer(c)), a parameter suitable for minimisation
1. The practical use of exact enumeration methods is restricted
to problem sizes of a few hundred operations. objective.
2. Most conventional schedule generation heuristics produce f/t(c)
newfit(c) = 1 F
only reasonable solutions.
3. Priority dispatching rules run the risk of missing the global Where F is the sum of the fitness parameter of all chromo-
shop floor goals. somes
4. Heuristical methods are very problem dependent. p o p size
l 2 1 3 5 6 m
70 4
24 16 20 10 10 280
2 3 2 ! 6 - t20 3 360
35 30 40 15 _ o m
3 2 1 3 4 5 5 6 80 2 160
20 25 t5 10 5
5
4 1 3 2 5 6 4 150 5 750
25 35 45 15 20 10
5 2 l 3 4 6 ll0 6 660
30 20 40 10 10
6 2 1 3 6 4 5 90 5 450
20 20 30 15 10 5
7 3 1 4 6 - 60 4 240
t5 i5 20 10
8 I 2 6 5 - 90 3 270
40 10 15 25
9 2 4 6 - - 50 2 100
12 23 15 -
10 3 2 5 4 - 120 3 360
35 45 30 10
TabLe 6. Initial population of the pdr codes, Table 9. Population to represent next generation.
Table 7. Fitness value of the initial population. Random number r0.4409 0,3507 0,0079 0.4224 0.5220 0.7023
X, data set of the example problems are given in the Appendix; *indicates the best solution; *°'indicates the second best solution.
Storo tho Bust Solution. The best schedule corresponds to Solution at (it_no) : 18th iteration
c h r o m o s o m e c = 3 and the makespan time is 309. Optimal WCwise-pdr : 1-2-2-0-t-1
Schedule : Table 13
Creation of Now Population. Total value of the evaluation
function of the population
pop-,vize
3.7 Performance Comparison
F = ~ fit(c) = 2306
c-- I
Varied c o m m e n t s on the feasibility of the application of the
proposed methodology to this scheduling problem are discussed
T h e probabilities of selection o f c h r o m o s o m e s and their respect- in this Section. The problems considered address a typical
ive cumulative probabilities, which have been calculated using range of problems for short-term planning. M a n y data sets
the parameter new fit(c), are given in Table 8. The random have been experimented with, and the results obtained com-
numbers generated and c h r o m o s o m e s selected for the next pared with the extended B - B technique and the direct appli-
generation are given in Table 9. The c h r o m o s o m e s selected cation o f pdrs. The makespan time of the schedules and the
with a p cross of 0.3 for crossover from the new set are computational time of a sample of twenty problems (randomly
shown in Table 10. Since only one c h r o m o s o m e is selected generated) obtained with all the methodologies is given in
(i.e. 3': 1 1 3 1 2 0), a null c h r o m o s o m e O ' ( 0 0 0 0 0 0 ) is Table 14.
added to m a k e the n u m b e r o f c h r o m o s o m e s selected even, and T h e extended B - B methodology takes m u c h more time and
they b e c o m e the parents ( 3 " and O " ) and undergo crossover. the computational complexity is also high. The direct appli-
The parents, and their respective offspring ( 3 ' " and O ' " ) , cation of pdrs for resolving conflict does not guarantee optimal
produced with a crossover point 3, are given in Table 11. The or near optimal solutions and no generalisation is possible.
crossed Y " replaces the 3 ' and becomes 3' in the new The computational time is less than for the other methods; but
population. No element has been selected for mutation. The the weakness of this method is that most of the time it provides
new population obtained after crossover and mutation is given poor solutions.
in Table 12. The application of a genetic algorithm (with classical genetic
operators) to this problem is useful as the values of the
Tormination. Repeat the steps of generation and evaluation objective function are optimal, or very close to the optimal.
of the new population until i t _ n o = no__it.
The values obtained are comparable to the best solution obtain-
able with the extended B - B technique. Also a near optimal
fqosu/t. Best makespan time : 299 solution can be obtained with reasonable computational time.
598 N. Jawahar et aL
m =4 m=5 m =6
CT CT CT Real time Off-line Off-line rescheduting
Fig. 5. Computational experience with GA based heuristic, Fig. 7. Proposed rescheduling scheme.
A Genetic Algorithm ¢or Scheduling FMS 599
Part number i Component-operation matrix Elapsed time (32) when part i Due time
(WC number j/operation time To) arrives in the system "D~"
Operation sequence k
1 2 3 4 5 6
1 1 2 3 4 5 6 0 144
10 12 15 10 20 5
2 2 1 4 5 . . . . 0 11(1
I5 20 I0 l0 - -
3 2 3 4 - - - 0 120
10 10 20
4 1 2 3 5 6 - 0 180
15 15 t5 10 10 -
5 2 1 4 3 6 - 0 240
25 30 20 10 20 -
6 3 1 2 5 6 - 0 lg4
20 30 12 10 20 -
7 1 2 3 5 6 4 0 225
35 10 10 5 5 10
8 2 1 3 4 6 - 0 I80
10 15 20 l0 5 -
9 1 2 4 3 5 - 60 270
3O 20 23 12 5 -
1! 1 2 4 6 - - 150 300
20 20 15 10 - -
12 2 I 3 5 6 4 190 340
2O 30 25 15 5 10
Table 17, WCwise-pdr set for control at different time blocks. remain the same and the W C s do not fail, the FMS operates
with a control strategy set, which consists of pdr codes one
Time WCs priority dispatching rule codes Valid time for each W C (WCwise-pdr set). The WCwise-pdr set is revised
generated via GA block
as and when the state o f the system changes. The c o m p o n e n t -
operation matrix is updated at times o f disturbances to the
WC1 WC2 WC3 WC4 WC5 WC6
operation of the system, the genetic search procedure is
0 0 2 3 1 2 2 0-60 repeated and the new control strategy is evolved, The revised
60 0 2 0 1 0 0 60--100 WCwise-pd set then controls the operation of the system, The
100 0 0 0 2 3 2 I00-t50 scheduling/rescheduling m e c h a n i s m is outlined in Fig. 7, The
150 3 3 0 2 2 2 150-190 methods of updating the j o b matrix for new j o b arrivals and
190 2 0 1 0 0 0 190-next
machine breakdown cases are explained below.
resolving conflicts, this factor is considered and the job under of the best route choice along with its optimal WCwise-pdr
processing on the WC at time X is loaded first. set for the generation of minimum makespan schedule.
5.2 Illustration with an Example ation, the facility number and the operation time for all possible
routes is given as the component-operation matrix (job data)
in Table 19.
In this Section the approach employed to include alternative For all operations associated with all jobs, one route for one
route choices is illustrated with a randomly generated sample operation is randomly selected. With those selected routes, the
problem. Since the purpose of this illustration is to obtain an job matrix is read out and the operations are scheduled with
insight of the working of the algorithm, a small problem is that job data. The routes selected, the job data and the optimal
considered. However, the methodology has no restrictions on schedule generated with that data are given in Table 20. This
the size of the problem. The computation involved with larger is random search process number one and the makespan time
problems (more WCs m, large number of parts n, more alterna- corresponding to it as 148.
tive choices for each operation r~k) is very high since the entire The random selection of route choices for all the operations
G A procedure has to be repeated more times (it~ran) and and the schedule generation has been carried out fifty times
each G A cycle requires a computation time which increases and the best route choice is selected, based on makespan
exponentially with number of jobs and WCs. criteria. The best route choice combination data and the result-
The number of jobs to be scheduled is 5 (i.e. n = 5). The ant optimal schedule that is obtained in the 26th iteration is
number of WCs in the system is 8 (i.e. m = 8), with which given in T a b l e 2 t . The makespan time corresponding to this
all the operations are carried out. The number of operations is 122. The average time taken for one iteration in the above
associated with each job, the number of routes for each oper- problem is 1.4 on a 486 D E L L system.
1 1 1 I 20
2 2 22
3 3 24
2 l 4 10
2 5 18
3 1 6 10
2 7 15
4 1 8 5
2 1 1 1 24
2 2 28
2 1 3 18
2 5 22
3 1 4 20
2 8 30
4 1 6 15
2 7 18
3 1 1 1 20
2 1 3 15
3 l 4 18
4 1 7 22
5 1 5 10
6 1 6 13
2 8 15
4 1 1 2 20
2 1 4 22
3 1 3 24
4 1 5 12
5 1 8 10
5 1 1 1 15
2 3 18
2 1 2 20
3 l 5 24
2 6 i0
4 l 4 5
5 1 7 6
2 8 9
r~ ~r
B
cr Q-
t~
--i
0
0 o
o
¢r t)
~o
© ©
©
i
_m &
C booo o
c~
F~
© =o
GO
~ o o o ~ 0 ,m
c~
ml c~
~n
~ 0 0 ~
604 N. Jawahar et aL
Nomenclature Appendix
FG finish time of operation k of job i k j 1 Tij J TII J Tii J T,I j Tu j T~I j IT. " "
1 I 10 4 20 2 ,02
g position (gene representing pdr) number in a chromosome
2 2 ,0 3 10 3 25
i job number
a 3 ,0 2 ,0 , 20
it_no iteration number in genetic search process 4 4 ,0 t 20 6 10 5 20 4 2° 5 2° 4 2C 5 2C~10
it_ran random route search iteration number , lOlO o
J work cell (WC) number ;. 6 5 6 5 ~i 0 0
k operation sequence number 150 901 140
2D array of p rows and q columns a 125 340 510 240 110 4 i0 0 oi 3130 ~12c 1!0
x~q
2- ~20 420 410 430 5 5 620 0 oiszo~i~@o
Y machining operation number in a WC
61o 0 0 °20 1o!4 0 0 0 0i o , 0 o
number of machining operations involved with job i on
we j 0000002601° 000 o N 4 0 41 l0 01 c 0 ol
!1~ 160 420 250 140 ,20 0 300 ~_ 90
o
{ { {
o o o
o o ,,~
{ E
F~
m