The Scientific World Journal

Volume 2013, Article ID 418396, 9 pages

http://dx.doi.org/10.1155/2013/418396

## Comparison of Multiobjective Evolutionary Algorithms for Operations Scheduling under Machine Availability Constraints

^{1}Department of Engineering and Instituto de Investigaciones Económicas y Sociales del Sur (IIESS-CONICET), Universidad Nacional del Sur, Avenida. Alem 1253, 8000 Bahía Blanca, Argentina^{2}Instituto Universitario de Sistemas Inteligentes y Aplicaciones Numéricas en Ingeniería (SIANI), Universidad de Las Palmas de Gran Canaria (ULPGC), Campus Universitario de Tafira, 35017 Las Palmas de Gran Canaria, Spain^{3}Department of Economics and Instituto de Investigaciones Económicas y Sociales del Sur (IIESS-CONICET), Universidad Nacional del Sur (UNS), 12 de Octubre 1198, 8000 Bahía Blanca, Argentina

Received 30 September 2013; Accepted 5 December 2013

Academic Editors: T. Chen and Q. Cheng

Copyright © 2013 M. Frutos et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Many of the problems that arise in production systems can be handled with multiobjective techniques. One of those problems is that of scheduling operations subject to constraints on the availability of machines and buffer capacity. In this paper we analyze different Evolutionary multiobjective Algorithms (MOEAs) for this kind of problems. We consider an experimental framework in which we schedule production operations for four real world Job-Shop contexts using three algorithms, NSGAII, SPEA2, and IBEA. Using two performance indexes, Hypervolume and R2, we found that SPEA2 and IBEA are the most efficient for the tasks at hand. On the other hand IBEA seems to be a better choice of tool since it yields more solutions in the approximate Pareto frontier.

#### 1. Introduction

Production planning problems involve the allocation of scarce resources to different tasks in such way as to optimize one or more efficiency-related goals [1]. In most cases, these problems are analyzed as instances of the Job-Shop Scheduling Problem, in which given a set of machines and a list of jobs, represented as ordered sequences of operations, to be run on the machines, the goal is to minimize, in particular, the processing time of all jobs, known as *makespan* [2]. This problem belongs to the class NP-hard [3], for which no efficient algorithms are known to run in reasonable execution times. The literature focuses mostly on single-objective versions of the problem, despite the fact that several authors have stated that a genuine scheduling problem involves more than one objective when production efficiency is sought [4]. If this is indeed the appropriate approach, Multiobjective Evolutionary Algorithms (MOEAs) are the tools of choice [5, 6]. Their main advantages are their ease of adaptation to different instances and their overall efficiency. Only the fitness function has to be known, instead of its rates of variation, making the evolutionary algorithms efficient for problems that cannot be solved in reasonable time with gradient-based methods.

In this paper we will evaluate the performance of three MOEAs on Job-Shop scheduling problems [7, 8]: NSGAII [9], SPEA2 [10], and IBEA [11]. These competing approaches all use domination and elitism to reach the best possible approximation to the solutions of multiobjective problems. They differ in the strategies on which they are based (lack of a predefined sharing parameter, in the case of NSGAII; a fine grained fitness assignment procedure in SPEA2; a qualitative indicator function over Pareto approximations in IBEA), but their performance on different instances tends to be the best available in the literature. We, furthermore, add extra constraints, on both the availability of machines and the buffer capacity. We run the algorithms on real-world problems in which nonstandardized production (like in the Job-Shop context) has to share machines with standardized processes that have priority over the former.

#### 2. Job-Shop Scheduling Problem

The Job-Shop Scheduling Problem is quite complex. It has been analytically solved for 1, 2, and 3 machines and a small number of jobs. Only a few efficient algorithms have been found for 4 or more machines and 3 or more jobs. This is due to the combinatorial explosion of possible schedules. In the next subsections we will review the state of the art in this matter and formally define the problem, introducing the objectives to be optimized in our analysis.

##### 2.1. State of the Art

