Abstract
We consider problem \(P2 || C_{\max }\) where the goal is to schedule n jobs on two identical parallel machines to minimize the makespan. We focus on constant factor approximation algorithms with complexity independent from the required accuracy. We exploit the famous Longest Processing Time (LPT) rule that requires to sort jobs in non-ascending order of processing times and then to assign one job at a time to the machine whose load is smallest so far. We propose an approximation algorithm that applies LPT to a subset of 2k jobs, then considers a single step of local search on the obtained subschedule and finally applies list scheduling to the remaining jobs. This algorithm, when applied for \(k=5\), reaches a tight \(\frac{13}{12}\)-approximation ratio improving the ratio of \(\frac{12}{11}\) proposed by He et al. (Nav Res Logist 47:593–601, 2000). We use Mathematical Programming to analyze the approximation ratio of our approach. As a byproduct, we also show how to improve the FPTAS of Sahni for any \(n > 1/\epsilon \) so as to reach an approximation ratio \((1 + \epsilon )\) with time complexity \(O(n + \frac{1}{\epsilon ^3})\).
Similar content being viewed by others
Notes
All LPTs with related optimal sequences, the generation code of model (1)–(14) embedding the extended linear formulation of constraints (10)–(12) and taking in input a given pair \(S_i^{LPT}\), \(S_j^{OPT}\) and the MILP model to which corresponds the worst-case instance are available at: https://drive.google.com/open?id=1IdII7LoSHhYPbmupRCTpThnmuSt-35gi.
References
Abolhassani M, Chan HT-H, Chen F, Esfandiari H, Hajiaghayi M, Hamid M, Wu X (2016) Beating ratio 0.5 for weighted oblivious matching problems. In: Sankowski P, Zaroliagis C (ed) 24th annual European symposium on algorithms (ESA 2016), vol 57, pp 3:1–3:18. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik
Alon N, Azar Y, Woeginger GJ, Yadid Y (1998) Approximation schemes for scheduling on parallel machines. J Sched 1:55–66
Blocher JD, Sevastyanov D (2015) A note on the Coffman-Sethi bound for LPT scheduling. J Sched 18:325–327
Blum M, Floyd RW, Pratt V, Rivest RL, Tarjan RE (1973) Time bounds for selection. J Comput Syst Sci 7:448–461
Chen B (1993) A note on LPT scheduling. Oper Res Lett 14:139–142
Chimani M, Wiedera T (2016) An ILP-based proof system for the crossing number problem. In: Sankowski P, Zaroliagis C (eds) 24th annual European symposium on algorithms (ESA 2016), vol 57, pp 29:1–29:13. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik
Coffman EG Jr, Sethi R (1976) A generalized bound on LPT sequencing. Rev Fr d’Automatique Inform Rech Oper Suppl 10:17–25
Coffman EG Jr, Garey MR, Johnson DS (1978) An application of bin-packing to multiprocessor scheduling. SIAM J Comput 7:1–17
Della Croce F, Scatamacchia R (2018) The longest processing time rule for identical parallel machines revisited. J Sched. https://doi.org/10.1007/s10951-018-0597-6
Della Croce F., Pferschy U., Scatamacchia R. (2018) Approximation results for the incremental knapsack problem. In: Combinatorial algorithms: 28th international workshop, IWOCA 2017, vol 10765 of Springer lecture notes in computer science, pp 75–87
Graham RL (1969) Bounds on multiprocessors timing anomalies. SIAM J Appl Math 17:416–429
Graham RL, Lawler EL, Lenstra JK, Rinnooy Kan AHG (1979) Optimization and approximation in deterministic sequencing and scheduling: a survey. Ann Discrete Math 5(C):287–326
Gupta JND, Ruiz-Torres AJ (2001) A listfit heuristic for minimizing makespan on identical parallel machines. Prod Plan Control 12(1):28–36
He Y, Kellerer H, Koto V (2000) Linear compound algorithms for the partitioning problems. Nav Res Logist 47:593–601
Hochbaum DS (ed) (1997) Approximation algorithms for NP-hard problems. PWS Publishing Co., Boston
Hochbaum DS, Shmoys DB (1987) Using dual approximation algorithms for scheduling problems theoretical and practical results. J ACM 34:144–162
Jansen K (2010) An eptas for scheduling jobs on uniform processors: using an milp relaxation with a constant number of integral variables. SIAM J Discrete Math 24:457–485
Jansen K, Klein KM, Verschae J (2017) Improved efficient approximation schemes for scheduling jobs on identical and uniform machines. In: Proceedings of the 13th workshop on models and algorithms for planning and scheduling problems (MAPSP 2017), Seeon Abbey, Germany
Koulamas C, Kyparisis GJ (2008) An improved delayed-start LPT algorithm for a partition problem on two identical parallel machines. Eur J Oper Res 187:660–666
Lee CY, Massey JD (1988) Multiprocessor scheduling: combining LPT and MULTIFIT. Discrete Appl Math 20(3):233–242
Mireault P, Orlin JB, Vohra RV (1997) A parametric worst-case analysis of the LPT heuristic for two uniform machines. Oper Res 45(1):116–125
Sahni S (1976) Algorithms for scheduling independent tasks. J ACM 23:116–127
Walter R (2017) A note on minimizing the sum of squares of machine completion times on two identical parallel machines. Cent Eur J Oper Res 25:139–144
Acknowledgements
This work has been partially supported by “Ministero dell’Istruzione, dell’Università e della Ricerca” Award “TESUN-83486178370409 finanziamento dipartimenti di eccellenza CAP. 1694 TIT. 232 ART. 6”.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix: Extended linear formulation of constraint (10)
Appendix: Extended linear formulation of constraint (10)
A linear formulation of constraint (10) can be expressed by introducing for each pair of jobs i, j the binary variables \(v^\prime _{ij}\), \(v^{\prime \prime }_{ij}\) and \(v^{\prime \prime \prime }_{ij}\). Variable \(v^\prime _{ij}\) is equal to 1 iff \(p_i-p_j \le \frac{\delta }{2}\), variable \(v^{\prime \prime }_{ij}\) is equal to 1 iff \(\frac{\delta }{2} < p_i-p_j \le \delta \) and variable \(v^{\prime \prime \prime }_{ij}\) is equal to 1 iff \( \delta < p_i-p_j\). Correspondingly, \(\forall i < j \; | \; w_{1,i}= w_{2,j} = 1\), the following set of big-M constraints (for a reasonable large value of M, e.g. \(M=1000\)) are introduced.
Indeed, constraint (15) indicates that either \(v^\prime _{ij}=1\), or \(v^{\prime \prime }_{ij}=1\) or \(v^{\prime \prime \prime }_{ij}=1\).
Then, if \(v^\prime _{ij} =1\), constraint (17) implies that \(p_i-p_j\le \frac{\delta }{2}\). Correspondingly, constraints (16, 18, 21) are inactive, while constraint (19) that implies that \(p_i-p_j\le \delta \) is dominated by constraint (17). Hence, the swap induces the makespan reduction \(\hat{\delta } = p_i - p_j\) through constraint (20) in combination with the objective function (1).
Else, if \(v^{\prime \prime }_{ij} = 1\), constraint (16) implies that \(p_i-p_j\ge \frac{\delta }{2}\), while constraint (19) implies that \(p_i-p_j\le \delta \). Also, constraints (17, 18, 20) are inactive. Hence, the binding constraint is in this case constraint (21) that is satisfied as an equality, that is \(\hat{\delta } = \delta - p_i + p_j\). Correspondingly, due to constraint (9), the new makespan will be on machine \(M_2\) and its value in the objective function (1) will be \(C_{max}^{M_2} + p_i - p_j\).
Else, \(v^{\prime \prime \prime }_{ij} = 1\). In this case, constraint (16) induces \(p_i-p_j \ge \frac{\delta }{2}\), and constraint (18) induces \(p_i-p_j \ge \delta \), that is swap will not occur as it can only worsen the objective function value. Besides, constraints (17, 18, 20, 21) are inactive. Correspondingly, as \(\hat{\delta }\) must be positive or null, it has negative coefficient in the objective function and is not further constrained, we have \(\hat{\delta }=0\).
Rights and permissions
About this article
Cite this article
Della Croce, F., Scatamacchia, R. & T’kindt, V. A tight linear time \(\frac{13}{12}\)-approximation algorithm for the \(P2 || C_{\max }\) problem. J Comb Optim 38, 608–617 (2019). https://doi.org/10.1007/s10878-019-00399-w
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10878-019-00399-w