Meta- Heuristic based Optimization Algorithms: A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

Similar documents
International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

Traffic Signal Control Based On Fuzzy Artificial Neural Networks With Particle Swarm Optimization

GENETIC ALGORITHM VERSUS PARTICLE SWARM OPTIMIZATION IN N-QUEEN PROBLEM

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

Argha Roy* Dept. of CSE Netaji Subhash Engg. College West Bengal, India.

CHAPTER 2 CONVENTIONAL AND NON-CONVENTIONAL TECHNIQUES TO SOLVE ORPD PROBLEM

Research Article Path Planning Using a Hybrid Evolutionary Algorithm Based on Tree Structure Encoding

International Journal of Current Research and Modern Education (IJCRME) ISSN (Online): & Impact Factor: Special Issue, NCFTCCPS -

Handling Multi Objectives of with Multi Objective Dynamic Particle Swarm Optimization

Binary Differential Evolution Strategies

Hybrid Particle Swarm-Based-Simulated Annealing Optimization Techniques

Artificial Bee Colony (ABC) Optimization Algorithm for Solving Constrained Optimization Problems

A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

Mobile Robot Path Planning in Static Environments using Particle Swarm Optimization

An Introduction to Evolutionary Algorithms

Introduction to Evolutionary Computation

Using CODEQ to Train Feed-forward Neural Networks

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

A Study on Optimization Algorithms for Clustering Gene Expression Data

IMPROVING THE PARTICLE SWARM OPTIMIZATION ALGORITHM USING THE SIMPLEX METHOD AT LATE STAGE

The movement of the dimmer firefly i towards the brighter firefly j in terms of the dimmer one s updated location is determined by the following equat

GA is the most popular population based heuristic algorithm since it was developed by Holland in 1975 [1]. This algorithm runs faster and requires les

Particle Swarm Optimization Artificial Bee Colony Chain (PSOABCC): A Hybrid Meteahuristic Algorithm

DERIVATIVE-FREE OPTIMIZATION

The Genetic Algorithm for finding the maxima of single-variable functions

Introduction to Optimization

QUANTUM BASED PSO TECHNIQUE FOR IMAGE SEGMENTATION

A NEW APPROACH TO SOLVE ECONOMIC LOAD DISPATCH USING PARTICLE SWARM OPTIMIZATION

PARTICLE SWARM OPTIMIZATION (PSO)

Optimization Using Particle Swarms with Near Neighbor Interactions

Computational Intelligence

Suppose you have a problem You don t know how to solve it What can you do? Can you use a computer to somehow find a solution for you?

Variable Neighborhood Particle Swarm Optimization for Multi-objective Flexible Job-Shop Scheduling Problems

Tracking Changing Extrema with Particle Swarm Optimizer

Genetic Algorithm Performance with Different Selection Methods in Solving Multi-Objective Network Design Problem

Opportunistic Self Organizing Migrating Algorithm for Real-Time Dynamic Traveling Salesman Problem

A Hybrid Fireworks Optimization Method with Differential Evolution Operators

Introduction to Optimization


Artificial bee colony algorithm with multiple onlookers for constrained optimization problems

MINIMAL EDGE-ORDERED SPANNING TREES USING A SELF-ADAPTING GENETIC ALGORITHM WITH MULTIPLE GENOMIC REPRESENTATIONS

Hybridization EVOLUTIONARY COMPUTING. Reasons for Hybridization - 1. Naming. Reasons for Hybridization - 3. Reasons for Hybridization - 2

Particle Swarm Optimization applied to Pattern Recognition

Using Genetic Algorithm with Triple Crossover to Solve Travelling Salesman Problem

ISSN: [Keswani* et al., 7(1): January, 2018] Impact Factor: 4.116

Comparison of Some Evolutionary Algorithms for Approximate Solutions of Optimal Control Problems

A *69>H>N6 #DJGC6A DG C<>C::G>C<,8>:C8:H /DA 'D 2:6G, ()-"&"3 -"(' ( +-" " " % '.+ % ' -0(+$,

Particle Swarm Optimization

