Skip to main content
Log in

Computational complexity and algorithms for two scheduling problems under linear constraints

  • Published:
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

This paper considers two different types of scheduling problems under linear constraints. The first is the single-machine scheduling problem with minimizing total completion time, while the second is the no-wait two-machine flow shop scheduling problem with minimizing makespan. For these two problems, a set of jobs is required to be scheduled to one or two machines. In contrast to the classic scheduling problems, the processing times of jobs are not fixed constants and are not predetermined. The decision-maker only knows that they should satisfy a system of given linear constraints. For both problems, the goal is to determine the processing time for each job and find the schedule that minimizes a particular criterion, namely, the total completion time or the makespan. First, we study the computational complexity and show that both the problems under linear constraints are NP-hard. These hardness results significantly differ from their traditional scheduling counterparts, as both of those are solvable in polynomial time. Then we propose polynomial time exact or approximation algorithms for various special cases. By utilizing the existing scheduling algorithms and the properties of linear programming, we demonstrate that both problems are polynomially solvable when the total number of linear constraints is a fixed constant.

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.

Algorithm 1
Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Algorithm 2
Algorithm 3

Similar content being viewed by others

Data availability

Enquiries about data availability should be directed to the authors.

References

  • Abdalkareem ZA, Amir A, Al-Betar MA, Ekhan P, Hammouri AI (2021) Healthcare scheduling in optimization context: a review. Health Technol 11(3):445–469

    Article  Google Scholar 

  • Benson HP (1995) Concave minimization: theory, applications and algorithms. In: Horst R, Pardalos PM (eds) Handbook of Global Optimization. Springer, Boston, pp 43–148

    Chapter  Google Scholar 

  • Bruno JL, Coffman EG Jr, Sethi R (1974) Scheduling independent tasks to reduce mean finishing time. Commun ACM 17(7):382–387

    Article  MathSciNet  Google Scholar 

  • Conway RW, Maxwell W, Miller L (1967) Theory of scheduling. Reading

  • Dinur I, Safra S (2005) On the hardness of approximating minimum vertex cover. Ann Math 162(1):439–485

    Article  MathSciNet  Google Scholar 

  • Emmons H, Vairaktarakis G (2013) Flow shop scheduling: theoretical results, algorithms, and applications. Springer Science+Business Media, New York

    Book  Google Scholar 

  • Garey MR, Johnson DS (1979) Computers and intractability: a guide to the theory of NP-completeness. Freeman, New York

    Google Scholar 

  • Garey MR, Johnson DS, Sethi R (1976) The complexity of flowshop and jobshop scheduling. Math Oper Res 1:117–129

    Article  MathSciNet  Google Scholar 

  • Gilmore C, Gomory RE (1964) Sequencing a one state-variable machine: a solvable case of the travelling salesman problem. Oper Res 12:655–679

    Article  Google Scholar 

  • Graham R, Lawler E, Lenstra J, Kan A (1979) Optimization and approximation in deterministic sequencing and scheduling: a survey. Ann Discrete Math 5(1):287–326

    Article  MathSciNet  Google Scholar 

  • Hall LA (1998) Approximability of flow shop scheduling. Math Program 82:175–190

    Article  MathSciNet  Google Scholar 

  • Hall NG, Sriskandarajah C (1996) A survey of machine scheduling problems with blocking and no-wait in process. Oper Res 44(3):510–525

    Article  MathSciNet  Google Scholar 

  • Johnson SM (1954) Optimal two- and three-stage production schedules with setup times included. Naval Res Logist Q 1:61–68

    Article  Google Scholar 

  • Khot S, Regev O (2008) Vertex cover might be hard to approximate to within \(2-\epsilon \). J Comput Syst Sci 74(3):335–349

    Article  MathSciNet  Google Scholar 

  • Lawler J, Johnson E, Lenstra J, Rinnooy Kan A, Shmoys D (1977) The complexity of machine scheduling problems. Ann Discrete Math 1:343–362

    Article  MathSciNet  Google Scholar 

  • Luenberger DG, Ye Y (2016) Linear and nonlinear programming, 4th edn. Springer, Berlin

    Book  Google Scholar 

  • Nip K, Shi T, Wang Z (2022) Some graph optimization problems with weights satisfying linear constraints. J Comb Optim 43:200–225

    Article  MathSciNet  Google Scholar 

  • Nip K, Wang Z (2019) Two-machine flow shop scheduling problem under linear constraints. In: Li Y, Cardei M, Huang Y (eds) Combinatorial optimization and applications (COCOA19). pp 400–411

  • Nip K, Wang Z (2021) A complexity analysis and algorithms for two-machine shop scheduling problems under linear constraints. J Sched

  • Nip K, Wang Z, Shi T (2019) Some graph optimization problems with weights satisfying linear constraints. In: Li Y, Cardei M, Huang Y (eds) COCOA 2019 (The 13th annual international conference on combinatorial optimization and applications), LNCS, vol 11949. Springer, pp 412–424

  • Nip K, Wang Z, Wang Z (2016) Scheduling under linear constraints. Eur J Oper Res 253(2):290–297

    Article  MathSciNet  Google Scholar 

  • Nip K, Wang Z, Wang Z (2017) Knapsack with variable weights satisfying linear constraints. J Glob Optim 69(3):713–725

    Article  MathSciNet  Google Scholar 

  • Ogryczak W, Śliwiński T (2003) On solving linear programs with the ordered weighted averaging objective. Eur J Oper Res 148(1):80–91

    Article  MathSciNet  Google Scholar 

  • Ogryczak W, Śliwiński T (2010) On solving optimization problems with ordered average criteria and constraints. In: Lodwick WA, Kacprzyk J (eds) Fuzzy optimization: recent advances and applications. Springer, Berlin, pp 209–230

    Chapter  Google Scholar 

  • Pinedo M (2022) Scheduling: theory, algorithms, and systems, 6th edn. Springer, New York

    Book  Google Scholar 

  • Sahni S, Cho Y (1979) Complexity of scheduling shops with no wait in process. Math Oper Res 4(4):448–457

    Article  MathSciNet  Google Scholar 

  • Smith W (1956) Various optimizers for single-stage production. Naval Res Logist Q 3:59–66

    Article  MathSciNet  Google Scholar 

  • Vazirani VV (2001) Approximation algorithms. Springer, Berlin

    Google Scholar 

  • Wang Z, Nip K (2017) Bin packing under linear constraints. J Comb Optim 34(5):1198–1209

    Article  MathSciNet  Google Scholar 

  • Williamson DP, Shmoys DB (2011) The design of approximation algorithms. Cambridge University Press, New York

    Book  Google Scholar 

  • Yager RR (1988) On ordered weighted averaging aggregation operators in multicriteria decision making. IEEE Trans Syst Man Cybern 18(1):183–190

    Article  Google Scholar 

  • Yager RR (1996) Constrained OWA aggregation. Fuzzy Sets Syst 81(1):89–101

    Article  MathSciNet  Google Scholar 

  • Zhang S, Nip K, Wang Z (2018) Related machine scheduling with machine speeds satisfying linear constraints. In: Kim D (eds) COCOA 2018 (The 12th annual international conference on combinatorial optimization and applications), LNCS, vol 11346. Springer, Switzerland, pp 314–328

  • Zhang S, Nip K, Wang Z (2022) Related machine scheduling with machine speeds satisfying linear constraints. J Comb Optim 44(3):1724–1740

    Article  MathSciNet  Google Scholar 

