A new inter-island genetic operator for optimization problems with block properties

Similar documents
Parallel path-relinking method for the flow shop scheduling problem

Parallel Path-Relinking Method for the Flow Shop Scheduling Problem

Parallel population training metaheuristics for the routing problem

Solving the C sum Permutation Flowshop Scheduling Problem by Genetic Local Search

2D and 3D Representations of Solution Spaces for CO Problems

A fine-grained parallel algorithm for the cyclic flexible job shop problem

An Ant Approach to the Flow Shop Problem

Very Fast Non-Dominated Sorting

Jorge M. S. Valente Faculdade de Economia, Universidade do Porto Rua Dr. Roberto Frias, Porto Portugal

The permutation flow shop problem with blocking. A tabu search approach

Job Shop Scheduling Problem (JSSP) Genetic Algorithms Critical Block and DG distance Neighbourhood Search

Metaheuristic Algorithms for Hybrid Flow-Shop Scheduling Problem with Multiprocessor Tasks

Parallel Machine and Flow Shop Models

ON SOLVING FLOWSHOP SCHEDULING PROBLEMS

A Discrete Particle Swarm Optimization with Combined Priority Dispatching Rules for Hybrid Flow Shop Scheduling Problem

Flowshop Scheduling Problem Introduction

A Memetic Algorithm for Parallel Machine Scheduling

A Hybrid Genetic Algorithm for the Distributed Permutation Flowshop Scheduling Problem Yan Li 1, a*, Zhigang Chen 2, b

Journal of Universal Computer Science, vol. 14, no. 14 (2008), submitted: 30/9/07, accepted: 30/4/08, appeared: 28/7/08 J.

A COMPARATIVE STUDY OF FIVE PARALLEL GENETIC ALGORITHMS USING THE TRAVELING SALESMAN PROBLEM

Permutation, no-wait, no-idle flow shop problems

A SIMULATED ANNEALING ALGORITHM FOR SOME CLASS OF DISCRETE-CONTINUOUS SCHEDULING PROBLEMS. Joanna Józefowska, Marek Mika and Jan Węglarz

A Steady-State Genetic Algorithm for Traveling Salesman Problem with Pickup and Delivery

Optimizing Flow Shop Sequencing Through Simulation Optimization Using Evolutionary Methods

Flow Shop and Job Shop

ACO and other (meta)heuristics for CO

Multiobjective Job-Shop Scheduling With Genetic Algorithms Using a New Representation and Standard Uniform Crossover

Algorithm Design (4) Metaheuristics

Single machine sequencing, Earliness/ tardiness, Idle. Insert: Simulated Annealing and Branch-and-Bound

PROPOSED METHODOLOGY FOR COMPARING SCHEDULE GENERATION SCHEMES IN CONSTRUCTION RESOURCE SCHEDULING. Jin-Lee Kim

Tabu search and genetic algorithms: a comparative study between pure and hybrid agents in an A-teams approach

3. Genetic local search for Earth observation satellites operations scheduling

Scheduling. Job Shop Scheduling. Example JSP. JSP (cont.)

Using Genetic Algorithms to solve the Minimum Labeling Spanning Tree Problem

An Evolutionary Algorithm for the Multi-objective Shortest Path Problem

Job-shop scheduling with limited capacity buffers

Speeding up Evolutionary Algorithms Through Restricted Mutation Operators

Two-Stage orders sequencing system for mixedmodel

4.1 Interval Scheduling

Priority rule-based reconstruction for total weighted tardiness minimization of job-shop scheduling problem

Parallel Computing in Combinatorial Optimization

Recombination of Similar Parents in EMO Algorithms

A Genetic Algorithm for Multiprocessor Task Scheduling

A Fusion of Crossover and Local Search

One-Point Geometric Crossover

Chapter 16. Greedy Algorithms

BI-OBJECTIVE EVOLUTIONARY ALGORITHM FOR FLEXIBLE JOB-SHOP SCHEDULING PROBLEM. Minimizing Make Span and the Total Workload of Machines

Ruled Based Approach for Scheduling Flow-shop and Job-shop Problems

A LOCAL SEARCH GENETIC ALGORITHM FOR THE JOB SHOP SCHEDULING PROBLEM

