Skip to main content
Log in

Approximation Algorithms for Multiprocessor Scheduling with Testing to Minimize the Total Job Completion Time

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

In offline scheduling models, jobs are given with their exact processing times. In their online counterparts, jobs arrive in sequence together with their processing times and the scheduler makes irrevocable decisions on how to execute each of them upon its arrival. We consider a semi-online variant which has equally rich application background, called scheduling with testing, where the exact processing time of a job is revealed only after a required testing operation is finished, or otherwise the job has to be executed for a given possibly over-estimated length of time. For multiprocessor scheduling with testing to minimize the total job completion time, we present several first approximation algorithms with constant competitive ratios for various settings, including a \(2 \varphi \)-competitive algorithm for the non-preemptive general testing case and a \((0.0382 + 2.7925 (1 - \frac{1}{2\,m}))\)-competitive randomized algorithm, when the number of machines \(m \ge 37\) or otherwise 2.7925-competitive, where \(\varphi = (1 + \sqrt{5}) / 2 < 1.6181\) is the golden ratio and m is the number of machines, a \((3.5 - \frac{3}{2\,m})\)-competitive algorithm allowing job preemption when \(m \ge 3\) or otherwise 3-competitive, and a \((\varphi + \frac{\varphi + 1}{2} (1 - \frac{1}{\,}m))\)-competitive algorithm for the non-preemptive uniform testing case when \(m \ge 5\) or otherwise \((\varphi + 1)\)-competitive. Our results improve three previous best approximation algorithms for the single machine scheduling with testing problems, respectively.

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
Fig. 3
Fig. 4

Similar content being viewed by others

Data availibility statement

None.

Notes

  1. In the fully online case, the jobs arrive in sequence.

  2. The authors of [2] in fact examined the more restricted test-preemptive variant in which both testing operations and execution operations are non-preemptive, but for tested job its execution operation does not have to immediately follow the testing operation, nor does it have to be processed on the same machine. Their 2-competitive Threshold algorithm is designed for such a variant, assumed with access to unlimited computational power. Without the access assumption their algorithm is a polynomial-time \((2 + \epsilon )\)-competitive algorithm for any \(\epsilon > 0\).

  3. In the 4-competitive (1, 1)-SORT algorithm, the operations of \(\mathcal {U}\) and \(\mathcal {E}\) are merged in one set and maintained in the non-decreasing order of their processing times.

  4. We integrate such a weighting scheme from the 4-competitive (1, 1)-SORT algorithm, which uses the processing time of an operation of \(\mathcal {U}\cup \mathcal {E}\) to determine their definition of the shortest operation.

References

  1. Albers, S., Eckl, A.: Explorable uncertainty in scheduling with non-uniform testing times. In: Proceedings of WAOA 2020, LNCS 12806, pp. 127–142 (2020). A full version appears as arXiv:2009.13316 in Computing Research Repository

  2. Albers, S., Eckl, A.: Scheduling with testing on multiple identical parallel machines. In: Proceedings of WADS 2021, LNCS 12808, pp. 29–42 (2021). A full version appears as arXiv:2105.02052 in Computing Research Repository

  3. Bruce, R., Hoffmann, M., Krizanc, D., Raman, R.: Efficient update strategies for geometric computing with uncertainty. Theory Comput. Syst. 38, 411–423 (2005)

    Article  MathSciNet  Google Scholar 

  4. Conway, R.W., Maxwell, W.L., Miller, L.W.: Theory of Scheduling. Addison-Wesley Co., Reading (1967)

    Google Scholar 

  5. Dufossé, F., Dürr, C., Nadal, N., Trystram, D., Vásquez, Ó.C.: Scheduling with a processing time oracle. Appl. Math. Model. 104, 701–720 (2022)

    Article  MathSciNet  Google Scholar 

  6. Dürr, C., Erlebach, T., Megow, N., Meißner, J.: Scheduling with explorable uncertainty. In: Proceedings of ITCS 2018, LIPIcs 94, pp. 30:1–30:14 (2018)

  7. Dürr, C., Erlebach, T., Megow, N., Meißner, J.: An adversarial model for scheduling with testing. Algorithmica 82, 3630–3675 (2020)

    Article  MathSciNet  Google Scholar 

  8. Dwibedy, D., Mohanty, R.: Online list scheduling for makespan minimization: a review of the state-of-the-art results, research challenges and open problems. ACM SIGACT News 53, 84–105 (2022)

    Article  MathSciNet  Google Scholar 

  9. Eastman, W.L., Even, S., Isaacs, I.M.: Bounds for the optimal scheduling of \(n\) jobs on \(m\) processors. Manag. Sci. 11, 268–279 (1964)

    Article  MathSciNet  Google Scholar 

  10. Feder, T., Motwani, R., Panigrahy, R., Olston, C., Widom, J.: Computing the median with uncertainty. SIAM J. Comput. 32, 538–547 (2003)

    Article  MathSciNet  Google Scholar 

  11. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman and Company, San Francisco (1979)

    Google Scholar 

  12. Gong, M., Goebel, R., Lin, G., Miyano, E.: Improved approximation algorithms for non-preemptive multiprocessor scheduling with testing. J. Comb. Optim. 44, 877–893 (2022)

    Article  MathSciNet  Google Scholar 

  13. Gong, M., Lin, G.: Improved approximation algorithms for multiprocessor scheduling with testing. In: Proceedings of FAW 2021, LNCS 12874, pp. 65–77 (2021)

  14. Graham, R.L.: Bounds for certain multiprocessing anomalies. Bell Labs Tech. J. 45, 1563–1581 (1966)

    Article  Google Scholar 

  15. Gupta, M., Sabharwal, Y., Sen, S.: The update complexity of selection and related problems. In: IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2011), LIPIcs 13, pp. 325–338 (2011)

  16. Kahan, S.: A model for data in motion. In: Proceedings of the Twenty-Third Annual ACM Symposium on Theory of Computing (STOC’91), pp. 265–277 (1991)

  17. Khanna, S., Tan, W.C.: On computing functions with uncertainty. In: Proceedings of the 20th ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS 2001), pp. 171–182 (2001)

  18. Levi, R., Magnanti, T., Shaposhnik, Y.: Scheduling with testing. Manag. Sci. 65, 776–793 (2019)

    Article  Google Scholar 

  19. Olston, C., Widom, J.: Offering a precision-performance tradeoff for aggregation queries over replicated data. In: The 26th International Conference on Very Large Data Bases (VLDB 2000), pp. 144–155 (2000)

  20. Pinedo, M.: Scheduling: Theory, Algorithm and Systems, 5th edn. Springer, New York (2016)

    Book  Google Scholar 

Download references

Acknowledgements

The authors are grateful to the reviewers for their many insightful comments and suggestions that greatly improve the presentation. This research is supported by the NSERC Canada and the Grant-in-Aid for Scientific Research of the Ministry of Education, Science, Sports and Culture of Japan Grant No. 18K11183.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kuniteru Hayashi.

Ethics declarations

Conflict of interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Gong, M., Chen, ZZ. & Hayashi, K. Approximation Algorithms for Multiprocessor Scheduling with Testing to Minimize the Total Job Completion Time. Algorithmica 86, 1400–1427 (2024). https://doi.org/10.1007/s00453-023-01198-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-023-01198-w

Keywords

Navigation