DEVELOPMENT OF A METHOD FOR OPTIMIZING SOFTWARE CODE BASED ON A GENETIC ALGORITHM
DOI:
https://doi.org/10.28925/2663-4023.2025.27.718Keywords:
software code; genetic algorithm; software code.Abstract
Genetic algorithms imply generating & combining of different solutions with the subsequent gradual improvement in accordance to a certain efficiency criteria. In international practice, genetic algorithms are used to solve various optimization issues — in particular, those which concern the software development. The utilization of the genetic algorithms for optimization of the program code is a very promising direction that offers extra automation in terms of search for effective and productive solutions in the software development process. Genetic algorithms contribute to increasing of the code performance, improving its structure and reducing resource consumption, which is crucial in today’s competitive world. Despite the fact that this method has certain limitations and flaws, the constant improving of algorithms & increasing of computing capabilities step by step make it widely accessible in the software development circumstances of the real world. Creation of the neural network for automatic code optimization (as well as the development of a program that directly modifies the code) is an extremely resource-intensive task. Even provided that the network of powerful computers is involved into processing, such heavy tasks can lead to system slowdowns, periodic system freezes and the need for constant reboots for stabilization purposes. This not only slows down the development process, but also makes it financially unprofitable for many companies. Genetic algorithms provide an opportunity to optimize the amount of necessary resources, which is an extremely important factor in software development. In general, there is no doubt that in the future the utilization of the genetic algorithms will become increasingly widespread. The range of tasks that are solved using these algorithms (as well as the quality and pace of solving of these tasks) justify their [genetic algorithms’] long-term prospects and popularity. Given the relevance of the research topic, the hereby article considers the theoretical foundations of genetic algorithms and their utilization in regards of the code optimization, and also suggests several ways of development of a method for the optimization of the program code based on the genetic algorithms.
Downloads
References
Bazhan, V. (2023). The Usage of Genetic Algorithms with Stochastic Processes for the Resolution of Optimization Problems. Grail of Science, (33), 253–261. https://doi.org/10.36074/grail-of-science.10.11.2023.40
Baranovskyi, V. (2015). The Usage of Evolutionary Algorithms for Complex Systems Optimization. Cybernetics and System Analysis Journal.
Horbenko, A. (2016). Comparison of Evolutionary Optimization Methods. Compendium of Scientific Papers “Informatics and Computer Science”.
Kryvulia, S. (2017). Genetic Algorithms in Context of Optimization Issues. Ukrainian Scientific Journal “Computer Technologies and Systems”.
Lysenko, P., & Ivanchenko, M. (2019). The Usage of Genetic Algorithms for Improving of the Software Systems. Information Technologies in Education and Science.
Shevchenko, V. (2018). The Usage of Genetic Algorithms for the Logistic Systems Optimization. Science bulletin of KhNU, series: Informatics.
Cheng, L., & Lee, H. (2010). Enhanced Genetic Algorithms for Code Optimization. ACM Transactions on Software Engineering and Methodology.
Goldberg, D. (1989). Genetic Algorithms in Search, Optimization, and Machine Learning.
Kannadasan, R., Manoj Kumar, K. N., & Sistla, K. (2016). Code Optimization using Genetic Algorithm. SSRN Electronic Journal, 4(11), 1–7.
Koza, J. R. (1992). Genetic Programming: On the Programming of Computers by Means of Natural Selection. Stat Comput, 4, 87–112. https://doi.org/10.1007/BF00175355
Nguyen, Q. (2017). Efficient Genetic Algorithm for Code Optimization. Journal of Optimization Theory and Applications.
Kramer, O. (2017). Genetic Algorithm Essentials. Genetic Algorithm Essentials, Studies in Computational Intelligence, 679, 11–19. https://doi.org/10.1007/978-3-319-52156-5_2
Pohlheim, H. (2005). Genetic and Evolutionary Algorithms: Principles, Methods, and Applications.
Simpson, A., & Priest, S. (1993). The application of genetic algorithms to optimisation problems in geotechnics. Computers and Geotechnics, 15(1), 1–19. https://doi.org/10.1016/0266-352X(93)90014-X
Smithson, J., & Lee, H. (2001). Parallel Genetic Algorithms for Code Optimization. IEEE Transactions on Parallel and Distributed Systems.
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Владислав Шоробура, Богдан Худік

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.