An ant colony optimization for single-machine weighted tardiness scheduling with sequence-dependent setups



Similar documents
An ACO Approach to Solve a Variant of TSP

An Improved Ant Colony Optimization Algorithm for Software Project Planning and Scheduling

Ant colony optimization techniques for the vehicle routing problem

Ant Colony Optimization (ACO)

Modified Ant Colony Optimization for Solving Traveling Salesman Problem

Journal of Theoretical and Applied Information Technology 20 th July Vol.77. No JATIT & LLS. All rights reserved.

Using Ant Colony Optimization for Infrastructure Maintenance Scheduling

STUDY OF PROJECT SCHEDULING AND RESOURCE ALLOCATION USING ANT COLONY OPTIMIZATION 1

INTERNATIONAL JOURNAL OF COMPUTER ENGINEERING & TECHNOLOGY (IJCET)

Heuristic Algorithm for the Parallel Machine Total Weighted Tardiness Scheduling Problem

A novel ACO technique for Fast and Near Optimal Solutions for the Multi-dimensional Multi-choice Knapsack Problem

An Improved ACO Algorithm for Multicast Routing

A Proposed Scheme for Software Project Scheduling and Allocation with Event Based Scheduler using Ant Colony Optimization

Obtaining Optimal Software Effort Estimation Data Using Feature Subset Selection

A Genetic Algorithm Approach for Solving a Flexible Job Shop Scheduling Problem

Solving Traveling Salesman Problem by Using Improved Ant Colony Optimization Algorithm

A hybrid ACO algorithm for the Capacitated Minimum Spanning Tree Problem

ANT COLONY OPTIMIZATION ALGORITHM FOR RESOURCE LEVELING PROBLEM OF CONSTRUCTION PROJECT

Software Project Planning and Resource Allocation Using Ant Colony Optimization with Uncertainty Handling

EXAMINATION OF SCHEDULING METHODS FOR PRODUCTION SYSTEMS. 1. Relationship between logistic and production scheduling

vii TABLE OF CONTENTS CHAPTER TITLE PAGE DECLARATION DEDICATION ACKNOWLEDGEMENT ABSTRACT ABSTRAK

A Performance Comparison of GA and ACO Applied to TSP

On-line scheduling algorithm for real-time multiprocessor systems with ACO


Swarm Intelligence Algorithms Parameter Tuning

HYBRID ACO-IWD OPTIMIZATION ALGORITHM FOR MINIMIZING WEIGHTED FLOWTIME IN CLOUD-BASED PARAMETER SWEEP EXPERIMENTS

A Binary Model on the Basis of Imperialist Competitive Algorithm in Order to Solve the Problem of Knapsack 1-0

Application Partitioning on Programmable Platforms Using the Ant Colony Optimization

Alpha Cut based Novel Selection for Genetic Algorithm

Design and Analysis of ACO algorithms for edge matching problems

IAJIT First Online Publication

Optimal Planning with ACO

CLOUD DATABASE ROUTE SCHEDULING USING COMBANATION OF PARTICLE SWARM OPTIMIZATION AND GENETIC ALGORITHM

A Survey on Load Balancing Techniques Using ACO Algorithm

Multi-Objective Supply Chain Model through an Ant Colony Optimization Approach

Performance Evaluation of Task Scheduling in Cloud Environment Using Soft Computing Algorithms

Implementing Ant Colony Optimization for Test Case Selection and Prioritization

Finding Liveness Errors with ACO

An Improvement Technique for Simulated Annealing and Its Application to Nurse Scheduling Problem

Ant Colony System: A Cooperative Learning Approach to the Traveling Salesman Problem

Comparative Study: ACO and EC for TSP

Resource Allocation for Repetitive Construction Schedules: An Ant Colony Optimization Approach

An ACO/VNS Hybrid Approach for a Large-Scale Energy Management Problem

ACO Hypercube Framework for Solving a University Course Timetabling Problem

Performance Study of Parallel Programming Paradigms on a Multicore Clusters using Ant Colony Optimization for Job-flow scheduling problems

EA and ACO Algorithms Applied to Optimizing Location of Controllers in Wireless Networks

Hybrid Algorithm using the advantage of ACO and Cuckoo Search for Job Scheduling

Review of Solving Software Project Scheduling Problem with Ant Colony Optimization

An ACO algorithm for image compression

The ACO Encoding. Alberto Moraglio, Fernando E. B. Otero, and Colin G. Johnson

The Application Research of Ant Colony Algorithm in Search Engine Jian Lan Liu1, a, Li Zhu2,b

Distributed Optimization by Ant Colonies