A brief review of the approaches to the Job-Shop Scheduling Problem shows a multiplicity of techniques. So, for instance, [12] presents a tabu search method intended to minimize total tardiness, while [13] presents a GRASP (Greedy Randomized Adaptive Search Procedures) algorithm that minimizes the makespan, and [14] uses a HACO (Hybrid Ant Colony Optimization) algorithm for the same goal. In [15] a localization approach is suggested, minimizing both makespan and the machine load. In [16] a mathematical model is introduced, able to solve only small instances of the problem. Closer to our object of study, [17] presents a hybrid algorithm also minimizing makespan, while [7] introduces a genetic algorithm in which the representation makes every schedule feasible. In [18] a genetic algorithm is presented for which the control parameters have been tuned to optimize makespan. In [19] dispatch rules are proposed and at each generation the search space is explored by means of schemes, again with the objective of minimizing makespan. This approach is generalized in [20] where an architecture based on an evolutionary algorithm is combined with learning through schemes and the generation of populations by means of combined dispatch rules. In [21] a multiple scenarios genetic algorithm is introduced, in which each scenario corresponds to an operation and each feasible machine to a state. In [22] a genetic algorithm profits from the localization approach presented in [15]. A class of mutations consists in allocating operations from machines with heavy loads to less loaded ones. In [2] a hybrid genetic algorithm solves the problem with the proviso that no waiting time is allowed among operations for any job, minimizing the makespan. Finally, [23] presents an evolutionary algorithm minimizing the makespan, the total work load, and the maximum load.

##### 2.2. Formal Definitions

The Job-Shop Scheduling problem consists in finding an optimal allocation of a class of n jobs , to be processed by a set of m machines . Each job is described as a sequence of tasks that can be performed in sequence . The operation of a task of job on machine is denoted as . Operation requires using machine for an uninterrupted *processing time* . A solution for this problem involves the determination of the starting time of each operation while optimizing the objectives [8]. Here we consider three objectives. The first one is the minimization of the *makespan* (1). This involves shortening the total time required for the jobs. The second objective is the minimization of the *mean flow time* (2). This amounts to reducing the number of jobs processed in parallel. Finally, we seek to minimize the effects on the makespan of variations of the , for each . For this we run microsimulations to find the *variance* of the first objective [24]. The minimization of this variance ensures the stability of solutions (3):
We assume the nonnegativity of the starting time of each : . Besides, we have (joint) precedence constraints of operations for each job: if , , are tasks of and is executed on , while on , then . Finally, the (disjoint) nonjuxtaposition constraints are applied on each machine: if is a task in while in , both to be executed on , we have that . The purpose of the latter constraints is to warrant that no machine carries out two operations at the same time. Two additional constraints involve the availability of machines and the capacity of the buffer. The first ones limit the operational interval of each machine; that is, must be larger than the operational interval corresponding to the standardized operational interval of machine . The second group of constraints limits the number of operations on machine that are on a waiting list. The buffer can either hold 0 operations (*no-wait*) or operations (*nonrestricted*).

#### 3. Evolutionary Multiobjective Algorithms

Evolutionary algorithms imitate genetic processes by improving solutions, pairing existing solutions as if they were DNA chains, and creating new chains. A *chromosome* is composed by smaller units called *genes*. For our problem the chromosomes identify a schedule of operations. Evolutionary improvements should end up yielding the optimal schedule. To show how this works we use an example with three jobs and three machines (). The total problem involves nine operations. Their corresponding processing times () and variances () for the machine in which they run () are shown in Table 1.

##### 3.1. The Evolutionary Phase

To represent an individual schedule, we use the notation proposed in [8]. The chromosome contains binary variables and the chain has as many genes as machines in the problem. Each gene has a certain number of *alleles*, depending on the number of jobs of the problem. More precisely, the size of a gene is , while the total size of the chromosome is . For each gene the sequence of binary numbers represents the sequence of jobs in the corresponding machine . In our example we choose , , , , and . Consider the first parent in Figure 1. The first gene, of machine , is 000. This means that the sequence of jobs in the machine is 1, 2, and 3. For the gene is 010, that is, the sequence of jobs, is 2, 1, and 3. Finally, for the gene is 011, and therefore the jobs are 2, 3, and 1.

A crossover operator acts on pairs of chromosomes. It aligns the chromosomes, cuts them at a certain points, and exchanges the fragments between the chromosomes. To see how it works, consider again Figure 1 the two “parents” to crossover, called First Parent and Second Parent. A “child” is built incorporating randomly elements from both parents (the offspring in Figure 2). The other child is obtained by inverting the choices made for the other one. This crossover, called uniform, yields better results exploring solutions close to the Pareto frontier. A mutation varies the binary values of one or more alleles of the gene. This variation is applied at random points of the chromosome, generating an individual with small differences with the original chromosome. In our case 10% of the alleles of the chromosomes are changed. In Figure 2, offspring* represents the mutated chromosome.

