Papers
Topics
Authors
Recent
Search
2000 character limit reached

Pinwheel Scheduling

Updated 6 July 2026
  • Pinwheel Scheduling is a scheduling problem where each task with period a_i must appear at least once in every a_i consecutive days, using the density D(A)=∑1/a_i as a feasibility criterion.
  • The theory establishes sharp feasibility thresholds—like the 5/6 bound—and utilizes state-space models, folding techniques, and computer-assisted proofs to analyze complex scheduling instances.
  • Variants extend to real periods, matroidal set systems, and optimization problems such as Bamboo Garden Trimming, linking theoretical insights with practical approximation algorithms.

Pinwheel scheduling is a perpetual single-machine scheduling problem in which task ii, with period aia_i, must be executed at least once in every aia_i consecutive time steps. In its standard form, an instance is a finite multiset or ordered tuple of positive integers, one task is scheduled per day, and the central analytical quantity is the density D(A)=i1/aiD(A)=\sum_i 1/a_i. The subject has developed around three main themes: exact feasibility criteria and extremal thresholds, finite-state and complexity-theoretic structure, and a network of variants including covering, finite-horizon, real-period, combinatorial, and optimization forms. Two landmarks now anchor the field: the proof that every integer-period instance with density at most $5/6$ is schedulable, settling the Chan–Chin conjecture, and the first NP-hardness theorem for the classical decision problem (Kawamura, 25 Jun 2026, Kleinberg et al., 15 Apr 2026).

1. Classical formulation and state-space view

A classical pinwheel scheduling instance is given by positive integers A=(a1,,ak)A=(a_1,\ldots,a_k), often arranged in nondecreasing order. A schedule is an infinite sequence over [k]={1,,k}[k]=\{1,\dots,k\}, or equivalently a function S:Z[k]S:\mathbb Z\to [k], with exactly one task executed per day. Validity requires that task ii appear at least once in every contiguous block of aia_i days; in the formulation used by several papers, for every task aia_i0 and every starting day aia_i1, there exists aia_i2 such that aia_i3 (Gąsieniec et al., 2021).

The standard density is

aia_i4

This is a necessary load condition: if aia_i5, then no schedule exists, because at most one task can be executed per day. The condition is not sufficient. Unschedulable families with density at or below aia_i6 are fundamental to the theory; for example, aia_i7 is unschedulable for all aia_i8, and aia_i9 has density aia_i0 but is unschedulable (Kawamura, 25 Jun 2026).

A standard exact model uses a finite directed state graph. One representation stores, at time aia_i1, the vector aia_i2, where aia_i3 is the number of days since task aia_i4 was last executed, with valid states satisfying aia_i5. Another equivalent representation stores remaining waiting times. In either form, an instance is schedulable if and only if the corresponding state graph contains a directed cycle reachable from the initial state; consequently, if an instance is schedulable, then it has a periodic schedule (Gąsieniec et al., 2021).

The literature also uses the name Windows Scheduling for closely related formulations. In the inexact-period version, the time between consecutive executions of job aia_i6 is at most aia_i7; in the exact-period version, it must be exactly aia_i8. For one machine and unit-length jobs, this exact-period model admits a number-theoretic reformulation via Partial Coding (Jacobs et al., 2014).

2. Density theory and sharp schedulability thresholds

Density is the organizing invariant of the classical theory. The long-standing Chan–Chin conjecture asserted that every integer-period instance with density at most aia_i9 is schedulable. This is now a theorem: D(A)=i1/aiD(A)=\sum_i 1/a_i0 The bound is best possible because the family D(A)=i1/aiD(A)=\sum_i 1/a_i1 is unschedulable for all D(A)=i1/aiD(A)=\sum_i 1/a_i2, and its density approaches D(A)=i1/aiD(A)=\sum_i 1/a_i3 as D(A)=i1/aiD(A)=\sum_i 1/a_i4 (Kawamura, 25 Jun 2026).