SENSITIVITY ANALYSIS OF CRITICAL PATH AND ITS VISUALIZATION IN JOB SHOP SCHEDULING

CHAPTER 4 GENETIC ALGORITHM

Lamarckian Repair and Darwinian Repair in EMO Algorithms for Multiobjective 0/1 Knapsack Problems

n Given: n set of resources/machines M := {M 1 n satisfies constraints n minimizes objective function n Single-Stage:

New Solution Methods for Single Machine Bicriteria Scheduling Problem: Minimization of Average Flowtime and Number of Tardy Jobs

Single Machine Scheduling with Interfering Job Sets. Arizona State University PO Box Tempe, AZ

Hybridization of Genetic Algorithm with Parallel Implementation of Simulated Annealing for Job Shop Scheduling

Algorithm Design Methods. Some Methods Not Covered

Genetic Algorithms, Path Relinking and the Flowshop Sequencing Problem

Metaheuristics: a quick overview

A Fast Taboo Search Algorithm for the Job Shop Scheduling Problem

Escaping Local Optima: Genetic Algorithm

A Heuristic Algorithm for the Job Shop Scheduling

A New Algorithm for Solving the Operation Assignment Problem in 3-Machine Robotic Cell Scheduling

INFORMS Annual Meeting 2013 Eva Selene Hernández Gress Autonomous University of Hidalgo

A Novel Genetic Approach to Provide Differentiated Levels of Service Resilience in IP-MPLS/WDM Networks

Incorporation of Scalarizing Fitness Functions into Evolutionary Multiobjective Optimization Algorithms

Crew Scheduling Problem: A Column Generation Approach Improved by a Genetic Algorithm. Santos and Mateus (2007)

Analysis of Various Alternate Crossover Strategies for Genetic Algorithm to Solve Job Shop Scheduling Problems

Research Incubator: Combinatorial Optimization. Dr. Lixin Tao December 9, 2003

Computational Complexity CSC Professor: Tom Altman. Capacitated Problem

GT HEURISTIC FOR SOLVING MULTI OBJECTIVE JOB SHOP SCHEDULING PROBLEMS

Local Optima Networks of the Permutation Flowshop Scheduling Problem: Makespan vs. Total Flow Time

Parallel Machine Scheduling: A (Meta)Heuristic Computational Evaluation IRCCyN, Avril 2001, Nantes

Parallel Implementation of a Random Search Procedure: An Experimental Study

A Hybrid of Genetic Algorithm and Bottleneck Shifting for Flexible Job Shop Scheduling Problem

Introduction to Optimization

Introduction to Optimization

A VERY FAST TABU SEARCH ALGORITHM FOR JOB SHOP PROBLEM

Tabu Search for Constraint Solving and Its Applications. Jin-Kao Hao LERIA University of Angers 2 Boulevard Lavoisier Angers Cedex 01 - France

Inteligencia Artificial. Revista Iberoamericana de Inteligencia Artificial ISSN:

An Exchange Local Search Heuristic based Scheme for Permutation Flow Shop Problems

arxiv: v1 [cs.ai] 2 Sep 2008

Bi-objective Optimization for Reentrant Shop Scheduling Problem

CSE 421 Applications of DFS(?) Topological sort

A Parallel Evolutionary Algorithm for Discovery of Decision Rules

A Binary Integer Linear Programming-Based Approach for Solving the Allocation Problem in Multiprocessor Partitioned Scheduling

Solving Traveling Salesman Problem Using Parallel Genetic. Algorithm and Simulated Annealing

PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE

Grid Scheduling Strategy using GA (GSSGA)

METAHEURISTIC. Jacques A. Ferland Department of Informatique and Recherche Opérationnelle Université de Montréal.

Introduction to Combinatorial Algorithms

A Constructive Genetic Algorithm for Permutation Flowshop Scheduling. Marcelo Seido Nagano*

C 1 Modified Genetic Algorithm to Solve Time-varying Lot Sizes Economic Lot Scheduling Problem

Scheduling Mixed-Model Assembly Lines with Cost Objectives by a Hybrid Algorithm

Theorem 2.9: nearest addition algorithm

International Conference on Modeling and SimulationCoimbatore, August 2007

An Estimation of Distribution Algorithm with Guided Mutation for a Complex Flow Shop Scheduling Problem

Solving Large Aircraft Landing Problems on Multiple Runways by Applying a Constraint Programming Approach

Genetic algorithms to minimize the weighted number of late jobs on a single machine

Lecture 06 Tabu Search

Transcription:

A new inter-island genetic operator for optimization problems with block properties Wojciech Bożejko 1 and Mieczys law Wodecki 2 1 Institute of Engineering Cybernetics, Wroc law University of Technology Janiszewskiego 11-17, 50-372 Wroc law, Poland email: wbo@ict.pwr.wroc.pl 2 Institute of Computer Science, University of Wroc law Przesmyckiego 20, 51-151 Wroc law, Poland email: mwd@ii.uni.wroc.pl Abstract. Combinatorial optimization problems of scheduling belongs in most cases to the NP-hard class. In this paper we propose very effective method of construct parallel algorithms based on island model of coevolutionary algorithm. We apply block properties, which enable inter-island genetic operator to distribute calculations and shorten communication between processors. 1 Introduction Many methods of algorithms construction consist in looking through (directly or indirectly) all or a part of set of feasible solutions. Such a mechanism is based on generating from current (base) solution next solution, or a set of solutions (so called neighborhood), from which the best solution is chosen. This solution is the base solution in the next iteration. Such a mechanism can be met (among others) in Branch and Bound (B&B) method and in many other algorithms which consist of improving the solution, as well as in the best (nowadays) approximate algorithms, metaheuristics: tabu search and simulated annealing methods. The same method is used in the path-relinking method, which is used in the local search genetic operators, such as Multi Step Crossover Fusion (MSXF) of Reeves and Yamada [9]. Quality of these algorithm s solutions depends on: number of iteration, the method of neighborhood describing and its reviewing. The time of computations can be shorten by its realization in multiprocessor environment. Unfortunately parallelization of the sequential algorithms directly (for example by using parallel compiler) does not give satisfactory speedup. In this paper we propose some new elements of parallel local search algorithms. Partitioning solution (permutation) into blocks (subpermutations) enables to decrease neighborhood size and its division into separated subsets. It makes possible its generating and reviewing independently on parallel machine. We also use parallel computer for executing coevolutionary genetic algorithm with inter-island genetic operator based on local search procedure with blocks. The work was supported by KBN Poland, within the grant No. 4T11A01624

2 Blocks in solutions For the TWET-no-idle problem, each schedule of jobs can be represented by permutation π = (π(1), π(2),..., π(n)) of the set of jobs J. Let S(n) denote the set of all such permutations. The total cost π S(n) is F (π) = n i=1 f π(i)(c π(i) ), where C π(i) is completed time of the job π(i), C π(i) = i j=1 p π(j). The job π(i) is considered early if it is completed before its earliest moment of finishing (C π(i) < e π(i) ), on time if e π(i) C π(i) d π(i), and tardy if the job is completed after its due date (i.e. C π(i) > d π(i) ). Each permutation π S(n) is decomposed into subpermutations (subsequences of jobs) Ω = [B 1, B 2,..., B v ] called blocks in π, each of them contains the jobs, where: 1. B i = (π(a i ), π(a i + 1),..., π(b i 1), π(b i )), and b i = a i 1 + 1, 1 i v, a 0 = 0, b v = n. 2. All the jobs j B i satisfy the following condition: e j > C π(bi ), or (C1) e j C π(bi 1) + p j and d j C π(bi), or (C2) d j < C π(bi 1) + p j. (C3) 3. B i are maximal subsequences of π in which all the jobs satisfy either Condition C1 or Condition C2 or Condition C3. By definition, there exist three types of blocks implied by either C1 or C2 or C3. To distinguish them, we will use the E-block, O-block and T-block notions respectively. For any block B in a partition Ω of permutation π S(n), let Therefore, the value of a goal function F B (π) = i B (u ie i + w i T i ). F (π) = n i=1 (u ie i + w i T i ) = B Ω F B(π). If B is a T -block, then every job inside is early. Therefore, an optimal sequence of the jobs within B of the permutation π (that is minimizing F B (π)) can be obtained, using the well-known Weighted Shortest Processing Time (WSPT ) rule, proposed by Smith [8]. The WSPT rule creates an optimal sequence of jobs in the non-increasing order of the ratios w j /p j. Similarly, if B is an E- block, than an optimal sequence of the jobs within can be obtained, using the Weighted Longest Processing Time (WLPT ) rule which creates a sequence of jobs in the non-decreasing order of the ratios u j /p j. Partition Ω of the permutation π is ordered, if there are jobs in the WSPT sequence in any T -block, and there are jobs in the WLPT sequence in any E- block.

Theorem 1 [2] Let Ω be an ordered partition of a permutation π S(n) to blocks. If β S(n) and F (β) < F (π), so at least one job of some block of π was moved before the first or after the last job of this block in permutation β. Note that Theorem 1 provides the necessary condition to obtain a permutation β from π such, that F (β) < F (π). Let Ω = [B 1, B 2,..., B v ] be an ordered partition of the permutation π S(n) to blocks. If a job π(j) B i (B i Ω), therefore moves which can improving goal function value consists in reordering a job π(j) before the first or after the last job of this block. Let N bf j and N af j be sets of such moves (N bf j = for j B 1 and = for j B v ). Therefore, the neighborhood of the permutation π S(n), N af j N(π) = n j=1 n N bf j N af j. (1) j=1 There are many other problems with blocking partitioning property, i.e. 1. Flow shop problem subsets of jobs from the same machine on critical path are blocks, see. Nowicki and Smutnicki [6], Grabowski and Pempera [3], Grabowski and Wodecki [4]. 2. Job shop problem subsets of jobs from the same machine on critical path are blocks, see. Nowicki and Smutnicki [7], Grabowski and Wodecki [5]. 3. Classic single machine total weighted tardiness problem (TWTP) subsets of jobs made on time and made after deadline are blocks, it is special case of the TWET-no-idle problem. Methods proposed here can be directly applied to all of these problems. 3 Parallel genetic algorithm The island model of parallel genetic algorithm is characterized by a significant reduction of the communication time, compared to global model (with distributed computations of the fitness function only). Shared memory is not required, so this model is more flexible too. Below, a parallel genetic algorithm is proposed. There is the MSXF (Multi Step Crossover Fusion) operator used to extend the process of researching for better solutions of the problem. MSXF has been described by Reeves and Yamada [9]. Its idea is based on local search, starting from one of the parent solutions, to find a new good solution where the other parent is used as a reference point. Additionaly, block properties was used to make a search process more effective to prevent changes inside the block, which are nieopacalne from the fitness function s point of view. Such a postpowanie odpowiada an idea of not making changes between genes of different chromosomes. In such a way a MSXF+B (MSXF with blocks) operator was created.

The neighborhood N(π) of the permutation (individual) π is defined as a set of new permutations that can be reached from π by exactly one adjacent pairwise exchange operator which exchanges the positions of two adjacent jobs of a problem s solution connected with permutation π. The distance measure d(π,σ) is defined as a number of adjacent pairwise exchanges needed to transform permutation π into permutation σ. Such a measure is known as Kendall s τ measure. Algorithm 1. Multi-Step Crossover Fusion with blocks (MSXF+B) Let π 1, π 2 be parent solutions. Set x = q = π 1 ; repeat For each member y i N(π), calculate d(y i, π 2 ); Sort y i N(π) in ascending order of d(y i, π 2 ); repeat Select y i from N(π) with a probability inversely proportional to the index i; Calculate C sum (y i ); Accept y i with probability 1 if C sum (y i ) C sum (x), and with probability P T (y i ) = exp((c sum (x) C sum (y i )) / T ) otherwise (T is temperature); Change the index of y i from i to n and the indices of y k, k = i+1,...,n from k to k 1; until y i is accepted; x y i ; if C sum (x) < C sum (q) then q x; until some termination condition is satisfied; q is the offspring. In our implementation, MSXF+B is an inter-island (i.e. inter-subpopulation) crossover operator which constructs a new individual using the best individuals of different islands connected with subpopulations on different processors. The condition of termination consisted in exceeding of 100 iterations by the MSXF+B function. Algorithm 2. Parallel genetic algorithm parfor j = 1, 2,..., p { p is number of processors } i 0; P j random subpopulation connected with processor j; p j number of individuals in j subpopulation; repeat Selection(P j, P j ); Crossover(P j, P j ); Mutation(P j ); if (k mod R = 0) then {every R iteration} r := random(1, p); MSXF+B(P j (1), P r(1)); end if; P j P j ; i i + 1; if there is no improvement of the average C sum then {Partial restart} r := random(1,p); Remove α = 90 percentage of individuals in subpopulation P j. ; Replenish P j by random individuals; end if; if (k mod S = 0) then {Migration}

r := random(1,p); Remove β = 20 percentage of individuals in subpopulation P j ; Replenish P j by the best individuals from subpopulation P r taken from processor r; end if; until Stop Condition; end parfor The frequency of communication between processors (MSXF+B operator and migration) is very important for the parallel algorithm performance. It must not be too frequent because of the relative long time of communication between processors, comparing to the time of communication inside the program of a one processor. In this implementation the processor gets new individuals quite rarely, every R = 20 (MSXF+B operator) or every S = 35 (migration) iterations. 4 Computer simulations The algorithm was implemented in the Ada95 language and run on 4-processors Sun Enterprise 4 x 400 MHz under the Solaris 7 operating system. Tasks of the Ada95 language were executed in parallel as system threads. Tests were based on 125 instances with 40,50 and 100 jobs taken from the OR-Library [8]. The results were compared to the best known, also taken from [8]. Table 1. Relative deviation of solutions of sequence and parallel genetic algorithms compared to the best known solutions. n 1 processor 4 processors aver. dev. max. dev. aver. dev. max. dev. 40 2.907 99.963 0.057 1.534 50 4.035 167.576 0.064 1.362 100 0.005 1.054 0.004 0.103 average 2.317 89.531 0.042 0.999 The computational results can be found in Table 1. The number of iterations was counted as a sum of iterations on processors, and was permanently set to 800. For example, 4-processor implementations make 200 iterations on each of the 4 processors, so we can obtain comparable costs of computations. As we can see, parallel versions of the algorithm has much better results of the average and maximal relative deviation to the optimal (or the best known) solutions, working (parallel) in a shorter time. Because of small cost of the communication, the speedup parameter of the parallel algorithms is almost linear.

5 Conclusions We have discussed a new approach to optimization problems with block properties based on the new inter-island genetic operator for the parallel asynchronous coevolutionary algorithm. Compared to the sequential algorithm, parallelization shorts computation s time and improving quality of the obtained solutions. The advantage of the parallel algorithm is especially visible for large instances of the problem. References 1. Bożejko W., Wodecki M., Parallel genetic algorithm for minimizing total weighted completion time, Lecture Notes in Computer Science No. 3070, Springer Verlag 2004, 400 405. 2. Bożejko W., Wodecki M., Parallel genetic algorithm for the flow shop scheduling problem, Lecture Notes in Computer Science No. 3019, Springer Verlag 2004, 566 571. 3. Grabowski J., Pempera J., New block properties for the permutation flow-shop problem with application in TS, Journal of the Operational Research Society, 52 (2001), 210 220. 4. Grabowski J., Wodecki M., A very fast tabu search algorithm for the permutation flow shop problem with makespan criterion, Computers and Operations Research, 31 (2004), 1891 1909. 5. Grabowski J., Wodecki M., A very fast tabu search algorithm for job shop problem, in: Rego C., Alidaee B. (editors), Adaptive memory and evolution: tabu search and scatter search, Kluwer Academic Publishers, Dordrecht, 2004. 6. Nowicki E., Smutnicki C., A fast tabu search algorithm for the permutation flow shop problem, European Journal of Operational Research, 91 (1996), 160 175. 7. Nowicki E., Smutnicki C., A fast tabu search algorithm for the job shop problem, Management Science, 42, 6 (1996), 797 813. 8. OR-Library: http://people.brunel.ac.uk/ mastjjb/jeb/info.html 9. Reeves C. R., Yamada T., Solving the Csum Permutation Flowshop Scheduling Problem by Genetic Local Search, IEEE International Conference on Evolutionary Computation (1998), 230 234.