##### 3.2. Selection of MOEAs

We consider three Multiobjective Evolutionary Algorithms: Nondominated Sorting Genetic Algorithm II (NSGAII) [9], Strength Pareto Evolutionary Algorithm 2 (SPEA2) [10], and Indicator-Based Evolutionary Algorithm (IBEA) [11]. They have been applied in the literature to engineering problems. It classifies the population in fronts. Each individual is assigned a rank corresponding to its nondominance level. This method ensures that the best solutions will remain at the next iteration. Elitism is therefore already incorporated without requiring an external procedure. NSGAII further reduces the complexity of the ordering procedure, based on nondominance, of its predecessor NSGA and allows the preservation of diversity by means of a technique called *crowding*. SPEA2 is a variant of SPEA. It assigns fitness by considering for each individual the class of individuals that dominate it and the class of those that are dominated by the individual. SPEA2 uses also a “closest neighbor” technique that values the density to improve the search. Finally, IBEA incorporates indexes of multiobjective quality, providing an alternative to Pareto dominance as a guide in the search.

#### 4. Implementation and Design of Experiments

For our experiments we used four instances drawn from real cases: C_1 (15 × 20 problem with 157 operations), C_2 (20 × 20, 242 operations), C_3 (20 × 25, 412 operations), and C_4 (25 × 25, 597 operations). For each one we took into account the characteristics of the buffer, namely, no-wait and nonrestricted. Once the appropriate number of generations for the evolutionary phase and the production configuration for the microsimulations are defined, we run the experiments using PISA (A Platform and Programming Language Independent Interface for Search Algorithms) [25]. The parameters and characteristics of the experiments are shown in Table 2. For IBEA we chose the *additive epsilon* index. The other parameters keep their PISA predefined values. For each problem, the algorithm was run 30 times. From the class of solutions obtained, the dominated ones were eliminated. The running time of problems C_1, C_2, and C_3 was less than 30 minutes (Processor: 2.1 GHz AMD Turion X2 Ultra Dual-Core, Memory: 4 GB 800 MHz DDR2). C_4, instead, took in average 85,71 minutes.

#### 5. Results

We provide in the next subsections analyses of the Pareto frontiers and a comparison of the three algorithms by means of the Hypervolume and R2 indexes.

##### 5.1. Pareto Frontiers

The frontiers obtained in our experiments are shown in Figures 3 to 6. The horizontal axis represents objective , the left vertical one, , while the right vertical, . Comparing and , the fronts of the three algorithms look alike, although IBEA generated a better distributed front. NSGAII, instead, generated an incomplete frontier. With respect to versus , we see that for C_1 with a buffer of 0 operations, algorithms SPEA2 and IBEA obtained better values than NSGAII (Figure 3). For C_1 with a buffer of 14 operations, IBEA got the best variance values (Figure 3). For C_2 the 0 operations buffer makes no difference (Figure 4). For C_2 with a buffer of 19 operations, IBEA yielded the best values in variance (Figure 4). On C_3 with a 0 operations buffer, NSGAII and IBEA got better values than SPEA2 (Figure 5), while for the 19 operations buffer, NSGAII and SPEA2 obtained better values than IBEA (Figure 5). Finally, on C_4, a 0 or 24 operations buffer made no difference (Figure 6).

##### 5.2. Comparison through Quality Indexes

We compared the results according two indexes: Hypervolume [26] and R2 [27]. These are the usually recommended approaches to the evaluation of Pareto fronts. They provide slightly different advantages in the assessment of the frontiers. On one hand, Hypervolume seems fitter because it satisfies strong monotonicity while R2 only weak monotonicity. On the other, the former tends to be biased towards boundary solutions, while is more uniform. Hypervolume requires a reference point to establish the area dominated by a given point, represented by the vector of its , , and values. Thus, a higher index indicates that the algorithm yields better solutions. estimates the degree of closeness of the solution to the real front. Therefore, a low index indicates that the algorithm yields better solutions. Figures 7 and 8 show cases in which SPEA2 and IBEA are better according both indexes. Figure 9, instead, shows a case in which IBEA yields the better results, while Figure 10 presents a case in which there are no differences among the three algorithms. A possible explanation for NSGAII’s general low degree of efficiency is that more than 2 objectives impair the crowding operator. Besides, it is well known that this algorithm is not efficient with binary representations.