CHAPTER 6 HYBRID AI BASED IMAGE CLASSIFICATION TECHNIQUES

An improved PID neural network controller for long time delay systems using particle swarm optimization algorithm

INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & MANAGEMENT

THE DEVELOPMENT OF THE POTENTIAL AND ACADMIC PROGRAMMES OF WROCLAW UNIVERISTY OF TECHNOLOGY METAHEURISTICS

Optimized Algorithm for Particle Swarm Optimization

Binary Representations of Integers and the Performance of Selectorecombinative Genetic Algorithms

March 19, Heuristics for Optimization. Outline. Problem formulation. Genetic algorithms

CT79 SOFT COMPUTING ALCCS-FEB 2014

LECTURE 16: SWARM INTELLIGENCE 2 / PARTICLE SWARM OPTIMIZATION 2

Inertia Weight. v i = ωv i +φ 1 R(0,1)(p i x i )+φ 2 R(0,1)(p g x i ) The new velocity update equation:

CHAPTER 1 INTRODUCTION

Application of Improved Discrete Particle Swarm Optimization in Logistics Distribution Routing Problem

Cell-to-switch assignment in. cellular networks. barebones particle swarm optimization

Chapter 14 Global Search Algorithms

Particle Swarm Optimization Based Approach for Location Area Planning in Cellular Networks

Particle swarm optimization for mobile network design

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

Global Optimization. for practical engineering applications. Harry Lee 4/9/2018 CEE 696

Adaptive Elitist-Population Based Genetic Algorithm for Multimodal Function Optimization

Path Planning Optimization Using Genetic Algorithm A Literature Review

A New Selection Operator - CSM in Genetic Algorithms for Solving the TSP

Modified Particle Swarm Optimization

A Genetic Algorithm for Graph Matching using Graph Node Characteristics 1 2

An Island Based Hybrid Evolutionary Algorithm for Optimization

Initializing the Particle Swarm Optimizer Using the Nonlinear Simplex Method

Fuzzy Inspired Hybrid Genetic Approach to Optimize Travelling Salesman Problem

REAL-CODED GENETIC ALGORITHMS CONSTRAINED OPTIMIZATION. Nedim TUTKUN

GENETIC ALGORITHM with Hands-On exercise

Witold Pedrycz. University of Alberta Edmonton, Alberta, Canada

The Design of Pole Placement With Integral Controllers for Gryphon Robot Using Three Evolutionary Algorithms

SWITCHES ALLOCATION IN DISTRIBUTION NETWORK USING PARTICLE SWARM OPTIMIZATION BASED ON FUZZY EXPERT SYSTEM

A Web-Based Evolutionary Algorithm Demonstration using the Traveling Salesman Problem

CHAPTER 5 ENERGY MANAGEMENT USING FUZZY GENETIC APPROACH IN WSN

A Naïve Soft Computing based Approach for Gene Expression Data Analysis

Evolutionary Algorithms and the Cardinality Constrained Portfolio Optimization Problem

Three-Dimensional Off-Line Path Planning for Unmanned Aerial Vehicle Using Modified Particle Swarm Optimization

Evolutionary Computation Part 2

Revision of a Floating-Point Genetic Algorithm GENOCOP V for Nonlinear Programming Problems

A HYBRID ALGORITHM BASED ON PARTICLE SWARM OPTIMIZATION

Generation of Ultra Side lobe levels in Circular Array Antennas using Evolutionary Algorithms

IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, VOL. 5, NO. 1, FEBRUARY

Neural Network Weight Selection Using Genetic Algorithms

Escaping Local Optima: Genetic Algorithm

Time Complexity Analysis of the Genetic Algorithm Clustering Method

An Adaptive Genetic Algorithm for Solving N- Queens Problem

A HYBRID APPROACH IN GENETIC ALGORITHM: COEVOLUTION OF THREE VECTOR SOLUTION ENCODING. A CASE-STUDY

Robust Descriptive Statistics Based PSO Algorithm for Image Segmentation