The proof of the D(A)=i1/aiD(A)=\sum_i 1/a_i5 theorem uses a fractional-period generalization together with weakening, splitting, folding, rounding, and exhaustive finite verification. In that framework, a task with real period D(A)=i1/aiD(A)=\sum_i 1/a_i6 must appear at least D(A)=i1/aiD(A)=\sum_i 1/a_i7 times in any D(A)=i1/aiD(A)=\sum_i 1/a_i8-day interval, equivalently at least D(A)=i1/aiD(A)=\sum_i 1/a_i9 times in every interval $5/6$0 for integer $5/6$1. Folding reduces arbitrary instances to bounded-period families, and a computer-assisted search at threshold $5/6$2 verifies the remaining finite set (Kawamura, 25 Jun 2026).

Before the full proof, the $5/6$3-conjecture had already been attacked through structural computation. The notion of a Pareto surface formalizes the finite set of minimal schedulable instances under dominance for a fixed number of tasks. Using Pareto surfaces and a trie-based search with schedulability pruning, one work confirmed the $5/6$4-conjecture for all instances with at most $5/6$5 tasks and computed the full Pareto surface for $5/6$6, obtaining a list of $5/6$7 periodic schedules that solves every schedulable instance with at most $5/6$8 tasks (Gąsieniec et al., 2021).

The universal threshold $5/6$9 is not the end of density theory. When all periods are bounded below by a larger minimum A=(a1,,ak)A=(a_1,\ldots,a_k)0, stronger guarantees can hold. Defining A=(a1,,ak)A=(a_1,\ldots,a_k)1 as the largest real number such that every instance with all periods at least A=(a1,,ak)A=(a_1,\ldots,a_k)2 and density at most A=(a1,,ak)A=(a_1,\ldots,a_k)3 is schedulable, the first strict improvement over A=(a1,,ak)A=(a_1,\ldots,a_k)4 occurs at A=(a1,,ak)A=(a_1,\ldots,a_k)5: A=(a1,,ak)A=(a_1,\ldots,a_k)6 This was proved by combining fold-based certification with an unfolding operation and a fast heuristic-based solver, showing that once all periods are at least A=(a1,,ak)A=(a_1,\ldots,a_k)7, the guaranteed schedulable region is strictly larger than the universal one (Mishra et al., 25 Aug 2025).

The same density program also yields special-case structure. A byproduct of the fractional-period framework is a simple proof that every instance with at most two distinct period values and density at most A=(a1,,ak)A=(a_1,\ldots,a_k)8 is schedulable; the proof uses a circle-of-circumference-A=(a1,,ak)A=(a_1,\ldots,a_k)9 construction equivalent to complementary Beatty-type scheduling (Kawamura, 25 Jun 2026).

3. Complexity landscape and algorithmic structure

For many years, the exact complexity status of the classical problem remained unsettled. A 2025 finite-variant paper still recorded as open whether classical Pinwheel Scheduling is NP-hard when the deadlines are explicitly listed, whether it lies in NP, and therefore whether it is PSPACE-complete as long conjectured (Kanellopoulos et al., 15 Jul 2025). The first of these questions has since been resolved: Pinwheel Scheduling is NP-hard (Kleinberg et al., 15 Apr 2026).

The NP-hardness proof proceeds by refining an older reduction for Exact Pinwheel Scheduling and padding the constructed instance so that the output density is exactly [k]={1,,k}[k]=\{1,\dots,k\}0. This density-[k]={1,,k}[k]=\{1,\dots,k\}1 structure is important both for the reduction itself and for the transfer of hardness to related problems. The same work shows that Dense Pinwheel Scheduling is NP-complete, proves NP-hardness for pinwheel covering, bamboo garden trimming, windows scheduling, recurrent scheduling, and the constant gap problem, and at the same time develops a PTAS, indeed an EPTAS, for the approximate problem: for every fixed [k]={1,,k}[k]=\{1,\dots,k\}2, there is a polynomial-time algorithm that either declares the instance unschedulable or certifies schedulability of the scaled instance [k]={1,,k}[k]=\{1,\dots,k\}3 (Kleinberg et al., 15 Apr 2026).

This yields a notable distinction between exact and approximate computation. The exact decision problem is NP-hard, but the approximate feasibility problem with uniform multiplicative slack admits arbitrarily fine polynomial-time approximation. The PTAS relies on a decomposition into big, medium, and small tasks, enumeration of periodic schedules for the big tasks, use of holidays to accommodate medium tasks, and density arguments for sufficiently large periods (Kleinberg et al., 15 Apr 2026).