To these casual observations we added a parametric statistical analysis, Fisher’s test, with a significance level of 0.05. Problems C_1, C_2, and C_3 present significant differences in favor of SPEA2 and IBEA over NSGAII. Even if C_3 IBEA seems to perform better than SPEA2, the statistical analysis does not yield differences between these two algorithms. Finally, in C_4 there are no significant differences among the algorithms. Table 3 shows the contribution of each algorithm to the approximate Pareto, formed by taking the nondominated solutions.

#### 6. Conclusions

This paper presents an analysis of the performance of three different Multiobjective Evolutionary Algorithms in experiments with Job-Shop Scheduling Problems. It required the specification of parameters appropriate for the problems at hand, involving constraints on machine availability and buffer capacity. An important share of the running time of the algorithms corresponded to microsimulations of the variance of makespan of solutions. The comparison leads to the selection of SPEA2 and IBEA, while the contribution to the approximate Pareto frontier makes IBEA the most efficient algorithm for the problems at hand. Future work involves the extension of this comparison on other production environment problems. It seems also worthwhile analyzing the implications of the variance of makespan in comparison with other objectives.

#### Acknowledgments

The authors want to thank the Consejo Nacional de Investigaciones Científicas y Técnicas of Argentina (CONICET), the Engineering Department of the Universidad Nacional del Sur (PGI 24/J056), the Agencia Nacional de Promoción Científica y Tecnológica (PICT-2011-0396), and the Institute of Intelligent Systems and Numerical Applications in Engineering (IUSIANI) of the Universidad de Las Palmas de Gran Canaria (Spain), for their support.

#### References