ACO FOR OPTIMAL SENSOR LAYOUT

BMOA: Binary Magnetic Optimization Algorithm

Binary Ant Colony Evolutionary Algorithm

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver

Software Framework for Vehicle Routing Problem with Hybrid Metaheuristic Algorithms

D A T A M I N I N G C L A S S I F I C A T I O N

International Journal of Advances in Science and Technology (IJAST)

Study on Cloud Computing Resource Scheduling Strategy Based on the Ant Colony Optimization Algorithm

A Multi-Objective Performance Evaluation in Grid Task Scheduling using Evolutionary Algorithms

Beam-ACO hybridizing ant colony optimization with beam search: an application to open shop scheduling

Bus fleet optimization using genetic algorithm a case study of Mashhad

Scheduling Jobs and Preventive Maintenance Activities on Parallel Machines

MRI Brain Tumor Segmentation Using Improved ACO

Development of Model-Ant Colony Optimization (ACO) in Route Selection Based on Behavioral User was Transport in Semarang, Indonesia

Proposed Software Testing Using Intelligent techniques (Intelligent Water Drop (IWD) and Ant Colony Optimization Algorithm (ACO))

High-Mix Low-Volume Flow Shop Manufacturing System Scheduling

Evaluation of Test Cases Using ACO and TSP Gulwatanpreet Singh, Sarabjit Kaur, Geetika Mannan CTITR&PTU India

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering

An Efficient Algorithm for Solving a Stochastic Location-Routing Problem

Solving the Vehicle Routing Problem with Multiple Trips by Adaptive Memory Programming

Requirements Selection: Knowledge based optimization techniques for solving the Next Release Problem

International Journal of Emerging Technology & Research

TEST CASE SELECTION & PRIORITIZATION USING ANT COLONY OPTIMIZATION

MuACOsm A New Mutation-Based Ant Colony Optimization Algorithm for Learning Finite-State Machines

Solving the Vehicle Routing Problem with Genetic Algorithms

A RANDOMIZED LOAD BALANCING ALGORITHM IN GRID USING MAX MIN PSO ALGORITHM

Production Scheduling for Dispatching Ready Mixed Concrete Trucks Using Bee Colony Optimization

Biological inspired algorithm for Storage Area Networks (ACOSAN)

An Integer Programming Model for the School Timetabling Problem

Routing Optimization Heuristics Algorithms for Urban Solid Waste Transportation Management

THE ACO ALGORITHM FOR CONTAINER TRANSPORTATION NETWORK OF SEAPORTS

A Hybrid Heuristic Rule for Constrained Resource Allocation in PERT Type Networks

Optimization and Ranking in Web Service Composition using Performance Index

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

Transcription:

Proceedings of the 6th WSEAS International Conference on Simulation, Modelling and Optimization, Lisbon, Portugal, September 22-24, 2006 19 An ant colony optimization for single-machine weighted tardiness scheduling with sequence-dependent setups FARHAD KOLAHAN, MAHDI ABACHIZADEH, SAEED SOHEILI Department of Mechanical Engineering Ferdowsi University of Mashhad Mashhad IRAN kolahan@um.ac.ir, m_abachizadeh@yahoo.com, soheili78@yahoo.com Abstract: In this paper, an Ant Colony Optimization (ACO) method is applied to the problem of scheduling a single machine with sequence-dependent setup times. The objective is to minimize weighted tardiness of all jobs. Three sets of randomly generated problems of different sizes are solved with the proposed solution technique. To examine the performance of ACO algorithm, the same problems have been also solved using Tabu Search (TS) method. It is shown that a well-tuned ACO, with proper definition of heuristic function, can outperform TS in terms of solution quality while taking considerably longer CPU time. Key-Words: scheduling, ant colony optimization, tabu search, setup time, weighted tardiness, single-machine 1 Introduction Different variations of job shop scheduling (JSP) problems have extensively been studied in the last fifty years. Single machine scheduling with sequence dependent setups, is one of the most difficult one in the classical scheduling theory. Such problems are NP-hard in nature and can not be solved efficiently by traditional solution procedures such as branch and bound. Nevertheless, these problems can be good candidates for evaluating new solution procedures. Among different heuristics, genetic algorithm (GA), tabu search (TS) and simulated annealing (SA) have been successfully applied on JSP [1-3]. Single machine scheduling problem which is investigated in this paper is generally smaller than multi-machine problems in its size. However, its capability for modeling real life flexible production systems and also multi-machine environments with a single bottleneck, has kept it a fresh topic of research work. 2 Introducing Job Shop Problem The JSP problem optimized here is as follows. There are n different jobs which can be all available for processing at time zero; nevertheless, the machine can only do a distinctive job at each certain time. For each job shown as j, four predefined parameters are involved which are processing time (p j ), due date (d j ), weight (w j ) - that can also be considered as cost per unit time paid due to tardiness - and finally, the setup time (s ij ). The last one is used when the job j immediately follows job i. It is notable that considering sequence-dependent setup times increases the complexity of the weighted tardiness as a NP-hard problem. Among many performance criteria proposed in literature, weighted tardiness is more commonly used. Therefore, in this work, the objective is to implement the ACO technique in order to find the sequence of jobs that minimizes total weighted tardiness of all jobs. 3 Ant Colony Optimization and Its Application to JSP This algorithm was first introduced by M. Dorigo et al. in 1997 [4] and up till now has been extensively applied on different types of problems such as traveling salesperson problem, vehicle routing problem [5], quadratic assignment problem [6], and JSP. Ant colony is increasingly used to solve a variety of job shop scheduling problems, both in the single-machine and multi-machine levels [7-9]. Real ants are capable of finding the shortest path from a food source to their nest without using any visual cues but by exchanging the information of pheromone, a chemical substance, with each other. It is very simple and not even deterministic but effective as it is cooperative. Each ant deposits pheromone while marching and the other ants follow in probability the trail of pheromone. More pheromone is accumulated if more ants follow a certain path and on the other hand, the trail intensity decreases as time passes due to evaporation. All this

