IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i12p1878-d1416037.html
   My bibliography  Save this article

An Improved Unbounded-DP Algorithm for the Unbounded Knapsack Problem with Bounded Coefficients

Author

Listed:
  • Yang Yang

    (School of Mathematical Sciences, Xiamen University, Xiamen 361005, China)

Abstract

Benchmark instances for the unbounded knapsack problem are typically generated according to specific criteria within a given constant range R , and these instances can be referred to as the unbounded knapsack problem with bounded coefficients (UKPB). In order to increase the difficulty of solving these instances, the knapsack capacity C is usually set to a very large value. While current efficient algorithms primarily center on the Fast Fourier Transform (FFT) and (min,+)-convolution method, there is a simpler method worth considering. In this paper, based on the basic Unbounded-DP algorithm, we utilize a recent branch and bound (B&B) result and basic theory of linear Diophantine equation, and propose an improved Unbounded-DP algorithm with time complexity of O ( R 4 ) and space complexity of O ( R 3 ) . Additionally, the algorithm can also solve the All-capacities unbounded knapsack problem within the complexity O ( R 4 + C ) . In particular, the proof techniques required by the algorithm are primarily covered in the first-year mathematics curriculum, which is convenient for subsequent researchers to grasp.

Suggested Citation

  • Yang Yang, 2024. "An Improved Unbounded-DP Algorithm for the Unbounded Knapsack Problem with Bounded Coefficients," Mathematics, MDPI, vol. 12(12), pages 1-12, June.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:12:p:1878-:d:1416037
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/12/1878/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/12/1878/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:12:p:1878-:d:1416037. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.