[Paper Review] Scheduling with two non-unit task lengths is NP-complete
This paper proves that non-preemptive single-machine scheduling with two non-unit job lengths and release times/deadlines is strongly NP-complete, resolving an open problem. The proof uses a polynomial-time reduction from Boolean satisfiability to an auxiliary scheduling problem with paired jobs having early/late deadlines, which is then mapped to the original problem via job length transformations, showing intractability even for fixed non-unit lengths.
The non-preemptive job scheduling problem with release times and deadlines on a single machine is fundamental to many scheduling problems. We parameterize this problem by the set of job lengths the jobs can have. The case where all job lengths are identical is known to be solvable in polynomial time. We prove that the problem with two job lengths is NP-complete, except for the case in which the short jobs have unit job length, which was already known to be efficiently solvable. The proof uses a reduction from satisfiability to an auxiliary scheduling problem that includes a set of paired jobs that each have both an early and a late deadline, and of which at least one should be scheduled before the early deadline. This reduction is enabled by not only these pairwise dependencies between jobs, but also by dependencies introduced by specifically constructed sets of jobs which have deadlines close to each other. The auxiliary scheduling problem in its turn can be reduced to the scheduling problem with two job lengths by representing each pair of jobs with two deadlines by four different jobs.
Motivation & Objective
- To resolve the open problem of the computational complexity of non-preemptive single-machine scheduling with exactly two non-unit job lengths.
- To establish that the problem remains NP-complete even when the job lengths are fixed integers greater than one.
- To demonstrate that the case with unit and non-unit job lengths is the only tractable case, contrasting with prior claims of pseudo-polynomial solvability for {q,2q}.
- To formalize and prove the NP-completeness of an auxiliary scheduling problem involving paired jobs with early/late deadlines.
Proposed method
- Reduction from Boolean satisfiability (SAT) to an auxiliary scheduling problem (AUX(p,q)) where each job pair must have at least one job scheduled before its early deadline.
- Construction of job blocks with specific release times, deadlines, and processing times to encode logical dependencies between variables and clauses.
- Use of paired pending jobs and delayed scheduling blocks to enforce that a literal's truth value is determined by whether its pending job completes early or late.
- Transformation of each job pair in AUX(p,q) into four jobs with lengths p and q to map the auxiliary problem to the original scheduling problem with two fixed non-unit lengths.
- Proof that the auxiliary problem is NP-complete via SAT reduction, and that it is polynomial-time reducible to the original problem.
- Use of structural constraints—such as idle time propagation and deadline alignment—to ensure that only satisfying SAT assignments yield feasible schedules.
Experimental results
Research questions
- RQ1Is the non-preemptive single-machine scheduling problem with two fixed non-unit job lengths NP-complete?
- RQ2Can the {1,p} case be generalized to {q,p} with q>1 while preserving tractability?
- RQ3Does the presence of non-unit short job lengths fundamentally alter the problem's complexity compared to the unit-length case?
- RQ4Is there a pseudo-polynomial algorithm for the {q,2q} case, as previously claimed?
- RQ5Can the scheduling problem with two non-unit job lengths be reduced to a known tractable form?
Key findings
- The scheduling problem with two non-unit job lengths p > q > 1 is strongly NP-complete, resolving an open problem in scheduling theory.
- The proof shows that even with fixed, constant job lengths greater than one, the problem remains computationally intractable.
- The auxiliary problem AUX(p,q), involving paired jobs with early and late deadlines, is proven to be NP-complete via a SAT reduction.
- The reduction from AUX(p,q) to the original problem is polynomial and preserves feasibility, establishing the NP-completeness of the original problem.
- The result contradicts prior claims of pseudo-polynomial solvability for the {q,2q} case, showing such algorithms cannot exist unless P=NP.
- The only tractable case is when one job length is unit (1), as the {1,p} case allows a linear programming formulation that treats unit jobs as effectively preemptive.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.