A different complexity perspective comes from Windows Scheduling. For the exact-period one-machine problem with unit-length jobs, Partial Coding and exact-period Windows Scheduling are polynomial-time interreducible. From this viewpoint, the single-machine exact-period problem does not admit a pseudo-polynomial-time algorithm unless SAT can be solved by a randomized method in expected time [k]={1,,k}[k]=\{1,\dots,k\}4, and the same lower bound extends to the inexact-period version (Jacobs et al., 2014). These results do not by themselves settle the exact classical complexity question, but they explain why the scheduling problem had resisted standard algorithmic classification.

The field also contains a substantial tradition of computer-assisted exact schedulability tests. In both the [k]={1,,k}[k]=\{1,\dots,k\}5-density proof and the covering-threshold proof, finite bounded-period families are certified by exhaustive state-graph search augmented with symmetry reduction, folding reductions, and witness reuse (Kawamura, 25 Jun 2026, Kawamura et al., 8 Oct 2025).

4. Generalizations beyond integer periods and single-task actions

One line of extension replaces integer periods by real periods. In the real-period model, task [k]={1,,k}[k]=\{1,\dots,k\}6 with real period [k]={1,,k}[k]=\{1,\dots,k\}7 must appear at least [k]={1,,k}[k]=\{1,\dots,k\}8 times in any consecutive [k]={1,,k}[k]=\{1,\dots,k\}9 days for every positive integer S:Z[k]S:\mathbb Z\to [k]0. This reduces to the usual definition when S:Z[k]S:\mathbb Z\to [k]1 is integral and captures genuinely stronger frequency constraints than a naive “once every S:Z[k]S:\mathbb Z\to [k]2 days” interpretation. For this model, it has been proved that any real-valued instance with three distinct period values and density at most S:Z[k]S:\mathbb Z\to [k]3 admits a valid schedule, and a corresponding real-period analogue of the Chan–Chin conjecture has been proposed (Fujiwara et al., 28 Oct 2025).

Another extension replaces the “one task per day” machine model by arbitrary set systems. In Combinatorial Pinwheel Scheduling (CPS), an instance is S:Z[k]S:\mathbb Z\to [k]4, where S:Z[k]S:\mathbb Z\to [k]5 is a set system and each time step schedules an independent set S:Z[k]S:\mathbb Z\to [k]6. The requirement is that each element S:Z[k]S:\mathbb Z\to [k]7 appear at least once in every window of S:Z[k]S:\mathbb Z\to [k]8 consecutive time steps. In this setting, density becomes the minimum S:Z[k]S:\mathbb Z\to [k]9 for which there exist coefficients ii0 whose total sum is ii1 and whose aggregate support gives each element ii2 frequency at least ii3. For matroid constraints, density at most ii4 is sufficient for schedulability; for arbitrary set systems, no constant density threshold independent of ii5 is possible, and the best guarantee scales as ii6 (Mendoza-Cadena et al., 12 Feb 2026).

The set-system viewpoint connects pinwheel scheduling to combinatorial bamboo garden trimming and to matroid algorithms. For uniform and partition matroids, polynomial-time height-ii7 schedules are available; for graphic and laminar matroids, polynomial-time height-ii8 schedules are obtained. The uniform-matroid algorithm is the Fuse–Unfuse schedule (Mendoza-Cadena et al., 12 Feb 2026).

A further application-driven generalization appears in multi-hop wireless networks with hard deadlines. There, end-to-end delay bounds are expressed in terms of per-link maximum inter-scheduling times, and the resulting joint feasibility problem is a generalized pinwheel coloring problem under conflict-graph interference constraints. Under total interference, the formulation reduces to ordinary pinwheel scheduling; with general interference it becomes a link-coloring-and-period problem, again NP-hard, for which a decentralized polynomial-time heuristic is proposed (Jones et al., 19 Apr 2026).

5. Finite-horizon and covering variants

