Cargando…
Improved Online Algorithms for Knapsack and GAP in the Random Order Model
The knapsack problem is one of the classical problems in combinatorial optimization: Given a set of items, each specified by its size and profit, the goal is to find a maximum profit packing into a knapsack of bounded capacity. In the online setting, items are revealed one by one and the decision, i...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer US
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8550732/ https://www.ncbi.nlm.nih.gov/pubmed/34720295 http://dx.doi.org/10.1007/s00453-021-00801-2 |
_version_ | 1784591018370269184 |
---|---|
author | Albers, Susanne Khan, Arindam Ladewig, Leon |
author_facet | Albers, Susanne Khan, Arindam Ladewig, Leon |
author_sort | Albers, Susanne |
collection | PubMed |
description | The knapsack problem is one of the classical problems in combinatorial optimization: Given a set of items, each specified by its size and profit, the goal is to find a maximum profit packing into a knapsack of bounded capacity. In the online setting, items are revealed one by one and the decision, if the current item is packed or discarded forever, must be done immediately and irrevocably upon arrival. We study the online variant in the random order model where the input sequence is a uniform random permutation of the item set. We develop a randomized (1/6.65)-competitive algorithm for this problem, outperforming the current best algorithm of competitive ratio 1/8.06 (Kesselheim et al. in SIAM J Comput 47(5):1939–1964, 2018). Our algorithm is based on two new insights: We introduce a novel algorithmic approach that employs two given algorithms, optimized for restricted item classes, sequentially on the input sequence. In addition, we study and exploit the relationship of the knapsack problem to the 2-secretary problem. The generalized assignment problem (GAP) includes, besides the knapsack problem, several important problems related to scheduling and matching. We show that in the same online setting, applying the proposed sequential approach yields a (1/6.99)-competitive randomized algorithm for GAP. Again, our proposed algorithm outperforms the current best result of competitive ratio 1/8.06 (Kesselheim et al. in SIAM J Comput 47(5):1939–1964, 2018). |
format | Online Article Text |
id | pubmed-8550732 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Springer US |
record_format | MEDLINE/PubMed |
spelling | pubmed-85507322021-10-29 Improved Online Algorithms for Knapsack and GAP in the Random Order Model Albers, Susanne Khan, Arindam Ladewig, Leon Algorithmica Article The knapsack problem is one of the classical problems in combinatorial optimization: Given a set of items, each specified by its size and profit, the goal is to find a maximum profit packing into a knapsack of bounded capacity. In the online setting, items are revealed one by one and the decision, if the current item is packed or discarded forever, must be done immediately and irrevocably upon arrival. We study the online variant in the random order model where the input sequence is a uniform random permutation of the item set. We develop a randomized (1/6.65)-competitive algorithm for this problem, outperforming the current best algorithm of competitive ratio 1/8.06 (Kesselheim et al. in SIAM J Comput 47(5):1939–1964, 2018). Our algorithm is based on two new insights: We introduce a novel algorithmic approach that employs two given algorithms, optimized for restricted item classes, sequentially on the input sequence. In addition, we study and exploit the relationship of the knapsack problem to the 2-secretary problem. The generalized assignment problem (GAP) includes, besides the knapsack problem, several important problems related to scheduling and matching. We show that in the same online setting, applying the proposed sequential approach yields a (1/6.99)-competitive randomized algorithm for GAP. Again, our proposed algorithm outperforms the current best result of competitive ratio 1/8.06 (Kesselheim et al. in SIAM J Comput 47(5):1939–1964, 2018). Springer US 2021-02-17 2021 /pmc/articles/PMC8550732/ /pubmed/34720295 http://dx.doi.org/10.1007/s00453-021-00801-2 Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Albers, Susanne Khan, Arindam Ladewig, Leon Improved Online Algorithms for Knapsack and GAP in the Random Order Model |
title | Improved Online Algorithms for Knapsack and GAP in the Random Order Model |
title_full | Improved Online Algorithms for Knapsack and GAP in the Random Order Model |
title_fullStr | Improved Online Algorithms for Knapsack and GAP in the Random Order Model |
title_full_unstemmed | Improved Online Algorithms for Knapsack and GAP in the Random Order Model |
title_short | Improved Online Algorithms for Knapsack and GAP in the Random Order Model |
title_sort | improved online algorithms for knapsack and gap in the random order model |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8550732/ https://www.ncbi.nlm.nih.gov/pubmed/34720295 http://dx.doi.org/10.1007/s00453-021-00801-2 |
work_keys_str_mv | AT alberssusanne improvedonlinealgorithmsforknapsackandgapintherandomordermodel AT khanarindam improvedonlinealgorithmsforknapsackandgapintherandomordermodel AT ladewigleon improvedonlinealgorithmsforknapsackandgapintherandomordermodel |