A Comparison of Energy Consumption and Quality of Solutions in Evolutionary Algorithms

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 (26, 210, 214 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 η=fitness/kWh. 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.

Authors

Institutions

Publication Details

Journal
Algorithms
Published
2025-09-22
DOI
https://doi.org/10.3390/a18090593
Primary Topic
Evolutionary Algorithms and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparison of Energy Consumption and Quality of Solutions in Evolutionary Algorithms

Pablo García‐Sánchez, Josefa Díaz‐Álvarez, Sergio Aquino-Brítez, Francisco Javier Luque-Hernández
Algorithms
Evolutionary Algorithms and Applications
article

A Comparison of Energy Consumption and Quality of Solutions in Evolutionary Algorithms

Pablo García‐Sánchez, Josefa Díaz‐Álvarez, Sergio Aquino-Brítez, Francisco Javier Luque-Hernández
article en

Abstract

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 (26, 210, 214 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 η=fitness/kWh. 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.

AlgorithmsVol. 18(9)
Universidad de Granada (ES), Instituto de Arqueología-Mérida (ES)
Ministerio de Ciencia, Innovación y Universidades, Agencia Estatal de Investigación
Openalex Percentile: Top 86%
Evolutionary Algorithms and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Comparison of Energy Consumption and Quality of Solutions in Evolutionary Algorithms — Pablo García‐Sánchez, Josefa Díaz‐Álvarez, et al. · Algorithms (2025) | TGRS Research Map | TGRS