## Network routing becomes intractable even on barebones graphs when time steps matter

URL: https://theprimary.com/science/2026-12-03/temporal-routing-np-complete
Published: 2026-12-03T14:23:13.834Z
Updated: 2026-12-03T14:23:14.181Z
Category: Science

Mathematical limits on scheduled networks reveal that finding efficient route covers turns computationally intractable as soon as a graph possesses just two junction points.

In standard network diagrams, finding an efficient way to cover every stop with a handful of routes is a solved problem. If a delivery company or a computer system needs to trace paths through a static, one-way network where connections never form loops, an algorithm can calculate the smallest possible fleet of paths in a fraction of a second. The underlying geometry can be mapped out, unvisited locations can be matched to available routes, and classic combinatorial theorems guarantee that simple structures yield simple solutions. Once those connections appear and disappear on a schedule, however, the certainty collapses.

A route that is clear at noon may lead to a dead end by one o'clock, and two journeys that never cross simultaneously on paper can collide if their schedules force them into the same location at the exact same moment. Scheduling journeys across time-varying networks, known as temporal directed acyclic graphs, turns routine routing calculations into notorious computational roadblocks. Researchers have spent years trying to determine how simple a scheduled network must be before calculating these routes becomes mathematically easy again.

A preprint posted to the arXiv preprint server in September 2026 by Alp Par, a researcher at Istanbul Topkapi University, shows that the difficulty does not depend on sprawling web architectures. Par resolved an open complexity question by proving that finding minimal path collections remains NP-complete even on networks whose underlying static shape is anchored by only two central junction points. The work demonstrates that adding the dimension of time transforms routing problems from trivial flow calculations into intractable puzzles on almost the simplest graphs imaginable.

## Why does tracking movement across time break standard routing?

Tracking movement across time breaks standard routing because the availability of a connection depends on chronological order rather than physical geometry alone. In a static directed graph without cycles, every available street or wire is open simultaneously, meaning any sequence of links that points from start to finish forms an admissible journey. In a temporal network, each link exists only at designated integer time steps, requiring any valid traveler to traverse consecutive links at strictly increasing times. A physical corridor that is open at time step two cannot be followed by an outgoing corridor that opened earlier at time step one.

To understand why this chronological requirement disrupts standard optimization, consider the physical chain of events required for an item to move across a scheduled network. A parcel arrives at an initial depot along an incoming line active at time one. For that parcel to continue forward, it must depart along an outgoing link that opens at time two or later. If the next link opens at time zero, the physical path exists in spatial drawings, yet the transfer fails because time cannot run backward. Furthermore, when multiple vehicles navigate the same transit depot, they cannot occupy the exact same physical docking bay during overlapping temporal windows without causing a collision. That simple real-world requirement means every transfer consumes both physical space and a distinct interval on the clock.

This temporal restriction destroys the mathematical guarantees that make static routing efficient. In static networks, a fundamental result established by Robert P. Dilworth in 1950, and adapted computationally by Delbert R. Fulkerson in 1956, showed that the minimum number of paths needed to cover every vertex matches the size of the largest group of vertices that cannot reach one another. That duality allows computer programs to solve static path cover problems in polynomial time by translating them into simple maximum matching questions. When time steps are attached to links, that structural duality vanishes entirely.

The challenge splits into two natural variations introduced in 2024 by Dibyayan Chakraborty and colleagues at the 49th International Symposium on Mathematical Foundations of Computer Science. The first variant is Temporal Path Cover, which asks for the smallest collection of temporal paths whose visited nodes collectively include every vertex in the network, while permitting paths to overlap. The second variant is Temporally Disjoint Path Cover, which imposes the stricter rule that no two paths may occupy the same vertex at the same time step. In this disjoint setting, an internal vertex visited by a path from time r to departure time s remains occupied throughout that entire integer waiting interval.

Chakraborty and colleagues proved that both variants are NP-hard on planar, bipartite, subcubic graphs even when connections are restricted to two time steps. They also discovered a surprising algorithmic divergence: while the overlapping Temporal Path Cover could be solved in polynomial time on temporal oriented trees by transforming the network into a weakly chordal graph, the disjoint variant remained NP-hard even on trees. That contrast left researchers wondering which structural constraints on the underlying network could tame the complexity of these dynamic schedules.

## How simple must a network be before paths become impossible to compute?

A network must be reduced to an absolute bare minimum of connectivity before path covers can be computed efficiently, because having just two hub vertices is enough to make the problem intractable. To measure structural simplicity, graph theorists rely on the vertex cover number, which counts the minimum number of vertices needed to touch every edge in a graph. A network with a vertex cover number of zero has no edges at all. A network with a vertex cover number of one is a star graph, where every single connection attaches directly to a single central junction.

Earlier research by Cioni and colleagues established that both path cover variants are NP-hard on temporal graphs with a vertex cover number of three, while formulating an explicit open question about whether hardness persists when the vertex cover number drops to two. Par answered that open question by constructing mathematical reductions showing that both problems remain NP-complete when the vertex cover number of the underlying undirected graph is exactly two. For the overlapping path problem, this finding pinpoints an exact mathematical boundary: the problem is solvable in polynomial time when the vertex cover number is at most one, and becomes NP-complete the moment that number reaches two.

Alp explained the structural reason why complexity jumps immediately when moving from one central hub to two. "What makes two hubs powerful is that they create two separate checkpoints in time," Alp said in response to questions from Primary. "With one hub, the structure is essentially a star: paths come into the center and leave, but there is no second stage where an earlier choice can be tested against another constraint. That restricted structure is still manageable algorithmically." Polynomial-time solvability at vertex-cover number one is fully established for Temporal Path Cover; for Temporally Disjoint Path Cover, the unrestricted multi-label star case remains open.

