Skip to main content
Log in

Reallocation Problems in Scheduling

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

In traditional on-line problems, such as scheduling, requests arrive over time, demanding available resources. As each request arrives, some resources may have to be irrevocably committed to servicing that request. In many situations, however, it may be possible or even necessary to reallocate previously allocated resources in order to satisfy a new request. This reallocation has a cost. This paper shows how to service the requests while minimizing the reallocation cost. We focus on the classic problem of scheduling jobs on a multiprocessor system. Each unit-size job has a time window in which it can be executed. Jobs are dynamically added and removed from the system. We provide an algorithm that maintains a valid schedule, as long as a schedule with sufficient slack exists. The algorithm reschedules only a total number of \(O(\min \{\log ^*{n}, \log ^*{\varDelta }\})\) jobs for each job that is inserted or deleted from the system, where \(n\) is the number of active jobs and \(\varDelta \) is the size of the largest window.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2

Similar content being viewed by others

Notes

  1. Before you get too skeptical about the motivation, this is exactly what M. F-C’s ophthalmologist does.

  2. At first glance, Lemma 3 seems to contradict the underallocation requirement given in Lemma 8. That lower bound, however, applies to the general case, whereas this lemma applies to the aligned case.

References

  1. Archetti, C., Bertazzi, L., Speranza, M.G.: Reoptimizing the traveling salesman problem. Networks 42(3), 154–159 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  2. Archetti, C., Bertazzi, L., Speranza, M.G.: Reoptimizing the 0–1 knapsack problem. Discrete Appl. Math. 158(17), 1879–1887 (Oct. 2010)

  3. Ausiello, G., Bonifaci, V., Escoffier, B.: Complexity and approximation in reoptimization. In: Cooper, S.B., Sorbi, A. (eds.) Computability in Context: Computation and Logic in the Real World, pp. 101–109. World Scientific, Singapore (2011)

    Chapter  Google Scholar 

  4. Ausiello, G., Escoffier, B., Monnot, J., Paschos, V.T.: Reoptimization of minimum and maximum traveling salesman’s tours. J. Discrete Algorithms 7(4), 453–463 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  5. Awerbuch, B., Azar, Y., Leonardi, S., Regev, O.: Minimizing the flow time without migration. SIAM J. Comput. 31(5), 1370–1382 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  6. Bansal, N., Chan, H.-L., Khandekar, R., Pruhs, K., Stein, C., Schieber, B.: Non-preemptive min-sum scheduling with resource augmentation. In: Proceedings of the 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pp. 614–624 (2007)

  7. Becchetti, L., Leonardi, S., Muthukrishnan, S.: Average stretch without migration. J. Comput. Syst. Sci. 68(1), 80–95 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  8. Bender, M.A., Farach-Colton, M., Fekete, S.P., Fineman, J.T., Gilbert, S.: Reallocation problems in scheduling. In: Proceedings of the 25th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pp. 271–279 (2013)

  9. Bender, M. A., Farach-Colton, M., Fekete, S. P., Fineman, J. T., Gilbert S.: Cost-oblivious storage reallocation. In: Proceedings of the 33rd ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS) (2014)

  10. Bender, M.A., Fineman, J.T., Gilbert S.: A new approach to incremental topological ordering. In: Proceedings of the 20th ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 1108–1115, January (2009)

  11. Bender, M.A., Hu, H.: An adaptive packed-memory array. Trans. Database Syst. 4, 32 (2007)

    Google Scholar 

  12. Bendersky, A., Petrank, E.: Space overhead bounds for dynamic memory management with partial compaction. ACM Trans. Program. Lang. Syst. 34(3), 13 (2012)

    Google Scholar 

  13. Błażewicz, J., Nawrocki, J.: Dynamic storage allocation with limited compaction—complexity and some practical implications. Discrete Appl. Math. 10(3), 241–253 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  14. Böckenhauer, H.-J., Forlizzi, L., Hromkovic, J., Kneis, J., Kupke, J., Proietti, G., Widmayer P.: Reusing optimal TSP solutions for locally modified input instances. In: Proceedings of the 4th IFIP International Conference on Theoretical Computer Science (TCS), pp. 251–270 (2006)

  15. Caprara, A., Galli, L., Kroon, L., Maróti, G., Toth P.: Robust train routing and online re-scheduling. In: Proceedings of the 10th Workshop on Algorithmic Approaches for Transportation Modelling, Optimization, and Systems (ATMOS), vol. 14, pp. 24–33 (2010)

  16. Chiraphadhanakul V., Barnhart C.: Robust flight schedules through slack re-allocation. Submitted (2011)

  17. Cohen N., Petrank E.: Limitations of partial compaction: towards practical bounds. In: Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), pp. 309–320 (2013)

  18. Davis, S., Edmonds, J., Impagliazzo R.: Online algorithms to minimize resource reallocations and network communication. In APPROX-RANDOM, pp. 104–115 (2006)

  19. Fekete, S.P., Kamphans, T., Schweer, N., Tessars, C., van der Veen, J.C., Angermeier, J., Koch, D., Teich, J.: Dynamic defragmentation of reconfigurable devices. ACM Trans. Reconfigurable Technol. Syst. 5(2), 8:1–8:20 (June 2012)

  20. Haeupler, B., Kavitha, T., Mathew, R., Sen, S., Tarjan R.E.: Faster algorithms for incremental topological ordering. In: Proceedings of the 35th International Colloquium on Automata, Languages, and Programming (ICALP), pp. 421–433, July (2008)

  21. Hall N.G., Potts C.N.: Rescheduling for new orders. Oper. Res. 52(3), 440–453 (2004)

  22. Itai, A., Konheim, A.G., Rodeh M.: A sparse table implementation of priority queues. In: Proceedings of the 8th Internationl Colloquium on Automata, Languages, and Programming (ICALP), vol. 115 of Lecture Notes in Computer Science, pp. 417–431 (1981)

  23. Jackson J.: Scheduling a production line to minimize maximum tardiness. Technical Report, Management Science Research Project Research Report 43, University of California, Los Angeles (1955)

  24. Jansen K., Klein K.-M.: A robust afptas for online bin packing with polynomial migration, In: Proceedings of the 40th International Colloquium on Automata, Languages, and Programming (ICALP), pp. 589–600 (2013)

  25. Jiang, H., Barnhart, C.: Dynamic airline scheduling. Transp. Sci. 43(3), 336–354 (2009)

    Article  Google Scholar 

  26. Kalyanasundaram, B., Pruhs, K.: Speed is as powerful as clairvoyance. J. ACM 47, 214–221 (1995)

    MathSciNet  Google Scholar 

  27. Katriel I., Bodlaender H.L.: Online topological ordering. In: Proceedings of the 16th ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 443–450, January (2005)

  28. Knuth, D.E.: The Art of Computer Programming: Fundamental Algorithms, vol. 1, 3rd edn. Addison-Wesley, New York (1997)

    Google Scholar 

  29. Kouvelis, p, Yu, G.: Robust Discrete Optimization and Its Applications. Kluwer, Amsterdam (1997)

    Book  MATH  Google Scholar 

  30. Lan, S., Clarke, J.-P., Barnhart, C.: Planning for robust airline operations: Optimizing aircraft routings and flight departure times to minimize passenger disruptions. Transp. Sci. 40(1), 15–28 (2006)

    Article  Google Scholar 

  31. Luby, M.G., Naor, J., Orda, A.: Tight bounds for dynamic storage allocation. SIAM J. Discret. Math. 9, 155–166 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  32. Mulvey, J.M., Vanderbei, R.J., Zenios S.A.: Robust optimization of large-scale systems. Oper. Res. 43(2), 264–281 (1995)

  33. Phillips, C.A., Stein, C., Torng, E., Wein, J.: Optimal time-critical scheduling via resource augmentation. Algorithmica 32(2), 163–200 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  34. Robson, J.M.: An estimate of the store size necessary for dynamic storage allocation. J. ACM 18(3), 416–423 (July 1971)

  35. Sanders, P., Sivadasan, N., Skutella, M.: Online scheduling with bounded migration. Math. Oper. Res. 34(2), 481–498 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  36. Shachnai, H., Tamir, G., Tamir T.: A theory and algorithms for combinatorial reoptimization. In: Proceedings of the 10th Latin American Theoretical INformatics Symposium (LATIN), pp. 618–630 (2012)

  37. Ting D.W.: Allocation and compaction—a mathematical model for memory management. In: Proceedings of the ACM SIGMETRICS Conference on Computer Performance Modeling Measurement and Evaluation (SIGMETRICS), pp. 311–317 (1976)

  38. Tovey, C.A.: Rescheduling to minimize makespan on a changing number of identical processors. Naval Res. Logist. 33, 717–724 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  39. Unal, A.T., Uzsoy, R., Kiran A.S.: Rescheduling on a single machine with part-type dependent setup times and deadlines. Ann. Oper. Res. 70, 93–113 (1997)

  40. Verschae J.C.: The Power of Recourse in Online Optimization Robust Solutions for Scheduling, Matroid and MST Problems The Power of Recourse in Online Optimization: Robust Solutions for Scheduling, Matroid and MST Problems. PhD thesis, Technischen Universität Berlin, June (2012)

  41. Westbrook, J.: Load balancing for response time. J. Algorithms 35(1), 1–16 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  42. Willard D.: Maintaining dense sequential files in a dynamic environment (extended abstract). In: Proceedings of the 14th Annual Symposium on Theory of Computing (STOC), pp. 114–121 (1982)

  43. Willard D.E.: Good worst-case algorithms for inserting and deleting records in dense sequential files. In: Proceedings of the International Conference on Management of Data (SIGMOD), pp. 251–260 (1986)

  44. Willard, D.E.: A density control algorithm for doing insertions and deletions in a sequentially ordered file in good worst-case time. Inf. Comput. 97(2), 150–204 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  45. Woodall, D.: The bay restaurant-a linear storage problem. Am. Math. Monthly 81(3), 240–246 (1974)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sándor P. Fekete.

Additional information

This research was supported in part by NSF grants IIS 1247726, IIS 1251137, IIS 1247750, CCF 1114930, CCF 1217708, CCF 1114809, CCF 0937822, CCF 1218188, by DFG grant FE407/17-1, and by Singapore NUS FRC R-252-000-443-133. A preliminary version appears in SPAA 2013 [8].

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bender, M.A., Farach-Colton, M., Fekete, S.P. et al. Reallocation Problems in Scheduling. Algorithmica 73, 389–409 (2015). https://doi.org/10.1007/s00453-014-9930-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-014-9930-4

Keywords

Navigation