Download references

Funding

This research work is partially supported by the Natural Science Foundation of Fujian Province of China (Grant No. 2021J05011) and the Fundamental Research Funds for the Central Universities of Xiamen University (Grant No. 20720210033).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kameng Nip.

Ethics declarations

Competing interests

The authors have not disclosed any competing interests.

Additional information

Publisher's Note

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

A preliminary version of this paper has appeared in IJTCS-FAW 2023, LNCS, vol. 13933, pp. 58–70, 2023. This work was done while the first author was working at Xiamen University, and the second author was a graduate student under the supervision of the first author.

Inapproximability of the SSLC problem

Inapproximability of the SSLC problem

In this appendix, we demonstrate that based on some complexity assumptions, we are able to show that the problem (3) might not be approximated within some constant factor under some assumption. First, we state some known properties of the increasing ordered weighted average function (3a) in problem (3).

Theorem A.1

(Ogryczak and Śliwiński 2003, Ogryczak and Śliwiński 2010, Theorem 3) The objective function (3a) is a piecewise linear concave function of \(\varvec{x}\).

By Theorem A.1, the problem (3) is a concave minimization problem under linear constraints. It is well-known that such problem always has a globally optimal solution at its extreme point. By the assumption of the constraints \(A\varvec{x}\ge \varvec{b}\), \(\varvec{x}\ge 0\), and the objective function (3a) is bounded from below over \(\varvec{x}\ge 0\), we have the following statement.

