skip to main content
article

A Constant Factor Approximation Algorithm for the Storage Allocation Problem

Published: 01 April 2017 Publication History

Abstract

We study the storage allocation problem (SAP) which is a variant of the unsplittable flow problem on paths (UFPP). A SAP instance consists of a path $$P = (V,E)$$P=(V,E) and a set J of tasks. Each edge $$e \in E$$e E has a capacity $$c_e$$ce and each task $$j \in J$$j J is associated with a path $$I_j$$Ij in P, a demand $$d_j$$dj and a weight $$w_j$$wj. The goal is to find a maximum weight subset $$S \subseteq J$$S⊆J of tasks and a height function $$h:S \rightarrow \mathbb {R}^+$$h:S R+ such that (i) $$h(j)+d_j \le c_e$$h(j)+dj≤ce, for every $$e \in I_j$$e Ij; and (ii) if $$j,i \in S$$j,i S such that $$I_j \cap I_i \ne \emptyset $$Ij Ii and $$h(j) \ge h(i)$$h(j) h(i), then $$h(j) \ge h(i) + d_i$$h(j) h(i)+di. SAP can be seen as a rectangle packing problem in which rectangles can be moved vertically, but not horizontally. We present a polynomial time $$(9+\varepsilon )$$(9+ )-approximation algorithm for SAP. Our algorithm is based on a variation of the framework for approximating UFPP by Bonsma et al. [FOCS 2011] and on a $$(4+\varepsilon )$$(4+ )-approximation algorithm for $$\delta $$ -small SAP instances (in which $$d_j \le \delta \cdot c_e$$dj≤ ce, for every $$e \in I_j$$e Ij, for a sufficiently small constant $$\delta >0$$ >0). In our algorithm for $$\delta $$ -small instances, tasks are packed carefully in strips in a UFPP manner, and then a $$(1+\varepsilon )$$(1+ ) factor is incurred by a reduction from SAP to UFPP in strips. The strips are stacked to form a SAP solution. Finally, we provide a $$(10+\varepsilon )$$(10+ )-approximation algorithm for SAP on ring networks.

References

