Towards Enhancing Energy Consumption and Time Complexity of Combinatorial Algorithms for Solving the Knapsack Problem

The increasing demand for energy-efficient and time-optimized computational systems has driven research into combinatorial algorithms, particularly those used to solve the knapsack problem. The knapsack problem is one of the most significant in combinatorial optimization, which involves determining the optimal selection of items to include in a knapsack while adhering to specific constraints, such as weight or profit limits. This study compares the energy consumption and time complexity of the greedy and dynamic programming algorithms applied to this problem. Using power models to measure total energy consumption and execution time, the research reveals that the greedy algorithm is far more efficient, with negligible energy consumption across various scenarios. In contrast, the dynamic programming algorithm, while delivering accurate solutions, consumes more energy and takes longer due to its memory-intensive operations. These findings highlight the need to consider energy and time efficiency in algorithm design, contributing to more sustainable computing practices. Future research will explore larger datasets and focus on instruction-level energy analysis to optimize algorithm performance.

Publication Details

Journal
Figshare
Published
2025-02-10
DOI
https://doi.org/10.6084/m9.figshare.28243586
Primary Topic
Optimization and Packing Problems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Enhancing Energy Consumption and Time Complexity of Combinatorial Algorithms for Solving the Knapsack Problem

Figshare
Optimization and Packing Problems
article

Towards Enhancing Energy Consumption and Time Complexity of Combinatorial Algorithms for Solving the Knapsack Problem

article en

Abstract

The increasing demand for energy-efficient and time-optimized computational systems has driven research into combinatorial algorithms, particularly those used to solve the knapsack problem. The knapsack problem is one of the most significant in combinatorial optimization, which involves determining the optimal selection of items to include in a knapsack while adhering to specific constraints, such as weight or profit limits. This study compares the energy consumption and time complexity of the greedy and dynamic programming algorithms applied to this problem. Using power models to measure total energy consumption and execution time, the research reveals that the greedy algorithm is far more efficient, with negligible energy consumption across various scenarios. In contrast, the dynamic programming algorithm, while delivering accurate solutions, consumes more energy and takes longer due to its memory-intensive operations. These findings highlight the need to consider energy and time efficiency in algorithm design, contributing to more sustainable computing practices. Future research will explore larger datasets and focus on instruction-level energy analysis to optimize algorithm performance.

Figshare
Affordable and clean energy
Openalex Percentile: Top 45%
Optimization and Packing Problems
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.

Towards Enhancing Energy Consumption and Time Complexity of Combinatorial Algorithms for Solving the Knapsack Problem · Figshare (2025) | TGRS Research Map | TGRS