- R. Bihlmaier, A. Koberstein, and R. Obst, “Modeling and optimizing of strategic and tactical production planning in the automotive industry under uncertainty,”
*OR Spectrum*, vol. 31, no. 2, pp. 311–336, 2009. View at Publisher · View at Google Scholar · View at Scopus - J. Chao-Hsien and H. Han-Chiang, “A hybrid genetic algorithm for no-wait job shop scheduling problems,”
*Expert Systems with Applications*, vol. 36, no. 3, pp. 5800–5806, 2009. View at Publisher · View at Google Scholar · View at Scopus - J. D. Ullman, “NP-complete scheduling problems,”
*Journal of Computer and System Sciences*, vol. 10, no. 3, pp. 384–393, 1975. View at Publisher · View at Google Scholar · View at Scopus - L. Chinyao and Y. Yuling, “Genetic algorithm-based heuristics for an open shop scheduling problem with setup, processing, and removal times separated,”
*Robotics and Computer-Integrated Manufacturing*, vol. 25, no. 2, pp. 314–322, 2009. View at Publisher · View at Google Scholar · View at Scopus - D. Goldberg,
*Genetic Algorithms in Search, Optimization, and Machine Learning*, Addison-Wesley, New York, NY, USA, 1989. - C. A. C. Coello, D. A. van Veldhuizen, and G. B. Lamont,
*Evolutionary Algorithms for Solving Multi-Objective Problems*, Kluwer Academic, New York, NY, USA, 2002. - B. J. Park, H. R. Choi, and H. S. A. Kim, “A hybrid genetic algorithm for the job shop scheduling problems,”
*Computers & Industrial Engineering*, vol. 45, no. 4, pp. 597–613, 2003. View at Publisher · View at Google Scholar · View at Scopus - M. Frutos and F. Tohmé, “A multi-objective memetic algorithm for the job-shop scheduling problem,”
*Operational Research*, vol. 13, no. 2, pp. 233–250, 2012. View at Publisher · View at Google Scholar · View at Scopus - K. Deb, A. Pratap, S. Agarwal, and T. Meyarivan, “A fast and elitist multiobjective genetic algorithm: NSGA-II,”
*IEEE Transactions on Evolutionary Computation*, vol. 6, no. 2, pp. 182–197, 2002. View at Publisher · View at Google Scholar · View at Scopus - E. Zitzler, M. Laumanns, and L. Thiele, “SPEA2: improving the strength pareto evolutionary algorithm for multi-objective optimization,” in
*Evolutionary Methods for Design, Optimisations and Control*, K. Giannakoglou, D. Tsahalis, J. Periaux, K. Papailiou, and T. Fogarty, Eds., pp. 19–26, 2002. View at Google Scholar - E. Zitzler and S. Künzli, “Indicator-based selection in multi-objective search,” in
*Parallel Problem Solving from Nature—PPSN VIII*, X. Yao, E. K. Burke, and J. Lozano, Eds., vol. 3242 of*Lecture Notes in Computer Science*, pp. 832–842, Springer, 2004. View at Google Scholar - V. A. Armentano and C. R. Scrich, “Tabú search for minimizing total tardiness in a job shop,”
*International Journal of Production Economics*, vol. 63, no. 2, pp. 131–140, 2000. View at Publisher · View at Google Scholar · View at Scopus - S. Binato, W. J. Hery, D. M. Loewenstern, and M. G. C. Resende, “A GRASP for job shop scheduling, essays and surveys,” in
*Meta-Heuristics*, pp. 59–80, Kluwer Academic, Boston, Mass, USA, 2000. View at Google Scholar - J. Heinonen and F. Pettersson, “Hybrid ant colony optimization and visibility studies applied to a job-shop scheduling problem,”
*Applied Mathematics and Computation*, vol. 187, no. 2, pp. 989–998, 2007. View at Publisher · View at Google Scholar · View at Scopus - I. Kacem, S. Hammadi, and P. Borne, “Correction to ‘approach by localization and multiobjective evolutionary optimization for flexible job-shop scheduling problems’,”
*IEEE Transactions on Systems, Man and Cybernetics C*, vol. 32, no. 2, 172 pages, 2002. View at Publisher · View at Google Scholar · View at Scopus - P. Fattahi, M. Saidi, and F. Jolai, “Mathematical modeling and heuristic approaches to flexible job shop scheduling problems,”
*Journal of Intelligent Manufacturing*, vol. 18, no. 3, pp. 331–342, 2007. View at Publisher · View at Google Scholar · View at Scopus - C. F. Tsai and F. C. Lin, “A new hybrid heuristic technique for solving job-shop scheduling problem,” in
*Proceedings of the 2nd IEEE International Workshop on Intelligent Data Acquisition and Advanced Computing Systems*, pp. 53–58, 2003. View at Publisher · View at Google Scholar - C. G. Wu, X. L. Xing, H. P. Lee, C. G. Zhou, and Y. C. Liang, “Genetic algorithm application on the job shop scheduling problem,” in
*Proceedings of the International Conference on Machine Learning and Cybernetics*, vol. 4, pp. 2102–2106, 2004. View at Scopus - N. B. Ho and J. C. Tay, “Evolving dispatching rules for solving the flexible job-shop problem,” in
*Proceedings of the IEEE Congress on Evolutionary Computation*, vol. 5, pp. 2848–2855, 2005. View at Scopus - N. B. Ho, J. C. Tay, and E. M. Lai, “An effective architecture for learning and evolving flexible job-shop schedules,”
*European Journal of Operational Research*, vol. 179, no. 2, pp. 316–333, 2007. View at Publisher · View at Google Scholar · View at Scopus - H. Zhang and M. Gen, “Multistage-based genetic algorithm for flexible job-shop scheduling problem,”
*Complexity International*, vol. 11, pp. 223–232, 2005. View at Google Scholar · View at Scopus - F. Pezzella, G. Morganti, and G. Ciaschetti, “A genetic algorithm for the flexible job-shop scheduling problem,”
*Computers & Operations Research*, vol. 35, no. 10, pp. 3202–3212, 2008. View at Publisher · View at Google Scholar · View at Scopus - T. C. Chiang and H. J. Lin, “A simple and effective evolutionary algorithm for multiobjective flexible job shop scheduling,”
*International Journal of Production Economics*, vol. 141, no. 1, pp. 87–98, 2013. View at Publisher · View at Google Scholar - J. R. Evans and D. L. Olson,
*Introduction to Simulation and Risk Analysis*, Editorial Prentice Hall, NJ, USA, 1998. - S. Bleuler, M. Laumanns, L. Thiele, and E. Zitzler, “PISA—a platform and programming language independent interface for search algorithms,” in
*Evolutionary Multi-Criterion Optimization*, vol. 2632, pp. 494–508, 2003. View at Google Scholar - E. Zitzler and L. Thiele, “Multi-objective optimization using evolutionary algorithms, a comparative case study,” in
*Parallel Problem Solving From Nature—PPSN V*, A. E. Eiben, Ed., pp. 292–301, Springer, Amsterdam, The Netherlands, 1998. View at Google Scholar - M. P. Hansen and A. Jaszkiewicz, “Evaluating the quality of approximations to the non-dominated set,” Tech. Rep. IMM-REP-1998-7, Institute of Mathematical Modelling Technical University of Denmark, 1998. View at Google Scholar