[1]
Anagnostopoulos, A., Grandoni, F., Leonardi, S., Wiese, A.: Constant integrality gap LP formulations of unsplittable flow on a path. In: 16th International Integer Programming and Combinatorial Optimization Conference, volume 7801 of LNCS, pp. 25---36 (2013)
[2]
Anagnostopoulos, A., Grandoni, F., Leonardi, S., Wiese, A.: A mazing $$(2+\varepsilon )$$(2+¿)-approximation for unsplittable flow on a path. In: 25th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 26---41 (2014)
[3]
Bansal, N., Chakrabarti, A., Epstein, A., Schieber, B.: A quasi-ptas for unsplittable flow on line graphs. In: 38th Annual ACM Symposium on the Theory of Computing, pp. 721---729 (2006)
[4]
Bansal, N., Friggstad, Z., Khandekar, R., Salavatipour, M.R.: A logarithmic approximation for unsplittable flow on line graphs. ACM Trans. Algorithms 10(1), 1 (2014)
[5]
Bar-Noy, A., Bar-Yehuda, R., Freund, A., Naor, J., Shieber, B.: A unified approach to approximating resource allocation and scheduling. J. ACM 48(5), 1069---1090 (2001)
[6]
Bar-Yehuda, R., Beder, M., Cohen, Y., Rawitz, D.: Resource allocation in bounded degree trees. Algorithmica 54(1), 89---106 (2009)
[7]
Bar-Yehuda, R., Beder, M., Rawitz, D.: A constant factor approximation algorithm for the storage allocation problem. In: 25th ACM Symposium on Parallelism in Algorithms and Architectures, pp. 204---213 (2013)
[8]
Bar-Yehuda, R., Even, S.: A local-ratio theorem for approximating the weighted vertex cover problem. Ann. Discret. Math. 25, 27---46 (1985)
[9]
Batra, J., Garg, N., Kumar, A., Mömke, T., Wiese, A.: New approximation schemes for unsplittable flow on a path. In: 26th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 47---58 (2015)
[10]
Bonsma, P.S., Schulz, J., Wiese, A.: A constant-factor approximation algorithm for unsplittable flow on paths. SIAM J. Comput. 43(2), 767---799 (2014)
[11]
Buchsbaum, A.L., Efrat, A., Jain, S., Venkatasubramanian, S., Yi, K.: Restricted strip covering and the sensor cover problem. Technical report. arXiv:cs/0605102v1. CoRR (2008)
[12]
Buchsbaum, A.L., Karloff, H., Kenyon, C., Reingold, N., Thorup, M.: OPT versus LOAD in dynamic storage allocation. SIAM J. Comput. 33(3), 632---646 (2004)
[13]
Calinescu, G., Chakrabarti, A., Karloff, H.J., Rabani, Y.: Improved approximation algorithms for resource allocation. In: 9th International Integer Programming and Combinatorial Optimization Conference, vol. 2337 of LNCS, pp. 401---414 (2002)
[14]
Chakrabarti, A., Chekuri, C., Gupta, A., Kumar, A.: Approximation algorithms for the unsplittable flow problem. Algorithmica 47(1), 53---78 (2007)
[15]
Chekuri, C., Ene, A., Korula, N.: Unsplittable flow in paths and trees and column-restricted packing integer programs. http://www.cs.princeton.edu/aene/papers/ufp-full.pdf
[16]
Chekuri, C., Ene, A., Korula, N.: Unsplittable flow in paths and trees and column-restricted packing integer programs. In: 12th International Workshop on Approximation Algorithms for Combinatorial Optimization Problems, vol. 5687 of LNCS, pp. 42---55 (2009)
[17]
Chekuri, C., Mydlarz, M., Shepherd, F.B.: Multicommodity demand flow in a tree and packing integer programs. ACM Trans. Algorithms 3(3), 1---23 (2007)
[18]
Chen, B., Hassin, R., Tzur, M.: Allocation of bandwidth and storage. IIE Trans. 34, 501---507 (2002)
[19]
Chrobak, M., Woeginger, G.J., Makino, K., Xu, H.: Caching is hard--even in the fault model. Algorithmica 63(4), 781---794 (2012)
[20]
Erlebach, T., Jansen, K.: The complexity of path coloring and call scheduling. Theor. Comput. Sci. 255(1---2), 33---50 (2001)
[21]
Frieze, A.M., Clarke, M.R.B.: Approximation algorithms for the $$m$$m-dimensional $$0-1$$0-1 knapsack problem: worst-case and probabilistic analyses. Eur. J. Oper. Res. 15, 100---109 (1984)
[22]
Friggstad, Z., Gao, Z.: On linear programming relaxations for unsplittable flow in trees. In: 18th International Workshop on Approximation Algorithms for Combinatorial Optimization Problems, vol. 40 of LIPIcs, pp. 265---283 (2015)
[23]
Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman and Company, New York (1979)
[24]
Gergov, J.: Algorithms for compile-time memory optimization. In: 10th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 907---908 (1999)
[25]
Golumbic, M.C.: Algorithmic Graph Theory and Perfect Graphs. Academic Press, Cambridge (1980)
[26]
Leonardi, S., Marchetti-Spaccamela, A., Vitaletti, A.: Approximation algorithms for bandwidth and storage allocation problems under real time constraints. In: 20th Conference on Foundations of Software Technology and Theoretical Computer Science, vol. 1974 of LNCS, pp. 409---420 (2000)
[27]
Matula, D.W., Beck, L.L.: Smallest-last ordering and clustering and graph coloring algorithms. J. ACM 30(3), 417---427 (1983)
[28]
Mömke T., Wiese A., A $$(2+\epsilon )$$(2+∈)-approximation algorithm for the storage allocation problem. In: 42nd Annual International Colloquium on Automata, Languages, and Programming, vol. 9134 of LNCS, pp. 973---984 (2015)

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Algorithmica
Algorithmica  Volume 77, Issue 4
April 2017
332 pages

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 01 April 2017

Author Tags

  1. Approximation algorithms
  2. Bandwidth allocation
  3. Rectangle packing
  4. Storage allocation
  5. Unsplittable flow

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 06 Nov 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media