Theorem A.2

(Benson 1995, Section 4) The concave minimization problem (3) always has an optimal solution which is an extreme point of the polyhedron defined by the constraints (3b) and (3c).

Now we present a gap-preserving reduction from the unweighted vertex cover to the problem (3). The hardness result is described as Theorem A.3.

Theorem A.3

Suppose that the (unweighted) vertex cover problem cannot be approximated within a constant factor of \(\rho \) (\(1< \rho < 2\)), then problem (3) does not admit any approximation algorithms with a factor of \(\rho ^2/2 -\epsilon \) for any \(\epsilon >0\).

Proof

Given an instance of the vertex cover problem with \(G = (V,E)\), \(|V| = n\) and \(|E| = m\), an integer K. We construct an instance of problem (3) with n jobs and m linear constraints:

$$\begin{aligned}&x_u + x_v \ge 1,&~~\forall (u, v) \in E,\end{aligned}$$
(A.1a)
$$\begin{aligned}&\varvec{x} \ge 0, \end{aligned}$$
(A.1b)

where \(x_u\) corresponds to the vertex \(u\in V\). We show that (1) if the vertex cover instance has a vertex cover with size at most K, then there is a feasible solution to (A.1) with objective value at most \(\frac{K(K+1)}{2}\); (2) if all the vertex covers of the instance have size at least \(\rho K\), then all the feasible solutions to (A.1) must have objective value at least \(\frac{\rho K(\rho K+1)}{4}\)

For the first direction, let \(V'\) be the vertex cover, we set \(x_u=1\) for each \(u\in V'\) and 0 otherwise. Since the vertex cover has size at most K, the objective value is at most \(K+(K-1)+\cdots +1 \le \frac{K(K+1)}{2}\).