Proceedings of the 6th WSEAS International Conference on Simulation, Modelling and Optimization, Lisbon, Portugal, September 22-24, 2006 20 behavior is simulated with a little difference in ACO algorithm. In this algorithm, Eq. (1) which is the combination of two distinctive operators, formulate the probability of moving to the next step in an evolutionary structure: p ij = [ τ ( i, j)].[ η( i, j)] j allowed [ τ ( i, j)].[ η( i, j)] The first function τ ( i, j) shows the amount of pheromone interpreted as sequences in JSP. In this notation, j is the job which is decided to be assigned to position i. The amount of pheromone is directly related to the path s fitness function or its goodness. This function acts as a positive feedback, determining the probability of selecting each unselected job in permutation. It has a dynamic behavior due to the simultaneous evaporation and deposition of pheromone on sequences. The first effect lets the unselected sequences have still chances to be evaluated and the second one intensifies the best solutions obtained toward the optimum. In this paper we employ two ACO approaches to the single-machine scheduling problem. In the first approach, we present this function in the form named Sequence-based Pheromone Deposition (SPD) in which the pheromone deposition is sequence based. Assuming that the optimized sequence is unique, there is another pheromone deposition based on the sequence succession, in addition to the normal deposition based on the job location. It should be mentioned that in SPD, no special heuristic is applied for η ( i, j). The second approach used here, involves a heuristic named Apparent Tardiness Cost with Setups (ATCS) rule introduced by Lee et al. [10]. This heuristic is of constructive type and can easily be embedded in ACO algorithm due to the same nature of step-by-step construction of solution. The ATCS function is based on three sub-rules including shortest processing time (WSPT), minimum slack (MS), and the shortest setup time (SST). It is presented as follows: ( d p t,0) w j max j j sνj η ( i, j) = I j ( t, v) = exp exp (2) p j k1 p k2s t v where is the current time and is the index of the job just completed. Also, p is the average processing time of all jobs and s is the average setup time. The two parameters k1 and k2 are used for tuning the function and the other ones are as defined in section 2. (1) It should be noted that in ACO, the probability of moving to the next step obtained by Eq. (1) is not directly and simply applied as it seems. The mechanism is known as state transition rule that in addition to two other rules namely local updating and global updating form the gist of ACO. These three rules are described in the following sections. 3.1 State Transition Rule Unlike algorithms such as tabu search, genetic algorithm and simulated annealing where the coded solution candidate is built altogether and then evaluated, the ants construct the solution in a stepby-step procedure in ACO. It means each ant should decide where to go for its next step by selecting among all unvisited candidate elements. The mechanism used in ACO is a combination of directed greedy behavior and Rolette wheel known as state transition rule: argmax{ [ τ( )][ η( )] } if q q0 li L + 1 = [ τ( )][ η( )] (3) P( ) if q > q 0 [ τ( )][ η( )] li L The parameter l k is the latest chosen element and li belongs to the list L which includes all possible candidates for the next step. The state transition rule has two sub-rules, while q and q0 determine which one to be used. The constant parameter q 0 demonstrates the relative importance of sub-rules; however, q is a randomlygenerated number uniformly distributed in domain [ 0,1]. If there comes q q0 which is the case of exploitation, the element with largest combination of pheromone and heuristic is chosen. Otherwise, the algorithm does not decide deterministically but only gives chances to the elements in proportion to their values as it is in a Rolette wheel which is just the case explained in Eq. 1. Thus, exploration of candidates with smaller function values is made feasible. In general, m ants are employed acting in a parallel manner. Their first elements of solution are assigned randomly and then to the end of constructing the solution, state transition rule is repeated. 3.2 Local Updating Rule To avoid premature convergence, a local pheromone trail updating is performed on the value of