Discrete Particle Swarm Optimization for Solving a Single to Multiple Destinations in Evacuation Planning

A MULTI-SWARM PARTICLE SWARM OPTIMIZATION WITH LOCAL SEARCH ON MULTI-ROBOT SEARCH SYSTEM

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

CHAPTER 6 ORTHOGONAL PARTICLE SWARM OPTIMIZATION

Kyrre Glette INF3490 Evolvable Hardware Cartesian Genetic Programming

Transcription:

2017 2 nd International Electrical Engineering Conference (IEEC 2017) May. 19 th -20 th, 2017 at IEP Centre, Karachi, Pakistan Meta- Heuristic based Optimization Algorithms: A Comparative Study of Genetic Algorithm and Particle Swarm Optimization Mohammad Affan Department of Electrical Engineering, NED University of Engineering and Technology, Karachi, 75290, Pakistan (m.affankhan96@gmail.com) Abstract: - The meta heuristic based optimization algorithms have been popular in the engineering mainly because of their tendency to efficiently solve multimodal, mixed integer nonlinear complex optimization problems. Genetic algorithm(ga) and particle Swarm optimization(pso) are among the most popular meta heuristic methods. GA is inspired from the theories of evolutions and genetics while PSO mimics the collaborative behavior of swarm. GA and PSO are very much similar to each other because these two methods are evolutionary heuristic based search methods. This paper gives an overview of the GA and PSO and verifies and reinforces the claim that both GA and PSO have identical effectiveness but PSO has significantly better computational efficiency when compared to GA. This is done by performing the comparative study between GA and PSO using STYBLINSKI-TANG and MICHALEWICZ functions as the test functions. Keywords: Meta-heuristic, Optimization, Genetic Algorithm, Particle Swarm Optimization, Fitness function. I. INTRODUCTION Meta-heuristic algorithms are high-level heuristics techniques designed to solve optimization problem that may yield a superior solution, even with incomplete or imperfect information [1]. Optimization can be defined as the process of minimization or maximization of the given objective function. Objective, fitness or evaluation function is the measure of improvement in the system. The meta-heuristic algorithms have edge over classical iterative methods because in these algorithms there is less chances of convergence to local optimum further they are more accurate and more efficient. The GA imitate the behavior of reproduction and evolution in biological populations. Usually GA gives an approximate solution to the given problem [3]. GA has been very effective in various problems such as numerical optimization, robotics, design, management and scheduling [4], power systems analysis [5], data exception and handling [3] etc. Particle Swarm Optimization (PSO) was enunciated by Eberhart and Kennedy in 1990 s. PSO work by assuming each particle as a potential solution which is refined and updated by the cognitive behavior gained through the particle own experience and the social behavior gained through the experience from the neighboring particles [6]. PSO has been used due to its several advantages over other meta-heuristic methods like robustness, efficiency and simplicity [7]. II. GENETIC ALGORITHM In genetic algorithms(ga), initially a random population is generated that represents possible candidate solution to the given problem which evolves during optimization process towards better possible solutions. In each cycle, the fitness of every individual in it is evaluated with which multiple individuals are stochastically selected and modified to form a new generation. The newly generated population in each cycle is then used for the next iteration. The algorithm 1 terminates either when one or both conditions are fulfilled i.e. the limit has been reached for maximum generations, or some user defined fitness level has been reached. In case algorithm termination due to maximum number of iterations, solution may or may not be satisfactory [8]. The various components of GA are discussed below: A. Representation Representation is the first design step which involve mapping of phenotype search space onto the genotype search space. Optimization takes place in genotype search space which can be very much different from phenotype space. B. Fitness Function The fitness function facilitates improvements in generation and establishes the selection criteria. This procedure develops a qualitative measure from the phenotype search space and associates that qualitative measure to genotypes. C. Population Population is the dynamic multiset of all possible solutions. The population is composed of static individuals and forms the basis of evolution. D. Parent selection: Parent selection or mating selection distinguishes individuals on the basis of their fitness value, and selects the individuals with higher fitness to become for matting of the next generation. In Evolutionary algorithms, matting selection approach is usually probabilistic. E. Mutation and Recombination: A mutation and recombination are unary and binary variation operators respectively. Application of mutation operator on any genotype results in a modified mutant