Alp noted that this architectural transition fundamentally alters the problem's computational character. "With two hubs, a path can first make a choice at the first hub and then carry that choice forward to the second hub, where the timing rules check whether the choice is compatible with a target," Alp said. "In our construction, the first hub organizes which intermediate option a path is allowed to take, while additional filler paths make sure those choices collectively fit together in exactly the right way. The second hub then checks whether the selected option matches the required numerical target." Alp added: "Two hubs give you a 'choose first, verify later' mechanism, and that is already enough to simulate an NP-complete matching problem."

Par established the hardness of Temporal Path Cover by designing a polynomial-time reduction from Distinct Numerical Matching with Target Sums, an established numerical problem proved strongly NP-complete by Hulett, Will, and Woeginger. In this puzzle, an algorithm must pair elements from two sets of numbers such that their pairwise sums exactly match target numbers in a third set. Par mapped this numerical puzzle into a four-stage temporal network structured around two central hubs labeled x and y. All incoming links originate from a set of main sources and filler sources that connect only to hub x, intermediate cell vertices connect hubs x and y, and target vertices connect outward from hub y.

Because every edge in this construction attaches to either x or y, the underlying graph possesses a vertex cover number of exactly two. Par proved through counting arguments that any valid cover containing the target quota of paths must force main paths through specific cell vertices while using filler paths to soak up leftover cells. By sorting the numerical weights strictly and applying prefix sum inequalities, Par demonstrated that the temporal arrival times enforce a majorization condition. That mathematical alignment guarantees that a valid temporal path cover exists if and only if the original numerical matching problem has an exact solution.

"The most fragile part was not actually encoding the numbers into the time labels," Alp told Primary regarding the mechanics of the proof. "The difficult part was preventing a path from exploiting the temporal graph in a way that satisfies all the local timing rules without corresponding to a genuine numerical matching solution." Alp explained that filler paths enforce a global accounting constraint where any misallocated path leaves unfillable gaps, collapsing local inequalities into simultaneous equalities.

## What happens when paths are forbidden from meeting?

When paths are forbidden from meeting at the same place and time, researchers must use temporal guard paths to prevent schedules from sliding out of alignment. In Temporally Disjoint Path Cover, allowing paths to share vertices at different moments creates opportunities for journeys to drift across time blocks, which could permit invalid numerical pairings to satisfy the network constraints. Par solved this obstacle by incorporating dedicated guard sources and guard sinks into the two-hub architecture.

In this second construction, intermediate nodes represent candidate numbers, while pairs of guard vertices hook into hub y. Par structured the schedule into distinct time blocks separated by buffer intervals. Each guard path is forced by the disjointness rule to occupy hub y across an exact integer window, acting as a temporal barrier. If a path representing a numerical choice enters hub y during an early time block and attempts to depart during a later block, it inevitably collides with a guard path occupying the hub at that boundary. The guard paths prevent transitions across time blocks at hub y, while a separate global sum argument eliminates the remaining temporal drift between hubs x and y.

Beyond the primary hardness result, Par investigated the boundary case of temporal oriented stars, which represent networks with a vertex cover number of one. While overlapping paths are known to be tractable on stars, the status of temporally disjoint paths on stars has remained subtle. Par proved that if either the incoming connections or outgoing connections of an oriented star are restricted to a single time label, optimal disjoint path covers can be computed in polynomial time even if the opposite side carries arbitrarily many time steps.

Alp clarified the mathematical foundation that preserves tractability in this asymmetric setting. "The reason is that one single-label side provides a fixed chronological scaffold," Alp said. "Suppose the outgoing edges each have one fixed time. Those fixed departure times divide the timeline into ordered gaps. An incoming leaf with many possible arrival times only needs to be associated with a gap in which one of its labels occurs. The temporal scheduling problem can then be transformed into a bipartite matching problem between incoming leaves and those gaps."

Par also defined a span parameter measuring the chronological spread between the earliest arrival and latest departure of merged paths on an oriented star. The preprint proves that any feasible family of k merges implies the existence of a feasible realization whose span is at least 2k minus two, where span counts intervening foreign leaf-label occurrences, showing that the problem is solvable in polynomial time whenever the maximum span is bounded by a constant. Alp highlighted that span in this context does not represent continuous physical duration, but rather the count of intervening leaf occurrences trapped between the start and end of a connection. Alp compared the process to packing appointments into a single-room calendar where each independent booking requires distinct arrival and departure landmarks around the shared center.

The broader complexity of temporal oriented stars where both incoming and outgoing edges feature unrestricted multiple labels remains an unsolved question. Alp noted that when both sides carry flexible time labels, the chronological scaffold vanishes, making interval choices and leaf pairings mutually dependent across the entire network schedule.

## What do these boundaries mean for algorithmic design?

These mathematical proofs describe the formal boundaries of exact computational tractability on scheduled networks rather than physical transit observations. The results demonstrate that worst-case instances of temporal path covering are provably NP-complete even on graphs restricted to two central junctions, meaning general algorithms cannot find exact minimum path covers in polynomial time unless P equals NP. However, the reductions rely on mathematical constructions where edge time labels grow polynomially alongside input instances, meaning the findings do not rule out efficient solutions for networks where time steps remain bounded within small horizons. The research is reported in a scientific preprint posted to the arXiv server, which has not yet undergone formal peer review.

For theoretical computer science, the result resolves a concrete structural question and demonstrates that time acts as an overwhelming source of complexity. When static graphs are reduced to two hubs, routing is elementary. Adding chronological labels immediately pushes the same challenge beyond the reach of exact polynomial algorithms, clarifying the exact frontier where dynamic routing ceases to be easy.