Next, we prove the second direction by contradiction. Suppose that there exists a feasible solution to (A.1) with an objective value less than \(\frac{\rho K(\rho K+1)}{4}\). By Theorem A.2, there is an extreme point of (A.1) which has objective value less than \(\frac{\rho K(\rho K+1)}{4}\). Note that any extreme point for the polyhedron defined by vertex cover constraints (A.1) is half-integral, that is, must have value 0, 1/2, or 1 for each variable (see, e.g., Vazirani 2001, Section 14.3). Thus, we can find a half-integral solution to (A.2) which has an objective value less than \(\frac{\rho K(\rho K+1)}{4}\). Let \(K'\) be the total number of variables with positive values, and \(\varTheta _1(\varvec{x}), \ldots , \varTheta _{K'}(\varvec{x})\) be the values of those variables where \(\varTheta _1(\varvec{x}) \le \cdots \le \varTheta _{K'}(\varvec{x})\). Then the objective value of this solution is \(K'\varTheta _{1}(\varvec{x})+(K'-1)\varTheta _{2}(\varvec{x})+\cdots \varTheta _{K'}(\varvec{x}) < \frac{\rho K(\rho K+1)}{4}\). Now we select all these \(K'\) vertices corresponding to the variables with positive values. These vertices constitute a vertex cover with size exactly \(K'\), since the constraints (A.1a) are satisfied. The half-intergality of the solution implies that \(2\varTheta _{i}(\varvec{x})) \ge 1\) for each \(i\in \{1, \ldots , K'\}\). Thus we have \(\frac{K'(K'+1)}{2} = K' + (K'-1) + \cdots + 1 \le 2(K'\varTheta _1(\varvec{x})+(K'-1)\varTheta _{2}(\varvec{x})+\cdots \varTheta _{K'}(\varvec{x})) < \frac{\rho K(\rho K+1)}{2}\). Note that \(K'\) is a nonnegative integer, it follows that \(K' < \rho K\) as otherwise \(\frac{K'(K'+1)}{2} \ge \frac{\rho K(\rho K+1)}{2}\). Therefore, we can find a vertex cover with size less than \(\rho K\), which contradicts to the previous assumption that all the vertex covers of the instance have a size of at least \(\rho K\).

Assume that problem (3) admits a \((\rho ^2/2 -\epsilon )\)-approximation algorithm for some \(\epsilon >0\). If \(K+1 \le \frac{\rho ^2-\rho }{2\epsilon } \), then we can simply apply a brute-force enumeration in polynomial time (since \(\rho \) and \(\epsilon \) are fixed constants) and distinguish whether the instance has a vertex cover with size at most K or all the vertex covers must have size at least \(\rho K\). Now we assume that \(K +1 > \frac{\rho ^2-\rho }{2\epsilon } \). We can use the \((\rho ^2/2 -\epsilon )\)-approximation algorithm distinguish the instance of the SSLC problem with objective value at most \(\frac{K(K+1)}{2}\) or at least \(\frac{K(K+1)}{2}\left( \frac{\rho ^2}{2} -\epsilon \right) \). Note that \(\frac{K(K+1)}{2}\left( \frac{\rho ^2}{2} -\epsilon \right) <\frac{K(K+1)}{2}\left( \frac{\rho ^2}{2} -\frac{\rho ^2-\rho }{2(K+1)}\right) = \frac{\rho K(\rho K+1)}{4}\), and thus we can use this approximation algorithm to distinguish a vertex cover problem instance with size at most K or at least \(\rho K\) by the reduction above, which leads to a contradiction. Therefore, we can conclude that problem (3) does not have a \((\rho ^2/2 -\epsilon )\)-approximation algorithm for any \(\epsilon >0\), provided that the (unweighted) vertex cover problem does not have a \(\rho \)-approximation algorithm. \(\Box \)

It is well-known that based on the unique games conjecture, the vertex cover is hard to approximate within \(2-\epsilon \) for any \(\epsilon \) (Khot and Regev 2008). As a corollary, problem (3) also has the inapproximability result based on the unique game conjecture.

Corollary A.1

Under the unique 2-prover-1-round game conjecture, problem (3) is hard to be approximated with any factor better than 2.

We remark that under the assumption \(P \ne NP\), the currently best inapproximability result for vertex cover is \(\rho = 1.3606\) for sufficiently large vertex degree (Dinur and Safra 2005). However, \(1.3606^2/2\approx 0.926<1\) and hence we cannot obtain any inapproximability result better than Theorem 1 from the reduction in Theorem A.3 based on \(P \ne NP\).

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

Nip, K., Xie, P. Computational complexity and algorithms for two scheduling problems under linear constraints. J Comb Optim 47, 55 (2024). https://doi.org/10.1007/s10878-024-01122-0

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10878-024-01122-0

Keywords

Navigation