called offspring or child. In general, mutation purpose is to create randomness and unbiased changes in data. Recombination operator combines attributes from two parents into offspring. In Genetic Algorithms, recombination operator is the main search operator. Both mutation and recombination operators are stochastic in nature. F. Survivor selection The survivor selection applies on already created offspring of the selected parents. The purpose of the survivor selection is to differentiate among individuals based on their fitness value. Survivor selection is often deterministic and also called replacement. G. Initialization and Termination: The initialization involves seeding a random population. The termination condition terminates the algorithm when either a desired solution is achieved or the required maximum generations are generated. making any assumption about the given problem. PSO is capable of searching very large space of feasible solutions but can t guarantee an optimal solution because of its metaheuristic nature. The advantage of PSO over other classical optimization methods is that it does not optimizes a problem by using its gradient i.e. it can also optimize problems that are non-differentiable in nature. Therefore, PSO is also be used for problems that are highly irregular, noisy, varies with time etc. [10] PSO works by initiating a population (called swarm) of candidate solutions (called particles). According to some well-defined PSO formulae these particles are moved in the search-space with the given considerations of their own known local best position along with the best known position entire swarm in the search-space [7]. These particles constantly try to discover improve positions which when discovered will direct the motion of the swarm. The process is continued until the achievement of a satisfactory solution. Fig. 1 Flow Chart of Genetic Algorithm. III. PARTICLE SWARM OPTIMIZATION The Particle Swarm Optimization (PSO) was initially designed to study the movement of birds when seeking food, referred as cornfield vector [9]. The birds are able to find food through social cooperation with each other in neighborhood. This idea was exploited in PSO for multidimensional search. PSO is a metaheuristic based optimization algorithm that optimizes a problem by iteratively refining the candidate solution by comparing its fitness value. PSO is classified as the metaheuristics based optimization algorithm because it optimizes the problem without Fig. 2 Flow Chart of Particle Swarm Optimization. IV. CASE STUDY For case study STYBLINSKI-TANG function and MICHALEWICZ function are selected as test functions. 2

These functions are multidimensional functions usually used as evaluation functions for N dimensional optimization problems [11]. STYBLINSKI-TANG function is given below: N f(x) = 1 2 (x i 4 16x i 2 + 5x i ) i=1 (1) The 2-D STYBLINSKI-TANG function is shown here in fig. 3: Fig. 5 Fitness vs Iteration Graph of 1-D STYBLINSKI-TANG function evaluated by PSO Fig. 3 2-Dimensional STYBLINSKI-TANG function Function evaluation on the hypercube: xi [-5, 5] for all i = 1,2,3, N Global minimum is at: f(x ) = 39.16599 N x = ( 2.903534,, 2.903534) Genetic algorithm and particle swarm optimization are evaluated using the given functions in search spaces. The evaluation results are plotted in MATLAB in terms of number of iterations and fitness value. Fig. 6 Fitness vs Iteration Graph of 3-D Fig. 7 Fitness vs Iteration Graph of 3-D The 2-D MICHALEWICZ function is given below: Fig. 4 Fitness vs Iteration Graph of 1-D N f(x) = sin(x i ) sin 2m ( ix i 2 π ) i=1 (2) 3

