Content area

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.

Details

1009240
Company / organization
Title
A Comparison of Energy Consumption and Quality of Solutions in Evolutionary Algorithms
Author
Luque-Hernández, Francisco Javier 1   VIAFID ORCID Logo  ; Aquino-Britez Sergio 1   VIAFID ORCID Logo  ; Díaz-Álvarez Josefa 2   VIAFID ORCID Logo  ; García-Sánchez, Pablo 1   VIAFID ORCID Logo 

 Department of Computer Engineering, Automation and Robotics, E.T.S. de Ingenierías Informática y de Telecomunicación, Universidad de Granada, 18071 Granada, Spain; [email protected] (F.J.L.-H.); [email protected] (S.A.-B.) 
 Department of Computer and Communications Technology, Centro Universitario de Mérida, Universidad de Extremadura, 06800 Mérida, Spain; [email protected] 
Publication title
Algorithms; Basel
Volume
18
Issue
9
First page
593
Number of pages
19
Publication year
2025
Publication date
2025
Publisher
MDPI AG
Place of publication
Basel
Country of publication
Switzerland
Publication subject
e-ISSN
19994893
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2025-09-22
Milestone dates
2025-07-31 (Received); 2025-09-11 (Accepted)
Publication history
 
 
   First posting date
22 Sep 2025
ProQuest document ID
3254462449
Document URL
https://www.proquest.com/scholarly-journals/comparison-energy-consumption-quality-solutions/docview/3254462449/se-2?accountid=208611
Copyright
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2025-09-26
Database
ProQuest One Academic