1 / 22

Firefly Algorithm By Rasool Tavakoli

Firefly Algorithm By Rasool Tavakoli. Outline. Abstract Introduction Particle Swarm Optimization Firefly Algorithm Comparison of FA with PSO and GA Conclusions References. Abstract. Nature-inspired algorithms are among the most powerful algorithms for optimization.

Download Presentation

Firefly Algorithm By Rasool Tavakoli

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Firefly Algorithm By RasoolTavakoli

  2. Outline • Abstract • Introduction • Particle Swarm Optimization • Firefly Algorithm • Comparison of FA with PSO and GA • Conclusions • References Isfahan University of Technology. Dec 2011

  3. Abstract • Nature-inspired algorithms are among the most powerful algorithms for optimization. • We will try to provide a detailed description of a new Firefly Algorithm (FA) for multimodal optimization applications. • Finally we will compare the proposed firefly algorithm with other metaheuristic algorithms such as particle swarm optimization by the implementation results. Isfahan University of Technology. Dec 2011

  4. Introduction • PSO • Particle swarm optimization (PSO) was developed by Kennedy and Eberhart in 1995 • based on the swarm behavior such as fish and bird schooling in nature, the so-called swarm intelligence • Though particle swarm optimization has many similarities with genetic algorithms, but it is much simpler because it does not use mutation/crossover operators • Instead, it uses the real-number randomness and the global communication among the swarming particles. In this sense, it is also easier to implement as it uses mainly real numbers • FA • was developed by Xin-She Yang at Cambridge University in 2007 • particle swarm optimization is just a special class of the firefly algorithms Isfahan University of Technology. Dec 2011

  5. Particle Swarm Optimization(PSO) • The PSO algorithm searches the space of the objective functions by adjusting the trajectories of individual agents, called particles, as the piecewise paths formed by positional vectors in a quasi-stochastic manner • The particle movement has two major components • stochastic component • deterministic component Isfahan University of Technology. Dec 2011

  6. PSO Denotes the best xi in the history Isfahan University of Technology. Dec 2011

  7. PSO Isfahan University of Technology. Dec 2011

  8. Behavior of Fireflies • The flashing light of fireflies is an amazing sight in the summer sky in the tropical and temperate regions • There are about two thousand firefly species, and most fireflies produce short and rhythmic flashes • The pattern of flashes is often unique for a particular species Isfahan University of Technology. Dec 2011 Isfahan University of Technology. Fall 2010

  9. Behavior of Fireflies • Two fundamental functions of such flashes are: • to attract mating partners (communication) • to attract potential prey • Females respond to a male’s unique pattern of flashing in the same species. • We know that the light intensity at a particular distance ‘r’ from the light source obeys the inverse square law. • The air absorbs light which becomes weaker and weaker as the distance increases. • The flashing light can be formulated in such a way that it is associated with the objective function. Isfahan University of Technology. Dec 2011

  10. Firefly Algorithm • For simplicity in describing our new FA we now use the following three idealized rules: • all fireflies are unisex so that one firefly will be attracted to other fireflies regardless of their sex • Attractiveness is proportional to their brightness, thus for any two flashing fireflies, the less brighter one will move towards the brighter one. If there is no brighter one than a particular firefly, it will move randomly • The brightness of a firefly is affected or determined by the landscape of the objective function. For a maximization problem, the brightness can simply be proportional to the value of the objective function Isfahan University of Technology. Dec 2011

  11. Firefly Algorithm Isfahan University of Technology. Dec 2011

  12. Attractiveness Isfahan University of Technology. Dec 2011

  13. Attractiveness Isfahan University of Technology. Dec 2011

  14. Distance and Movement Isfahan University of Technology. Dec 2011

  15. Scaling and Asymptotic Cases • It is worth pointing out that the distance r defined in previous slide is not limited to the Euclidean distance. • There are two important limiting cases when PSO Random Search Isfahan University of Technology. Dec 2011

  16. Validation Isfahan University of Technology. Dec 2011

  17. Validation Isfahan University of Technology. Dec 2011

  18. Validation Isfahan University of Technology. Dec 2011

  19. Comparison of FA with PSO and GA Isfahan University of Technology. Dec 2011

  20. Conclusions • New firefly algorithm have some similarities and differences with particle swarm optimization • Flying to other fireflies replaced with crossoover. • Simulation results for finding the global optima of various test functions suggest that particle swarm often outperforms traditional algorithms such as genetic algorithms, while the new firefly algorithm is superior to both PSO and GA in terms of both efficiency and success rate Isfahan University of Technology. Dec 2011

  21. References [1] Kennedy, J. and Eberhart, R. C. (1995) ‘Particle swarm optimization’, Proc. of IEEE International Conference on Neural Networks, Piscataway, NJ. pp. 1942-1948. [2] Yang X. S.: Firefly algorithms for multimodal optimization. in: Stochastic Algorithms: Foundations and Applications (Eds. O. Watanabe and T. Zeugmann), Springer, SAGA 2009, Lecture Notes in Computer Science, 5792, 169-178 (2009). [3] Yang, X. S., (2010) ‘Firefly Algorithm, Stochastic Test Functions and Design Optimization’, Int. J. Bio-Inspired Computation, Vol. 2, No. 2, pp.78–84. [4] X.-S. Yang, “Firefly algorithm, L´evy flights and global optimization”, in: Research and Development in Intelligent Systems XXVI (Eds M. Bramer, R. Ellis, M. Petridis), Springer London, pp. 209-218 (2010). [5] Yang, X. S. Nature-Inspired Metaheuristic Algorithms, Luniver Press, UK, 2008. [6] Engineering Optimization -An Introduction with MetaheuristicApplications, Wiley, UK, 2010. Isfahan University of Technology. Dec 2011

  22. Isfahan University of Technology. Dec 2011

More Related