Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Proposal of OptDG Algorithm for Solving the Knapsack Problem

Author 1: Matej Arlovic Author 2: Tomislav Rudec Author 3: Josip Miletic Author 4: Josip Balen
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 15, No. 9 · Published 2024

DOI: 10.14569/IJACSA.2024.0150998

Abstract

In a computational complexity theory, P, NP, NP-complete and NP-hard problems are divided into complexity classes which are used to emphasize how challenging it is to solve particular types of problems. The Knapsack problem is a well-known computational complexity theory and fundamental NP-hard optimization problem that has applications in a variety of disciplines. Being one of the most well-known NP-hard problems, it has been studied extensively in science and practice from theoretical and practical perspectives. One of the solution to the Knapsack problem is the Dantzig’s greedy algorithm which can be expressed as a linear programming algorithm which seeks to discover the optimal solution to the knapsack problem. In this paper, an optimized Dantzig greedy (OptDG) algorithm that addresses frequent edge cases, is suggested. Furthermore, OptDG algorithm is compared with the Dantzig’s greedy and optimal dynamically programmed algorithms for solving the Knapsack problem and performance evaluation is conducted.

Keywords

How to Cite this Article

Arlovic, M., Rudec, T., Miletic, J., & Balen, J. (2024). Proposal of OptDG Algorithm for Solving the Knapsack Problem. International Journal of Advanced Computer Science and Applications, 15(9). https://doi.org/10.14569/IJACSA.2024.0150998

Arlovic, Matej, et al.. "Proposal of OptDG Algorithm for Solving the Knapsack Problem." International Journal of Advanced Computer Science and Applications, vol. 15, no. 9, 2024, https://doi.org/10.14569/IJACSA.2024.0150998.

@article{Arlovic2024,
  title     = {Proposal of OptDG Algorithm for Solving the Knapsack Problem},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {15},
  number    = {9},
  year      = {2024},
  publisher = {The Science and Information Organization},
  author    = {Matej Arlovic and Tomislav Rudec and Josip Miletic and Josip Balen},
  doi       = {10.14569/IJACSA.2024.0150998},
  url       = {https://doi.org/10.14569/IJACSA.2024.0150998}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 11, November 2026
Paper Submission Due October 25, 2026
Review Notification November 15, 2026
Publication Date November 30, 2026