Optimizing Sprint Planning in Agile Methodology Using Greedy Algorithm
DOI:
https://doi.org/10.56988/chiprof.v4i2.86Keywords:
Agile, Greedy Algorithm, Knapsack Problem, Story Point Optimization, Sprint PlanningAbstract
Sprint planning is a pivotal process in Agile-based software development, where project success heavily depends on the team's ability to select and deliver the most valuable tasks within limited time and resources. A core challenge in this process is determining the optimal set of tasks that can be completed in a sprint, considering the constraints imposed by story point capacity. This decision-making problem closely resembles the classic Knapsack Problem in combinatorial optimization. This paper investigates the implementation of the Greedy algorithm as a heuristic approach to solve this problem by selecting tasks based on their value-to-story-point ratio. The Greedy strategy simplifies task selection by making locally optimal decisions at each step, thereby enabling efficient prioritization of high-value tasks without exceeding the sprint limit. A comparative experiment using real-world data was conducted to evaluate the effectiveness of the Greedy method against manual selection. The results demonstrate that the Greedy algorithm not only utilizes story point capacity more efficiently but also maximizes the total value of tasks included within the sprint. In some scenarios, it even achieved higher priority scores while consuming fewer story points. These findings affirm the practicality of Greedy-based optimization in Agile environments, particularly for rapid and scalable sprint planning. Future work may explore hybrid models or more advanced algorithms such as Dynamic Programming for enhanced optimization outcomes.
Downloads
References
T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein, Introduction to Algorithms, 3rd ed. Cambridge, MA: MIT Press, 2009.
K. Beck, "Manifesto for Agile Software Development," Agile Alliance, 2001. [Online]. Available: https://agilemanifesto.org
S. Martello and P. Toth, Knapsack Problems: Algorithms and Computer Implementations. New York: John Wiley & Sons, 1990.
M. Golfarelli, S. Rizzi, and E. Turricchia, "Sprint Planning Optimization in Agile Data Warehouse Design," in Data Warehousing and Knowledge Discovery, vol. 7448, pp. 30–41, Springer, 2012. [Online]. Available: https://doi.org/10.1007/978-3-642-32584-7_3
G. N. Fauziah, "Application of the Greedy Algorithm in Multiple Constrain Knapsack Optimization Problems in Goods Transportation," Jurnal Syntax Admiration, vol. 3, no. 5, pp. 725–732, 2022. [Online]. Available: https://jurnalsyntaxadmiration.com/index.php/jurnal/article/view/425
A. A. Prasha, C. O. Rachmadi, A. P. Sari, N. G. Raditya, S. L. Mutiara, and M. Yusuf, "Implementation of Greedy and Dynamic Programming Algorithms for Interval Scheduling Problems Using the Knapsack Model," FORMAT: Jurnal Ilmiah Teknik Informatika, 2023. [Online]. Available: https://publikasi.mercubuana.ac.id/index.php/format/article/view/28372
M. A. Boschetti, M. Golfarelli, S. Rizzi, and E. Turricchia, "A Lagrangian heuristic for sprint planning in agile software development," Computers & Operations Research, vol. 43, pp. 116–128, 2014. [Online]. Available: https://doi.org/10.1016/j.cor.2013.09.007
M. I. W. Purnama, F. Fauziah, and I. D. Sholihati, "Scrum Framework and Greedy Algorithm in Product Backlog Wedding Application Planner (Wepplan) Activities," CESS (Journal of Computer Engineering, System and Science), 2022. [Online]. Available: https://jurnal.unimed.ac.id/2012/index.php/cess/article/view/30625
G. I. Sampurno, E. Sugiharti, and A. Alamsyah, "Comparison of Dynamic Programming Algorithm and Greedy Algorithm on Integer Knapsack Problem in Freight Transportation," Scientific Journal of Informatics, vol. 5, no. 1, pp. 1–10, 2019. [Online]. Available: https://journal.unnes.ac.id/nju/sji/article/view/40
S. Jansi and R. Rajeswari, "A Greedy Heuristic Approach for Sprint Planning in Agile Software Development," 2015. [Online]. Available: https://www.academia.edu/12215637/
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Dwi Aprian Widodo, Tata Sutabri

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