IDEAS home Printed from https://ideas.repec.org/a/wsi/apjorx/v38y2021i06ns021759592150010x.html
   My bibliography  Save this article

A Fast Algorithm for Knapsack Problem with Conflict Graph

Author

Listed:
  • Jiaxin Li

    (Software School, Dalian University of Technology, Dalian, P. R. China)

  • Yan Lan

    (Dalian Minzu University, Dalian, P. R. China)

  • Feng Chen

    (Software Technology Research Laboratory, De Montfort University, UK)

  • Xin Han

    (Software School, Dalian University of Technology, Dalian, P. R. China)

  • Jacek Blazewicz

    (Institute of Computing Science, Poznań University of Technology, Poznań, Poland5Institute of Bioorganic Chemistry, Polish Academy of Sciences, Poznań, Poland6European Center for Bioinformatics and Genomics, Poznań, Poland)

Abstract

In this paper, we propose a fast algorithm based on a new algorithm to calculate the upper bound for the knapsack problem with conflict graph (KPCG). The KPCG is an extension of the 0-1 knapsack problem. A pre-defined conflict graph defines the incompatibility properties between pairs of items. The goal is to determine which items should be packed into the knapsack to maximize the total profit on the premise of satisfying the capacity constraint and the incompatibility constraints. The experimental results show that for the graph with density greater than or equal to 0.1, the branch-and-bound algorithm based on the new algorithm is 1.6458 and 1.6352 times faster than the state-of-the-art algorithm on random and correlated instances, respectively, and can achieve speedups of up to 4.6477 for some low density instances. Moreover, the branch-and-bound algorithm based on the new algorithm can optimally solve more instances than the state-of-the-art algorithm in a given time limit.

Suggested Citation

  • Jiaxin Li & Yan Lan & Feng Chen & Xin Han & Jacek Blazewicz, 2021. "A Fast Algorithm for Knapsack Problem with Conflict Graph," Asia-Pacific Journal of Operational Research (APJOR), World Scientific Publishing Co. Pte. Ltd., vol. 38(06), pages 1-34, December.
  • Handle: RePEc:wsi:apjorx:v:38:y:2021:i:06:n:s021759592150010x
    DOI: 10.1142/S021759592150010X
    as

    Download full text from publisher

    File URL: http://www.worldscientific.com/doi/abs/10.1142/S021759592150010X
    Download Restriction: Access to full text is restricted to subscribers

    File URL: https://libkey.io/10.1142/S021759592150010X?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:wsi:apjorx:v:38:y:2021:i:06:n:s021759592150010x. 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: Tai Tone Lim (email available below). General contact details of provider: http://www.worldscinet.com/apjor/apjor.shtml .

    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.