The most prominent finite-horizon analogue is the ii9-Visits problem. Given deadlines aia_i0, the task is to construct a schedule of length aia_i1 in which each task appears exactly aia_i2 times and each occurrence is at most aia_i3 positions away from the previous one, or from the beginning of the schedule for the first occurrence. The case aia_i4 is trivial, but aia_i5-Visits is strongly NP-complete. The same line of work established a sharp dichotomy: if all deadlines are distinct, then aia_i6-Visits is solvable in linear time, whereas multiplicities make the problem hard (Kanellopoulos et al., 15 Jul 2025).

Subsequent work strengthened this complexity picture by proving that aia_i7-Visits remains strongly NP-complete even when the maximum multiplicity of the input is aia_i8. It also placed aia_i9-Visits in RP when the number of distinct deadlines per cluster of the discretized sequence is constant, generalized the positive results to a mixed aia_i00-Visits model, and showed that the lower density threshold of aia_i01-Visits is at least

aia_i02

More broadly, the lower density threshold of aia_i03-Visits approaches aia_i04 as aia_i05, linking the finite and infinite theories (Kanellopoulos et al., 17 Apr 2026).

The dual of classical pinwheel scheduling is the covering problem, also called discretized point patrolling. Here one daily task is assigned to agents under the constraint that agent aia_i06 may perform the task at most once in any aia_i07-day interval. Its density uses the same sum aia_i08, but the extremal direction is reversed: the question is how large the density must be to force schedulability. The optimal covering threshold is

aia_i09

and every covering instance with density at least aia_i10 is schedulable. The bound is tight because the family

aia_i11

is unschedulable and has density approaching aia_i12 from below (Kawamura et al., 8 Oct 2025).

The covering proof is structurally parallel to the packing proof, but not identical. It uses a real-valued extension, a folding lemma that reduces unschedulable instances to bounded ranges of periods, a finite exhaustive lemma on periods in aia_i13, and an additional reduction that peels off the initial aia_i14-type prefix. A related presentation in the discretized point patrolling literature describes improved fold operations and density-loss accounting that also recover the same optimal threshold (Mishra, 24 Oct 2025).

The optimization counterpart of pinwheel scheduling is Bamboo Garden Trimming (BGT). In the discrete model, bamboo aia_i15 grows at rate aia_i16, one bamboo may be trimmed to height zero per day, and the goal is to minimize the maximum height ever attained. The link to pinwheel scheduling is exact at the level of decision thresholds: if the maximum allowable height is aia_i17, then the BGT instance corresponds to the pinwheel instance aia_i18 (Kawamura, 25 Jun 2026).

This reduction lets pinwheel theory translate into approximation algorithms. Using the aia_i19-density theorem, one paper gives a polynomial-time aia_i20-approximation algorithm for BGT (Kawamura, 25 Jun 2026). A later work improves this to a aia_i21-approximation, again by combining fold-based pinwheel reasoning with lookup tables and special handling of low periods such as aia_i22 and aia_i23 (Mishra, 24 Oct 2025). Earlier, a pinwheel-based algorithm for BGT had already improved the approximation ratio below aia_i24, proving a worst-case bound of aia_i25 and an asymptotic ratio converging to aia_i26 when aia_i27 (Croce, 2020).

Pinwheel scheduling also serves as the star-graph special case of broader graph-theoretic scheduling models. In Polyamorous Scheduling, the tasks are edges of a graph and each day’s feasible action is a matching; the optimization version minimizes the maximum weighted waiting time between consecutive occurrences of the same edge. On a star graph, this becomes classical pinwheel scheduling in the decision form and bamboo garden trimming in the optimization form. The model introduces a generalized density notion, poly density, via an LP dual lower bound, and asks whether a constant feasibility threshold analogous to aia_i28 exists in this graph setting (Gąsieniec et al., 2024).

The broader significance of pinwheel scheduling lies in this capacity to act simultaneously as a sharp extremal theory, a source of hardness reductions, and a reusable scheduling core. Its modern landscape includes an exact density threshold for the classical packing problem, an exact dual threshold for covering, finite-horizon variants with their own threshold behavior, generalizations to real periods and matroidal set systems, and approximation frameworks for optimization problems built on the same recurrent-service constraint (Kawamura, 25 Jun 2026, Kawamura et al., 8 Oct 2025, Kleinberg et al., 15 Apr 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Pinwheel Scheduling.