Proceedings of the 6th WSEAS International Conference on Simulation, Modelling and Optimization, Lisbon, Portugal, September 22-24, 2006 21 pheromone related to the pair of elements just chosen by state transition rule: τ ( l k, 1 ) = (1 ρ) τ (, 1) + ρτ 0 (4) whereτ 0 is the initial amount of pheromone at the beginning of the first iteration and is assigned as a constant value. The other parameter is ρ which is also constant during the solution and is chosen from omain 0,1. d [ ] 3.3 Global Updating Rule In ACO, the globally best ant which is the ant that has constructed the best solution from the beginning of the trial is allowed to deposit pheromone on its trail. This rule which acts as positive feedback makes the search for the real be st solution more directed. The rule is given by: τ ( l k, l k 1 ) = ( 1 α ) τ ( l k, l k 1 ) + α τ (5) 1 τ = (6) WT gb where 0 < α < 1 in Eq. (5) is the pheromone decay parameter and WT in Eq. (6), is the amount of gb objective function which is the weighted tardiness related to the best sequence. 4 Numerical Results The two variants of ACO described above are employed to optimize three 8-, 20- and 50-job randomly generated problems. Ant algorithm is a probabilistic method that is highly sensitive to the parameter settings. Therefore, parameter tuning should be carefully applied. For the best possible efficiency of the algorithm, the following settings have been determined after several trials. The algorithm employs 10 ants in each iteration to construct 10 different tours or solutions. The termination takes place after defined number of iterations which depends on the problem scale. In the state transition rule, q 0 = 0. 9 and = 0. 5, which has proved to provide better convergence. In both local and global updating rules, α and ρ, the evaporation and decay factors, were both set to 0.1. Since the initial amount of pheromone, τ 0, plays an important role in the quality of initial sequence and convergence towards the final best solution, it should be set with great care. After examination of different values for this parameter, the average quantity of τ 0 = 1/( nwt) which is proposed by Liao and Juan [8], produces satisfactory results. In this equation, n is the number of jobs, and WT is the approximate amount of weighted tardiness obtained by applying ATCS. The convergence curve for the 50-job weighted tardiness problem is given in Figure 1. As illustrated in this Figure and Table 1, the algorithm converges to the best solution after more the 1300 iterations which is equivalent to 100 seconds of search time. weighted tardiness 1940 1920 1900 1880 1860 1840 1820 1800 1780 1760 0 500 1000 1500 2000 Iterations Fig.1. weighted tardiness of 50-job problem by ACO with ATCS To evaluate the performance of ACO with probabilistic nature, the tabu search method with deterministic behavior is also applied to the same problems. A comprehensive description of TS method and its applications can be found in [11]. Among TS algorithm parameters, tabu list size and neighborhood generation mechanism are the most important ones. The tabu size is set to 20 moves to allow enhanced search of solutions space. For the neighborhood generation mechanism, pair wise interchange which is more suitable for large scale problems is employed in this paper [12]. Computational results of TS presented in Fig. 2 show no more improvement after about 85 iterations in just about 25 seconds. weighted tardiness 5500 5000 4500 4000 3500 3000 2500 2000 1500 0 20 40 60 80 100 iteration Fig.2. weighted tardiness of 50-job problem by TS As indicated in Table 1, ACO and TS perform quite differently in terms of solution qualities and search

