Treffer: A Comparison of Energy Consumption and Quality of Solutions in Evolutionary Algorithms.

Title:
A Comparison of Energy Consumption and Quality of Solutions in Evolutionary Algorithms.
Authors:
Luque-Hernández, Francisco Javier1 (AUTHOR), Aquino-Britez, Sergio1,2 (AUTHOR), Díaz-Álvarez, Josefa1,2 (AUTHOR), García-Sánchez, Pablo1,2 (AUTHOR) pablogarcia@ugr.es
Source:
Algorithms. Sep2025, Vol. 18 Issue 9, p593. 18p.
Database:
Academic Search Index

Weitere Informationen

Evolutionary algorithms are extensively used to solve optimisation problems. However, it is important to consider and reduce their energy consumption, bearing in mind that programming languages also significantly affect energy efficiency. This research work compares the execution of four frameworks—ParadisEO (C++), ECJ (Java), DEAPand Inspyred (Python)—running on two different architectures: a laptop and a server. The study follows a design that combines three population sizes ( 2 6 , 2 10 , 2 14 individuals) and three crossover probabilities ( 0.01 ; 0.2 ; 0.8 ) applied to four benchmarks (OneMax, Sphere, Rosenbrock and Schwefel). This work makes a relevant methodological contribution by providing a consistent implementation of the metric η = f i t n e s s / k W h . This metric has been systematically applied in four different frameworks, thereby setting up a standardized and replicable protocol for the evaluation of the energy efficiency of evolutionary algorithms. The CodeCarbon software was used to estimate energy consumption, which was measured using RAPL counters. This unified metric also indicates the algorithmic productivity. The experimental results show that the server speeds up the number of generations by a factor of approximately 2.5 , but the energy consumption increases four- to sevenfold. Therefore, on average, the energy efficiency of the laptop is five times higher. The results confirm the following conclusions: the computer power does not guarantee sustainability, and population size is a key factor in balancing quality and energy. [ABSTRACT FROM AUTHOR]