The parameter m defines the steepness of the valleys and ridges, a larger value of m causes more steepness in function, thus making search space more difficult [12]. The recommended value of m is 10. The N represents the dimension of search space of MICHALEWICZ function, for 2-D search space N=2. The 2-D MICHALEWICZ function is shown in fig. 8: Fig. 10 Fitness vs Iteration Graph of 2-D MICHALEWICZ function evaluated by GA Fig. 8 2-Dimensional MICHALEWICZ function Function evaluation on the hypercube: Global minimum is at: xi [0, π], for all i = 1,, N. f(x ) = 1.8013034101 at x = (2.20, 1.57) Genetic algorithm and particle swarm optimization are further evaluated using 2-D MICHALEWICZ function The evaluation results are plotted in MATLAB in terms of number of iterations vs fitness value and are shown here in fig. 9-10 From fig. 4-5 it is clear that number of iterations and fitness value for both methods are almost same for 1-D optimization but in case of 3-D optimization shown in fig. 5-6 fitness value is same but number of iterations of PSO are significantly less as compare to GA. For 2-D optimization, it can be seen from fig.8-9 that number of iterations of GA are slightly higher as compare to PSO. Table 1 Comparison of Computational time of Genetic Algorithm(GA) and Particle Swarm Optimization (PSO) Computational Time(sec) Function Name Dimension GA PSO STYBLINSKI- TANG Function MICHALEWICZ Function 1-D Optimization 0.10883 0.03538 3-D Optimization 0.24811 0.08670 2-D Optimization 0.16130 0.06294 V. CONCLUSION The two tests perform in this paper strengthen the hypothesis that both PSO and GA obtain the same high quality results but the computational effort needed by PSO to arrive such a superior quality results is relatively less when compared to the GA computational efforts. This computational efficiency superiority of PSO over GA can be observed from table 1 which increases as the dimension of search space increases. The analysis has also shown that the difference in computational effort between PSO and the GA is problem specific. It appears that PSO outperforms the GA in nonlinear problems with continuous design variables while GA is more efficient for discrete problems [13-14] or combinatorial design variables. Fig. 9 Fitness vs Iteration Graph of 2-D MICHALEWICZ function evaluated by PSO 4

REFERENCES [1] https://en.wikipedia.org/wiki/evolutionary_algorithm [2] J. H. Holland, Genetic algorithms and the optimal allocation of trials, SIAM Journal on Computing, vol. 2, no. 2, pp. 88-105, 1973. [3] Cedeño, W., Vemuri, V.,"Database design with genetic algorithms", D. Dasgupta and Z. Michalewicz (eds), Evolutionary Algorithms in Engineering Applications, Springer Verlag, 3/97, 1996. [4] O. Maimon and D. Braha, A genetic algorithm approach to scheduling PCBs on a single machine, International Journal of Production Research, vol. 36, no. 3, pp. 761-784, 1998. [5] J. Zhang, H. Chung, and W.-L. Lo, Pseudo coevolutionary genetic algorithms for power electronic circuits optimization, Systems, Man, and Cybernetics, Part C: Applications and Reviews, IEEE Transactions on, vol. 36, no. 4, pp. 590-598, 2006. [6] Kennedy, J. and Eberhart R., Particle Swarm Optimization, Proceedings of the IEEE International Conference on Neural Networks, Perth, Australia 1995, pp. 1942-1945. [7] M. Clerc and J. Kennedy, The particle swarmexplosion, stability, and convergence in a multidimensional complex space, Evolutionary Computation, IEEE Transactions on, vol. 6, no. 1, pp. 58-73, 2002. [8] Darrell Whitley, "The GENITOR algorithm and selection pressure", In J. D. Schaffer, editor, Proceedings of the Third International Conference on Genetic Algorithms, pp. 161-121.San Mateo: Morgan Kaufmann,1989 [9] Eberhart, R., Kennedy, J., A New Optimizer Using Particle Swarm Theory, Proc. 6th Int. Symposium on Micro Machine and Human Science, pp. 39-43, 1995. [10] Kennedy, J. and Eberhart, R., Swarm Intelligence, Academic Press, 1st ed., San Diego, CA, 2001. [11] https://www.sfu.ca/ssurjano/stybtang.html [12] https://www.sfu.ca/~ssurjano/michal.html [13] D.B. Fogel. Evolutionary Computation. IEEE Press, 1995. A book covering evolutionary programming, evolution strategies, and genetic algorithms from a perspective of achieving machine intelligence through evolution. [14] Marinakis, Y. and Marinaki, M. (2010), A hybrid genetic-particle swarm optimization algorithm for the vehicle routing problem, Expert Systems with Applications, 37 (2), 1446-1455. 5