Proceedings of the 6th WSEAS International Conference on Simulation, Modelling and Optimization, Lisbon, Portugal, September 22-24, 2006 22 times. The results clearly state that TS has a considerably lower convergence time. However, it stalls to improve in bigger problems and fails to approach the global optimum. As it can be seen in Fig. 3, the ACO range of improvement is about 9% while the case is 65% for TS. This apparent improvement is mainly because of the inappropriate start point employed by the TS. In fact, the ACO creates its start point by applying the ATCS operator embedded in the state transition rule on the initial randomly generated sequence, while the TS start point is just the evaluation of that sequence. Weigted tardiness 5500 5000 4500 4000 3500 3000 2500 2000 1500 0 20 40 60 80 100 120 140 160 Time (S) Fig.3. Time history of 50-job problem: The dash-dot and continuous lines show the TS and ACO with ATCS results, respectively. The dash line is the extension of TS line. Sequence-based pheromone deposition method does not show satisfactory convergence which gives emphasis to the significance of heuristic operators in ACO. On the contrary, the ACO with ATCS heuristic outperforms the TS. In 8-job problem, due to the small size of sequences, both algorithms come to the global optimum. In 20- and 50-job problems the ACO results for weighted tardiness are 8% and 6% better than TS, respectively. However, the CPU time is lengthier due to the relative intricacy of operations needed to be done for each next-step decision. 5 Conclusions An ant colony optimization was proposed to minimize the single-machine total weighted tardiness with sequence-dependent setups. To study the effect of problem size on the convergence and the quality of results, three randomly generated 8-, 20- and 50-job problems were investigated. Two heuristic functions, namely SPD and ATCS, were employed in ACO algorithm. The results obtained by this method are compared with tabu search method. It was shown that by using a proper heuristic rule and well-tuned parameters, ACO with its probabilistic nature outperforms TS with its deterministic behavior. However, the mechanisms employed for next-stetime consuming in nature comparing to the ones evaluation in ACO are more employed by TS. References: [1] Kutub Uddina, M., Shankerb, K., Grouping of Parts and Machines in Presence of Alternative Process Routes by Genetic Algorithm, Production Economics, Vol. 76, 2002, 219-228. [2] Bilge, U., Kıraç, F., Kurtulan, M., and Pekgün, P., A Tabu Search Algorithm for Parallel Machine Total Tardiness Problem, Computers & Operations Research, Vol. 31, 2004, pp. 397-414. [3] VanLaarhoven, P.J.M., Aarts, E.H.L., and Lenstra, J.K., Job Shop Scheduling by Simulated Annealing, Operations Research, Vol. 40, 1992, pp. 113-125. [4] Dorigo, M., and Gambardella, L. M., Ant Colony System: A Cooperative Learning Approach to the Traveling Salesman Problem, IEEE Transactions on Evolutionary Computation, Vol.1, No.1, 1997, pp. 53-66. [5] Bell, J.E., and McMullen P.R., Ant Colony Optimization Technique for Vehicle Routing Problem, Advanced Engineering Informatics, Vol. 18, 2004, pp. 41-48. [6] Gambardella, L.M., Taillard, D., and Dorigo, M., Ant Colonies for the Quadratic Assignment Problem, Journal of Operational Research Society, Vol. 50, 1999, pp.167 76. [7] Boryczka, U., Ant Colony System for JSP, ACRI 2004, Springer-Verlag, 2004, pp. 296-305. [8] Liao, C., Juan, H., An Ant Colony Optimization for Single-machine Tardiness Scheduling with Sequence-dependent Setups, Computers and Operations Research, August 2005. [9] Bauer, A., Bullnheimer, B., Hartl R.F., and Strauss, C., An Ant Colony Optimization Approach for Single Machine Total Tardiness Problem. Proceedings of 1999 Congress on Evolutionary Computation, New York, pp. 1445-1450. [10] Lee, Y.H., Bhaskaram, K., Pinedo, M., A Heuristic to Minimize the Total Weighted Tardiness with Sequence Dependent Setups, IIE Transactions, Vol. 29, 1997, pp. 45-52. [11] Kovacevic-Vujcic, V.V., Cangalovic, M.M., Asic, M.D., Ivanovic, L., and Drazic, M., Tabu Search Methodology in Global Optimization,

Proceedings of the 6th WSEAS International Conference on Simulation, Modelling and Optimization, Lisbon, Portugal, September 22-24, 2006 23 Computers & Mathematics with Applications, Vol. 37, 1999, pp. 125-133. [12] Wan, G., and Yen, B.P.-C., Tabu Search for Single Machine Scheduling with Distinct Due Windows and Weighted Earliness/Tardiness Penalties, European Journal of Operational Research, Vol. 142, Issue 2, 2002, pp. 271-281. Table1. ACO and TS results for 8-, 20- and 50-job problems 8-job problem 20-job problem 50-job problem Algorithms Best solution obtained CPU time (s) Best solution obtained CPU time (s) Best solution obtained CPU time (s) ACO - SPD 52.1 0.12 275 2.1 2015 95 ACO - ATCS 46.7 0.13 225.7 2.5 1775.9 100.2 TS 46.7 0.045 243.8 0.3 1883 24.1