Finding Minimum and Maximum Values of Variables in Mathematical Equations by Applying Firefly and PSO Algorithm
Main Article Content
Abstract
Computers are often used when problems are big or hard to solve. However, traditional ways to find solutions are not enough when problems are very serious. Hence, turning to nature may be the answer to find solutions for these problems. Artificial intelligence tries to simulate creatures and activities in nature turning their techniques to find solutions for a given problem into an algorithm. Although there are many algorithms have been developed, whose works are inspired by nature, there has been continuous researches aimed at finding better and faster algorithms. Many mathematical optimization problems can be solved by Swarm intelligence algorithms. The aim of this algorithm is to get the optimum solution by repeated searches whose main concern is to discover the area related to solution. In this paper, Firefly Algorithm (FA) and Particle Swarm Optimization (PSO) algorithm are executed. The two algorithms are implemented to find the minimum and maximum values of the mathematical equations. Users of the proposed system are able to read the equation directly through the execution time, by displaying and analyzing the obtained results which show that the FA algorithm has a better performance than PSO algorithm. In addition, the program is executed by MATLAB.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Tikrit Journal of Pure Science is licensed under the Creative Commons Attribution 4.0 International License, which allows users to copy, create extracts, abstracts, and new works from the article, alter and revise the article, and make commercial use of the article (including reuse and/or resale of the article by commercial entities), provided the user gives appropriate credit (with a link to the formal publication through the relevant DOI), provides a link to the license, indicates if changes were made, and the licensor is not represented as endorsing the use made of the work. The authors hold the copyright for their published work on the Tikrit J. Pure Sci. website, while Tikrit J. Pure Sci. is responsible for appreciate citation of their work, which is released under CC-BY-4.0, enabling the unrestricted use, distribution, and reproduction of an article in any medium, provided that the original work is properly cited.
References
[1] Abdullah, A.; Deris, S.; Mohamad, M.S. and Mohamad, S.Z.M. (2012). A New Hybrid Firefly Algorithm for Complex and Nonlinear Problem, The 9th International Conference for Symposium on Distributed Computing and Artificial Intelligence (DCAI), March 2012: p 673–680. [2] Al Hwaitat A.K.; Almaiah M.A.; Almomani O.; Al-Zahrani M.; Al-Sayed R.M.; AsaifiR .M.; Adhim K.K.; Althunibat A.and Alsaaidah A. (2020). Improved Security Particle Swarm Optimization (PSO) Algorithm to Detect Radio Jamming Attacks in Mobile Networks. International Journal of Advanced Computer Science and Applications (IJACSA), 11(4):614-625. [3] Alomoush W.; Omar K.; Alrosan A.; Alomari Y.M; Albashish D. and Almomani A. (2020). Firefly photinus search algorithm, Journal of King Saud University Computer and Information Sciences, 32 (2020):599–607. [4] Asokan K. and Ashok K.R. (2014). Application of Firefly algorithm for solving Strategic bidding to maximize the Profit of IPPs in Electricity Market with Risk constraints. International Journal of Current Engineering and Technology, 4(1): 37-44. [5] Balande U. and Shrimankar D. (2019). SRIFA: Stochastic Ranking with Improved Firefly Algorithm for Constrained Optimization Engineering Design Problems. Mathematics Journal (MDPI), 7(250):1-26. [6] Benabid R.; Zellagui M., Chaghi A. and Boudour M. (2014). Application of Firefly Algorithm for Optimal Directional Over current Relays Coordination in the Presence of IFCL, International Journal of Intelligent Systems and Applications, 7(1):44-53. [7] Dhillon M. and Goyal S. (2013). PAPR Reduction in Multicarrier Modulations Using Firefly Algorithm. International Journal of Innovative Research in Computer and Communication Engineering, 1(5): 1272. [8] Eberhart R., and Kennedy J. (1995). A new optimizer using particle swarm theory. The 6thInternational Conference for Symposiumon Micromachine and Human Science, Publisher: IEEE, Nagoya, Japan: p 39-43. [9] Farook S. and Raju P. S. (2014). Metaheuristic Algorithms for Capacitor Siting and Sizing to Improve Voltage Profile. International Electrical Engineering Journal (IEEJ), 5(1):1208-1215. [10] Frederic N. and Yang Y. (2017). Analysis of Particle Swarm Optimization and Genetic Algorithm based on Task Scheduling in Cloud Computing Environment. International Journal of Advanced Computer Science and Applications (IJACSA), 8(1):19-25. [11] Hanan A.R.A. and Firas R. M. (2011). Training Artificial Neural Networks by PSO to Perform Digital Circuits Using Xilinx FPGA. Eng. & Tech. Journal, 29(7):1329- 1344. [12] Jancauskas V. (2014). Empirical Study of Particle Swarm Optimization Mutation Operators. Journal of Baltic J. Modern Computing, 2(4):199–214. [13] Jiang S.; Zhang C. and Chen S. (2020). Sequential Hybrid Particle Swarm Optimization and Gravitational Search Algorithm with Dependent Random Coefficients. Journal of Mathematical Problems in Engineering, 2020 (Article ID 195):1-17. [14] Kwiecien J. and Filipowicz B. (2012). Firefly algorithm in optimization of queuing systems. Bulletin of the Polish Academy of Sciences, Technical Sciences, 60(2): 363-368. [15] Mahmood R.Z. and Al-jawaherry M.A. (2017). Firefly Algorithm Implementation Based on Arduino Microcontroller. International Journal of Computer Science and Information Security (IJCSIS), 15(12):283-288. [16] Ritthipakdee A.; Thammano A. Premasathian N. and Uyyanonvara B. (2014). An Improved Firefly Algorithm for Optimization Problems. ADCONP, Hiroshima, 2014(2):159-164. [17] Rostami A. and Lashkari M. and Branch F. (2014). Extended PSO algorithm for improvement problems K-Means clustering algorithm. International Journal of Managing Information Technology, 6(3):17-29. [18] Saibal K. Pal; Rai C.S and Singh A.P. (2012). Comparative Study of Firefly Algorithm and Particle Swarm Optimization for Noisy Non Linear Optimization Problems. I.J. Intelligent Systems and Applications, 10(6):50-57. [19] Zhan, S. and Huo H. (2012). Improved PSO-based task scheduling algorithm in cloud computing. Journal of Information and Computational, 9(13): 3821–3829. [20] Zhui M.Y.; Bin M.Y. and yan Z.Q. (2013). Optimal Choice of Parameters for Firefly Algorithm. Fourth International Conference on Digital Manufacturing & Automation, Qingdao, China, 29-30 June 2013: p. 887-892.