Search citation statements
Paper Sections
Citation Types
Year Published
Publication Types
Relationship
Authors
Journals
A variant of the online knapsack problem is considered in the setting of predictions. In Unit Profit Knapsack, the items have unit profit, i.e., the goal is to pack as many items as possible. For Online Unit Profit Knapsack, the competitive ratio is unbounded. In contrast, it is easy to find an optimal solution offline: Pack as many of the smallest items as possible into the knapsack. The prediction available to the online algorithm is the average size of those smallest items that fit in the knapsack. For the prediction error in this hard online problem, we use the ratio $$r=\frac{a}{\hat{a}}$$ r = a a ^ where a is the actual value for this average size and $$\hat{a}$$ a ^ is the prediction. We give an algorithm which is $$\frac{e-1}{e}$$ e - 1 e -competitive, if $$r=1$$ r = 1 , and this is best possible among online algorithms knowing a and nothing else. More generally, the algorithm has a competitive ratio of $$\frac{e-1}{e}r$$ e - 1 e r , if $$r \le 1$$ r ≤ 1 , and $$\frac{e-r}{e}r$$ e - r e r , if $$1 \le r < e$$ 1 ≤ r < e . Any algorithm with a better competitive ratio for some $$r<1$$ r < 1 will have a worse competitive ratio for some $$r>1$$ r > 1 . To obtain a positive competitive ratio for all r, we adjust the algorithm, resulting in a competitive ratio of $$\frac{1}{2r}$$ 1 2 r for $$r\ge 1$$ r ≥ 1 and $$\frac{r}{2}$$ r 2 for $$r\le 1$$ r ≤ 1 . We show that improving the result for any $$r< 1$$ r < 1 leads to a worse result for some $$r>1$$ r > 1 .
A variant of the online knapsack problem is considered in the setting of predictions. In Unit Profit Knapsack, the items have unit profit, i.e., the goal is to pack as many items as possible. For Online Unit Profit Knapsack, the competitive ratio is unbounded. In contrast, it is easy to find an optimal solution offline: Pack as many of the smallest items as possible into the knapsack. The prediction available to the online algorithm is the average size of those smallest items that fit in the knapsack. For the prediction error in this hard online problem, we use the ratio $$r=\frac{a}{\hat{a}}$$ r = a a ^ where a is the actual value for this average size and $$\hat{a}$$ a ^ is the prediction. We give an algorithm which is $$\frac{e-1}{e}$$ e - 1 e -competitive, if $$r=1$$ r = 1 , and this is best possible among online algorithms knowing a and nothing else. More generally, the algorithm has a competitive ratio of $$\frac{e-1}{e}r$$ e - 1 e r , if $$r \le 1$$ r ≤ 1 , and $$\frac{e-r}{e}r$$ e - r e r , if $$1 \le r < e$$ 1 ≤ r < e . Any algorithm with a better competitive ratio for some $$r<1$$ r < 1 will have a worse competitive ratio for some $$r>1$$ r > 1 . To obtain a positive competitive ratio for all r, we adjust the algorithm, resulting in a competitive ratio of $$\frac{1}{2r}$$ 1 2 r for $$r\ge 1$$ r ≥ 1 and $$\frac{r}{2}$$ r 2 for $$r\le 1$$ r ≤ 1 . We show that improving the result for any $$r< 1$$ r < 1 leads to a worse result for some $$r>1$$ r > 1 .
No abstract
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.