Abstract
IEEE 802.1Qbv time-aware shaper schedules carry the hard real-time traffic of industrial cells and must be recomputed within a reconfiguration window whenever the cell changes. Exact solvers guarantee feasibility but often exceed the window, incremental schedulers keep every installed flow fixed and refuse requests that do not fit around them, and learned schedulers answer quickly without guaranteeing feasibility. We propose GRAFT, a check-and-repair scheduler in which a fast proposal places the new flows of a request around the installed ones, an exact checker detects violated constraints, and a constraint-programming model re-solves only the flows that the checker flags, retained flows among them, under a hard deadline derived from the window. We show that deciding feasibility is NP-hard in the strong sense even on a single link when frame lengths are unrestricted, that the checker verifies a schedule in O(n log n) time, that every returned schedule is feasible whatever the proposal, and that the decision ends within its budget plus a measured overhead of model building and solver stop. In an emulated configuration entity on nine cells of 45 to 90 flows, GRAFT with a heuristic proposal (GRAFT-H) installs 25.0, 19.3, and 18.8 of 40 requests per run within the window for the three cell sizes, against 20.3, 16.0, and 14.0 for incremental constraint programming and leads it on all nine cells (+4.3 requests per run, Holm-adjusted p = 0.027). With retained flows held fixed, the engine installs as many requests as incremental constraint programming on average, so the gain comes from repairing retained flows inside the flagged set. All 7330 configurations installed in 416 runs replayed on per-class first-in, first-out queues without a deadline miss beyond the clock tolerance. A learned proposal from a policy whose training did not improve matches the heuristic one behind the same repair.
Keywords:
time-sensitive networking; IEEE 802.1Qbv; Industrial Internet of Things; constraint programming; constraint repair; reconfiguration; scheduling; learning-augmented optimisation; reinforcement learning MSC:
90B35; 90C27; 68M10; 68T05
1. Introduction
1.1. Background and Motivation
Industrial automation has moved, over roughly a decade, from vendor-specific fieldbuses toward standard Ethernet extended with the IEEE 802.1 Time-Sensitive Networking (TSN) amendments. The motivation is interoperability: PROFINET IRT, EtherNet/IP, and EtherCAT each achieve bounded latency through mechanisms of their own, and a plant that mixes them cannot easily share a single physical network. TSN offers the same bounded-latency guarantee on top of ordinary bridged Ethernet, which is why it has become the reference transport for the Industrial Internet of Things (IIoT) in recent surveys of the field [1]. Within the TSN family, the time-aware shaper defined in IEEE 802.1Qbv is the mechanism that carries the hard real-time traffic of a production cell [2,3]. Every egress port of a switch holds a gate control list, a periodic table that opens and closes the transmission gate of each priority queue at fixed instants. When the lists of all ports along a path are aligned with the transmission offsets of the end stations, a frame of a scheduled flow finds its gate open at every hop and traverses the network with zero or near-zero queuing delay. The guarantee is only as good as the schedule, and computing that schedule is the problem we address.
Scheduling for the time-aware shaper means choosing, for every periodic flow, the transmission offset at its talker and the gate events along its route so that no two scheduled frames contend for the same link at the same time, every frame meets its end-to-end deadline, and frames of the same flow do not overtake each other. The problem is combinatorial and, in its general form, NP-hard; the survey by Stüber et al. reviews more than one hundred scheduling algorithms proposed for it and reports that the exact formulations, whether satisfiability modulo theories, integer linear programming, or constraint programming, deliver strong guarantees for small and medium instances but reach their time limits as the number of flows and hops grows [4]. The foundational SMT formulation of Craciunas et al. [5] and the array-theory encoding of Serna Oliver et al. [6] established the constraint structure that later work inherits, the constraint-programming model of Vlk et al. extended it to joint routing and scheduling [7], and their later solver-free search over partial schedules reached instances with thousands of flows [8]. These results are the reason exact methods remain the reference for offline configuration: when the flow set is known at commissioning time and the plant has hours to compute, they produce a schedule that is provably correct.
A deployed cell constrains every time-aware shaper schedule in three ways. The schedule repeats with the hyperperiod, the least common multiple of the flow periods, and a longer hyperperiod adds frame instances to be placed and raises the time needed to compute the schedule [4,5]; harmonic periods keep it equal to the longest period. The gates of different devices open according to their own clocks, so a schedule must leave a margin for the worst-case difference between the clocks of synchronised devices [5]. The gate control list of a port holds a bounded number of entries, so the gate events that a schedule places on a port are limited by the bridge that must store them [4,6]. Section 3.2 describes the periods of industrial cells and measures the effect of a longer hyperperiod, Section 6.7 reports the effect of clock errors, and Section 6.6 reports the gate control list lengths in our evaluation.
Production cells no longer stay fixed for long enough for offline configuration to suffice. A flexible manufacturing cell rearranges its machines between batches, brings a vision system online for one product variant and retires it for the next, and admits monitoring flows from IIoT sensors that were not part of the commissioning plan. Each of these events changes the flow set and, with it, the schedule. Nayak et al. were among the first to treat this as an incremental problem, adding flows to an existing configuration in a software-defined TSN network without recomputing everything [9], and later heuristics move installed flows when a new one does not fit [10,11]. The TSN standards themselves anticipate the need: the centralized network configuration entity of IEEE 802.1Qcc [12] is expected to recompute and redistribute gate control lists while the network is operating. What the standards do not supply is an algorithm that can do so inside the reconfiguration windows that a running cell tolerates, which are measured in seconds for a machine changeover rather than in the minutes an exact solve of a large instance can take [4].
Three properties of this setting make it hard in combination even though each has been studied alone. The first is scale relative to time: the cell is small by the standards of exact solvers, but the window is short by those same standards, and the number of flows that a modern cell carries has grown to the point where the exact formulations reviewed in [4] need seconds to minutes rather than milliseconds. The second is that feasibility is not negotiable: a schedule with one violated constraint is not a slightly worse schedule, it is a schedule that will drop or delay a control frame, and a learned scheduler that is correct on ninety-five percent of requests is not a deployable scheduler. The third is schedule stability: flows that were not touched by the request should keep their offsets wherever possible, because every changed offset must be redistributed to a talker and re-verified on the floor, and a scheduler that re-arranges the entire cell to admit one sensor flow imposes a cost that the operator will not accept even if the result is feasible.
We consider a production cell served by a small switched TSN fabric: a handful of bridges; a few dozen end stations that include programmable logic controllers, drives, sensors, and IIoT gateways; and a centralized network configuration entity that holds the current gate control lists. The cell carries a set of periodic scheduled flows with known periods, frame sizes, routes, and end-to-end deadlines. Reconfiguration requests arrive at the configuration entity as sequences of additions, removals, and retimings of flows, and each request carries a window within which the new schedule must be installed. The scheduler must return, for each request, either a complete set of offsets and gate events that satisfies the path, link-exclusivity, deadline, and frame-isolation constraints for every flow in the new set or a statement that the request cannot be admitted, and it must do so within the window.
1.2. Research Gap
The tension between the guarantee of an exact solver and the latency of a heuristic has produced, over the past few years, a substantial literature on using machine learning to resolve it. Bengio et al. framed the design space: a learned model can replace a heuristic decision inside an exact method, can produce a solution directly, or can produce a partial solution that an exact method completes [13]. Graph neural networks proved to be the natural architecture for this purpose because combinatorial instances are graphs and the permutation invariance of message passing matches the structure of the problem [14]. Reinforcement learning became the dominant training paradigm when labelled optimal solutions are expensive to obtain, which is the case for any NP-hard scheduling problem beyond toy sizes [15].
The TSN community adopted these tools quickly. Yang et al. combined a graph convolutional network with deep reinforcement learning for joint routing and scheduling of time-triggered flows [16]; He et al. proposed DeepScheduler, which learns flow-level features and produces gate configurations at a speed the exact solvers cannot approach [17]; Sun et al. trained a graph attention policy with proximal policy optimisation to minimise delay in in-vehicle TSN and showed that a trained network re-schedules a failed link in seconds [18]; Tian et al. designed GTSNet to generalise across topologies the policy had not seen during training [19]; and Min et al. used reinforcement learning for the routing decision that precedes time-aware shaper scheduling [20]. The results are consistent across these studies: a trained policy produces a schedule orders of magnitude faster than an exact solver, and the schedule is good on most instances.
However, a policy that emits an offset for every flow has no mechanism that forces the offsets to be jointly feasible. The studies above handle infeasibility in one of three ways. Some mask actions that would create an immediate conflict, which prevents local violations but not the deadline misses that emerge several hops downstream. Some penalise violations in the reward, which reduces their frequency without eliminating them. Some report a schedulability rate, the fraction of instances for which the learned schedule was feasible, and accept that the remainder fails. In an offline setting, a failure costs a retry. In a reconfiguration setting, a failure means that the cell either keeps running on a stale schedule, with the new flow refused, or installs a schedule that will miss deadlines on the production floor. Neither is acceptable for control traffic, and this is the practical reason learned schedulers have stayed in simulation studies, while exact solvers, with their limits, remain in the centralized configuration tools that plants actually deploy.
Exact incremental formulations do not close this gap either. Incremental formulations [9,21] reduce solve time by reusing the previous schedule; however, they keep every installed flow fixed, so that a request whose new flows do not fit the gaps of the installed schedule is refused, while a full solve is bounded below by the solver’s behaviour on the whole instance. Heuristics that move installed flows to admit new ones [10,11,22] give no bound on their decision time in terms of the reconfiguration window, and two of them require that no frame ever waits at a bridge. The learned schedulers in [16] to [20] measure their success by schedulability rate and speed, and none of them installs a bounded exact stage behind the policy or asks how much of a combined result is due to the learned part.
The evaluation practice leaves a further gap. The learned TSN schedulers are assessed on static instance sets: a topology and a flow set are generated, the policy schedules them, and the outcome is compared with a solver on the same instance. However, that protocol says nothing about the reconfiguration setting that motivates learned scheduling in the first place, where requests arrive over time against a live schedule, the window for each is bounded, and the cost of a changed offset for an existing flow is real. Only a few studies run a scheduler as a component of a configuration entity that receives requests over time against a simulated fabric [23,24], and none of them compares a learned proposal with a simple rule behind the same exact repair.
Motivated by these gaps, this paper proposes GRAFT, a check-and-repair scheduler for time-aware shaper reconfiguration in IIoT cells. A fast proposal places the new and retimed flows of a request around the installed flows, an exact checker detects the violated constraints, and a constraint-programming solver re-solves only the flows of those constraints, retained flows among them, under a hard deadline derived from the window, with every other flow fixed. We build GRAFT into a network configuration entity; measure it under reconfiguration load against exact, incremental, and heuristic baselines; and measure how much of its result is due to learning by running the same repair behind a heuristic proposal (GRAFT-H) and behind a proposal trained by reinforcement learning (GRAFT-L).
1.3. Contributions
Our main contributions are as follows.
(C1) We formulate the reconfiguration of a time-aware shaper schedule as a lexicographic churn-then-displacement problem over path, link-exclusivity, deadline, and per-class frame-isolation constraints, and we introduce GRAFT, which answers it by checking a fast proposal and repairing the flagged flows under a hard deadline derived from the window. We show that deciding whether a request admits any schedule is NP-hard in the strong sense even on a single link when frame lengths are unrestricted, that the checker decides feasibility exactly in O(n log n) time for n frame-instance intervals, that every returned schedule is feasible whatever the proposal, that the repair returns a schedule whenever its neighbourhood admits one and its solver call completes, under an explicit assumption on the solver, and that the scheduler returns within its budget plus an overhead, chiefly model building and the solver’s stop latency, which we measure against the cell size. With non-scheduled traffic kept out of the scheduled transmissions by its own gates with a guard band or frame preemption, the per-class frame isolation makes the schedules executable on 802.1Qbv class queues without per-frame release tables, and on our cells, no schedule exists without the holds it permits (Section 3.3, Section 3.4, Section 4.5, Section 4.8 and Section 5.2).
(C2) We show that the bounded repair admits more requests within their windows than every baseline on every cell. With the configuration entity in the loop, GRAFT-H installs 25.0, 19.3, and 18.8 requests per run within the window on the three cell sizes, 4.3 more than incremental constraint programming and 6.6 more than an incremental list scheduler, each on all nine cells (Holm-adjusted p = 0.027), and every one of the 7330 configurations installed in the 416 runs of the study replayed without a deadline miss beyond the clock tolerance under our replay model (Section 6.1 and Section 6.7).
(C3) We isolate where the gain comes from. Holding retained flows fixed reduces GRAFT-H to the installs of incremental constraint programming on average (+0.0, 2/2/5); letting only their per-link starts move inside the flagged set recovers 1.8 of the 4.3 requests per run, and their offsets account for the rest. An incremental model that frees the starts of the retained flows sharing a link with the new ones gains 2.0 over incremental constraint programming, which does not differ significantly from the gain of the starts-only repair, and stays 2.3 below GRAFT-H. Widening the repair beyond the flagged set installs 3.7 and 5.9 fewer requests at one request per second, because the longer solves end at their deadlines and make queued requests miss their budgets (Section 6.2 and Section 6.6).
(C4) We compare a learned proposal with the heuristic behind the same exact repair. The policy, whose training reward did not improve, installs 0.5 requests per run fewer than the heuristic, a difference that is not significant over the nine cells (95% CI [−1.4, +0.4]), and a policy that re-places every flow, retained flows included, installs 8.3 fewer on every cell (Section 6.3).
The remainder of this paper is organised as follows. Section 2 reviews related work and closes with the research gap. Section 3 presents the system model and the problem, and Section 4 the GRAFT methodology. Section 5 describes the experimental setup, Section 6 reports and discusses the results, and Section 7 concludes with limitations and future work. The conditions under which each guarantee holds are stated with the propositions in Section 4.8, and Section 6.8 discusses what the model covers beyond the evaluated cells.
2. Related Work
2.1. Exact and Heuristic Scheduling for the Time-Aware Shaper
The scheduling problem behind IEEE 802.1Qbv has been formulated many times, and the survey by Stüber et al. [4] gives the fullest account. The formulations share one constraint structure: a transmission offset at the talker and an arrival window at each hop for every frame instance, exclusive use of each link, a deadline per flow, and, where several flows share a queue, a frame or flow isolation condition that keeps the queue behaviour deterministic [5]. They differ in the solver and the objective. Craciunas et al. [5] encoded the problem for a satisfiability-modulo-theories solver with incremental batches of flows, and Serna Oliver et al. [6] made the gate control lists themselves the decision variables so that the schedules respect the bounded length of the gate tables in real bridges. Vlk et al. showed that a constraint-programming model with interval variables and the no-overlap global constraint handles joint routing and scheduling at a scale the SMT models could not [7] and later scheduled instances with thousands of flows by a solver-free search in the space of partial schedules guided by the conflicts it discovers [8]. Torres-Macías et al. [25] fixed the frame order on each port by weighted fair queuing and optimised the timing by an integer linear program. On the heuristic side, list scheduling places flows one at a time at the earliest conflict-free offset, and Pop et al. [26] used it precisely because a fog platform must reconfigure its network at runtime; the no-wait formulation of Dürr and Nayak [27] turns the problem into a job-shop variant that admits tabu search. Zhao et al. [28] showed that the time-aware shaper gives the lowest and most predictable latency for scheduled traffic when its schedule is correct, which is why we concentrate on it. Two points shape our design: constraint programming with interval variables captures link exclusivity directly and can be warm-started and bounded in time, and the cost of every exact method grows with the number of frame instances per hyperperiod rather than with the number of flows.
2.2. Reconfiguration and Incremental Scheduling
Reconfiguration of a live network is a narrower literature. Raagaard et al. [29] framed it for fog computing, where flows of migrated applications must be rescheduled at runtime without disturbing the others. Nayak et al. [9] formulated the admission of a new flow as an integer linear program over a fixed set of existing flows, and Torres-Macías et al. [21] placed each new stream into the unused gaps of an installed 802.1Qbv schedule with an integer linear program built from those gaps; both leave every existing stream unchanged. Pang et al. [30] ordered the updates that install a new schedule so that no intermediate state violates a constraint, and Gärtner et al. [31] placed new flows into the gaps of the existing schedule and fell back to a conventional scheduler, without a time bound, when no gap fits. Nasrallah et al. [24] simulated the centralized and distributed management models of IEEE 802.1Qcc [12] with streams arriving at runtime and reconfigured the time-aware shaper by enlarging the scheduled-traffic window of a fixed cycle. Three works move installed flows. Falk et al. [10] reconfigured active flows when admitting new ones, which they call offensive planning, with a greedy heuristic over a conflict graph of candidate routes and phases; on ring networks with several hundred flows this halved the rejected requests, a planning round took seconds to minutes, the model requires zero queuing, and the planner does not minimise the number of flows it reconfigures. Geppert et al. [22] also allowed an admitted stream to receive a different route or phase, try to extend the previous solution before recomputing, and update schedules of a few hundred streams in fractions of a second under a no-wait model, without minimising the reconfigured streams. Kummer et al. [11] integrated new streams incrementally and adapt the existing schedule when necessary, with a heuristic that selects the streams whose adjustment requires the least reconfiguration effort. None of these bounds its decision time by a reconfiguration window, and none combines an exact repair of the moved flows with a feasibility check of every installed schedule.
2.3. Learned Schedulers for Time-Sensitive Networking
Learned schedulers for the time-aware shaper make one placement decision at a time. Yang et al. [16] trained a deep Q-network over a graph convolutional embedding to choose the route and offset of the next flow; He et al. [17] added flow-aware features for flows that share links; Sun et al. [18] used a graph attention encoder with proximal policy optimization and rescheduled after link failures; Tian et al. [19] designed GTSNet to generalise across topologies; Min et al. [20] applied reinforcement learning to routing alone; and Roberty et al. [32] let the policy choose gate events directly. Islam and Muslim [23] computed schedules at runtime with a graph-convolutional agent trained by twin-delayed deep deterministic policy gradient inside an OMNeT++ simulation, without interrupting existing schedules, rejected flows that violate the constraints, and recomputed the whole schedule with an integer linear program when a gate control list exceeded a length threshold. Every one of these studies reports a schedulability rate below one hundred percent on part of its instances; a policy output that violates a constraint is either counted as a failure or, in [23], rejected or replaced by a full recomputation without a time bound, so none of them repairs the policy’s output within a reconfiguration window. None compares its policy with a simple rule under the same exact completion, which is the comparison that tests whether the learning contributes.
2.4. Learning-Augmented Exact Optimisation
Learned models have been combined with exact solvers in three ways [13,14,15]: inside the solver as a decision rule, as when Gasse et al. [33] imitated strong branching in a mixed-integer solver; as a producer of solutions that an exact or metaheuristic method improves, as in the reinforcement-learning-guided constraint programming of Cappart et al. [34] and the learned repair operator of Hottung and Tierney [35] inside a large-neighbourhood search; and as the entire solver, as in Kool et al. [36]. GRAFT assigns the roles differently from [35]: a proposal, learned or not, places the flows of a request, a deterministic checker flags the flagged flows, and an exact solver repairs those flows with the rest held fixed, under a deadline derived from the reconfiguration window. Evaluation practice in the field is mostly static: Xue et al. [37] re-implemented published schedulers under a common generator and found that comparisons often depend on uncontrolled instance parameters, and NeSTiNg [38] simulates computed schedules in OMNeT++. Among the studies above, Refs. [23,24] run the scheduler against a simulated network that receives requests at runtime; we use an emulated configuration entity and fabric with requests arriving over time, so that scheduler latency, request rate, and churn interact.
2.5. Positioning of This Work
Existing work addresses feasibility-guaranteed reconfiguration and fast scheduling of new flows separately; what remains unaddressed is a scheduler that admits a request by repairing a bounded set of retained flows exactly, returns only schedules that pass a feasibility check, and decides within a deadline derived from the reconfiguration window. Table 1 compares the closest approaches. A guaranteed feasible output means that every returned schedule satisfies all constraints and infeasible requests are refused; bounded decision latency means a stated time budget with a defined fallback; live reconfiguration means scheduling against an installed schedule; limited churn means that changes are confined to the flows the request touched wherever the constraints permit, counted as changed offsets because per-link starts of retained flows are not priced (Section 6.6); bounded repair of retained flows means that a request can be admitted by changing a bounded set of installed flows; a learned component means that a trained model takes part in placement; and configuration entity in the loop means that the scheduler was evaluated as a component receiving requests over time against a simulated or emulated fabric.
Table 1.
Comparison of prior approaches against the properties required for time-aware shaper reconfiguration in IIoT cells (✓: addressed; ✗: not addressed; –: not reported).
Table 1 shows three gaps. First, the learned schedulers are fast, but they guarantee feasibility only by rejecting infeasible outputs or, in [23], by a full recomputation without a time bound. Second, the exact and incremental methods either keep every installed flow fixed, so a request whose new flows do not fit the gaps of the installed schedule is refused, or move installed flows [10,11,22] by heuristics whose decision time is not bounded by the reconfiguration window. Third, none of the learned schedulers has been compared with a non-learned rule under the same exact completion. To overcome these limitations, GRAFT includes (i) an exact checker and a constraint-programming repair behind a fast proposal, so that every installed schedule passes the checker whatever the proposal; (ii) a repair deadline derived from the reconfiguration window and enforced as a hard deadline; (iii) a repair confined to the flagged flows, retained flows among them, with a churn-dominant objective; and (iv) an integration into a configuration entity with a staged commit and a replay of every installed configuration; we evaluate it with a heuristic proposal (GRAFT-H) and with a learned proposal (GRAFT-L) under the same repair. As the last rows of Table 1 show, GRAFT is the only approach in the table that combines a guaranteed feasible output, a decision time bounded by the window and a bounded repair of retained flows.
3. System Model
3.1. The Production Cell and Its Fabric
The system under study is a single production cell served by a switched TSN fabric. The fabric is a directed graph whose vertices are bridges and end stations and whose edges are full-duplex links, each direction modelled as a separate directed link with its own transmission rate and propagation delay. End stations are the talkers and listeners of scheduled traffic: programmable logic controllers, servo drives, vision cameras, sensors, and the IIoT gateways that carry monitoring data out of the cell. Bridges implement the time-aware shaper of IEEE 802.1Qbv [2] on every egress port, so that each port holds a gate control list and forwards a scheduled frame only when the gate of its queue is open. All bridges and end stations are synchronised to a common time base by IEEE 802.1AS [39], and the residual synchronisation error is absorbed into a synchronisation margin that is part of the per-hop processing delay. The model therefore treats time as exact and places the synchronisation margin in the constraint parameters rather than in the constraint structure, a simplification relative to [5,6], which carry the synchronisation precision explicitly in their constraints.
The cell is small by the standards of plant-wide networks and that is deliberate. A handful of bridges, typically three to eight, and a few dozen end stations is the size of fabric that a single line or machining cell owns and reconfigures on its own, and it is the size at which the reconfiguration windows of Section 1.1 apply. A plant network is a federation of such cells connected through backbone bridges whose traffic is scheduled separately, and our model stops at the cell boundary; inter-cell flows appear as flows whose talker or listener is a boundary bridge port.
Routes are given. Each scheduled flow has a fixed path through the fabric, determined either by the spanning tree of the cell or by an earlier routing decision, and the scheduler does not change it. This separates the problem addressed here from joint routing and scheduling [7,16], and it reflects the operational fact that rerouting a control flow in a running cell is a rarer and more disruptive event than rescheduling it. The consequence for the scheduling problem is that the set of links each flow occupies is known before scheduling begins, so the pairs of flows that can contend for a link are known as well, and the flow-link graph on which the policy of Section 4 operates can be built directly from the request.
3.2. Scheduled Flows and Frame Instances
The scheduled traffic of the cell is a set of periodic unicast flows. Each flow has a talker, a listener, a period, a maximum frame length in bytes, an end-to-end deadline measured from the release of a frame at the talker to its arrival at the listener, and a path consisting of an ordered sequence of directed links from talker to listener. The notation used throughout is collected in Table 2. A flow releases one frame per period, and the schedule must accommodate every release within a hyperperiod equal to the least common multiple of all periods in the flow set, after which the pattern repeats. The number of frame instances of a flow within the hyperperiod is the ratio of the hyperperiod to the flow period, as in (1).
Table 2.
Notation used in the system model and the methodology.
The scheduling decision for a flow is its talker offset, the delay from the release of each frame to the start of its transmission on the first link of the path. The transmission start of the k-th frame instance on the first link is the release instant plus the offset, as in (2). The offset is the only decision variable the talker needs; the transmission starts on subsequent links follow from the offset, the frame length, the link rates, and the per-hop delays through the constraints of the next subsection, and the gate events on each bridge port are derived from them.
Two features of the flow model matter for the design of the scheduler. The first is that periods in an industrial cell are drawn from a small set of harmonic values, commonly powers of two multiples of a base cycle, so the hyperperiod is not much longer than the longest period and the number of frame instances is manageable; a flow set with a single unusual period would inflate the hyperperiod and the instance count, and a request that introduces one is admitted only if a schedule is found within its budget. The cost of such a period grows with the hyperperiod: each flow has H/Tf instances, the checker runs in O(n log n) time in the number n of frame-instance intervals (Proposition 1), and the repair model holds the instances of every flow, fixed ones included. On the nine cells of Section 5, retiming one flow from 8 ms to 6 ms rather than to 4 ms raises the hyperperiod from 8 to 24 ms. On the initial schedule of each cell, this multiplies n by 3.0 and, on our host, the checker time and the time to repair that flow, or to prove that it cannot be placed, by about three (medians over the nine cells of 3.4 and 2.7). The second is that frame lengths are bounded by the standard Ethernet maximum and are typically far smaller for control traffic, so that at the 100 Mbit/s of the cells in Section 5 a control frame of 64 to 256 bytes occupies the link for 7 to 23 µs against periods of hundreds of microseconds to tens of milliseconds. The scheduling problem is therefore one of placing many short intervals into long periods without collision, and its difficulty comes from the coupling between links along a path and between flows that share a link, not from link saturation.
3.3. Constraint Structure of the Schedule
A schedule is a vector of talker offsets, one per flow, together with one transmission start per link of each flow’s path, from which the start of the k-th instance on that link follows by adding k periods; the schedule is periodic by construction, and a frame may be held in the queue of its traffic class at a bridge between its arrival and its start on the next link. When a schedule is produced from offsets alone, as the proposal of Section 4 is, the per-link starts are taken as early as (3) allows. It is feasible when four families of constraints hold for every frame instance in the hyperperiod. The families follow the exact formulations of [5,6,7] and are stated here because the constraint checker and the repair model of Section 4 operate on them directly.
The first family is path progression. A frame cannot start on the next link of its path before it has been fully received on the previous one, propagated across it, and processed by the bridge, as in (3). The transmission duration df of a frame is its length, with 20 bytes of preamble and inter-frame gap, divided by the link rate and rounded up to the next microsecond, which the equations write as Lf/Rℓ, and the processing delay carries the switching latency of the bridge together with the synchronisation margin that absorbs clock error. The constraint is stated as an inequality rather than an equality because a frame may be held in its queue, with the gate of its class closed, until its scheduled slot. The no-wait variant of [27] would replace it with an equality; we keep the inequality, because holding frames at intermediate bridges is what lets the scheduler resolve conflicts without moving talker offsets, and the fourth family below makes every such hold realisable on a standard bridge. On the cells of Section 5.2 the holds are necessary: with (3) as an equality, no initial flow set admits a schedule.
The second family is link exclusivity. Two frame instances that traverse the same directed link must not overlap in time on that link, which is the disjunction in (4): one finishes, and an inter-frame guard γ elapses, before the other starts, or the reverse. The guard covers the residual clock error between the devices at the two ends of the link, so that a frame released a little early by one clock cannot run into a frame released a little late by another. This is the constraint that couples flows to one another and makes the problem combinatorial; every pair of instances sharing a link contributes one disjunction, and the number of such pairs grows with the product of the instance counts of the flows on the busiest links.
The third family is the deadline. The k-th frame instance must arrive at the listener, that is, finish transmission on the last link and propagate across it, no later than its release instant plus the flow deadline, as in (5). The model keeps the deadline and the period as separate parameters but requires the deadline not to exceed the period, which holds for the control, monitoring, and video flows of the cells we consider. Under this condition, each frame instance is delivered before the next instance of the same flow is released, so successive instances cannot overtake one another on any link and frame ordering needs no constraint of its own.
The fourth family is frame isolation per traffic class, the condition that Craciunas et al. [5] introduced to make the behaviour of shared queues deterministic, and it is what makes the holds permitted by (3) realisable on a standard IEEE 802.1Qbv bridge. Each egress port has one scheduled queue per traffic class (control, monitoring, and video), served first in, first out, with its own gate. On every link of a path other than the first, a frame instance occupies the queue of its class from its arrival at the bridge, which is the end of its transmission on the previous link plus the propagation and processing delay, until the end of its own transmission plus the guard. Two frame instances of the same class must not occupy the same queue at the same time, which is the disjunction in (6), where q with a flow subscript denotes the class of that flow, and a denotes an arrival instant; it has the form of (4) with the start of the later frame replaced by its arrival. A held frame is therefore alone in its class queue, so it is at the head of that queue when the gate of its class opens at its scheduled start, and frames of different classes are kept apart on the link by (4). The price of the family is that two frames of one class may not wait at the same port together, which removes part of the freedom that unrestricted holding would give. We use the condition of [5] per class and for schedules that hold frames, in place of per-frame release tables.
Once the transmission starts are fixed, the configuration of each egress port follows deterministically. For each scheduled class, the gate-open intervals on a link are the transmission intervals of the frame instances of that class that use it, each extended by the guard γ, as in (7) restricted to the class; the gate control list of the port is obtained by sorting these intervals, merging abutting intervals of the same class, and emitting for each merged interval an event that opens the gate of that class at its start and closes it at its end, with every scheduled gate closed at all other times. Because (4) separates the frames of different classes and (6) leaves at most one frame in a class queue at the start of each of its slots, the frame at the head of the queue when a gate opens is the frame scheduled for that slot. A bridge with first-in, first-out queues per class and a standard gate control list therefore reproduces the schedule without per-frame release tables. The installer of Section 4 performs this derivation. Because deadlines do not exceed periods, every transmission of a hyperperiod ends before the hyperperiod does; the guard after the last transmission may extend past the boundary by at most γ, and the model treats each hyperperiod separately. The model does not constrain the number of entries in a gate control list; the array-theory formulation of [6] does, and Section 7 notes it as a refinement.
3.4. Reconfiguration Requests and Schedule Churn
The cell begins each request with an installed schedule for the current flow set. A reconfiguration request specifies a new flow set derived from the current one by three kinds of edit: additions, which introduce flows with their full parameters and paths; removals, which delete flows; and retimings, which change the period, deadline, or frame length of an existing flow while keeping its identity and path. A request may combine several edits, as when a machine changeover adds the flows of one tool and removes those of another. Each request carries a reconfiguration window, the time by which the new schedule must be installed on the fabric, and the scheduler is judged against that window. Requests arrive over time as a sequence, so that the outcome of one request becomes the starting schedule of the next; a request that is refused leaves the schedule unchanged.
The scheduler’s response to a request is either a feasible schedule for the new flow set or a refusal that names the flows whose constraints could not be satisfied within the fixed part of the schedule and the time budget. A schedule for the new flow set is admissible only if it satisfies (2) to (6) for every flow in the set. Among admissible schedules the model prefers those that leave the offsets of retained flows unchanged. Churn is defined in (8) as the number of flows present both before and after the request whose talker offset differs between the two schedules. Each such flow must have its new offset distributed to its talker and its gate events re-installed on every bridge along its path, and each represents a change that the operator must verify, so churn measures the operational cost of changed offsets, beyond the compute time of a reconfiguration.
Churn is treated as an objective rather than a constraint. A scheduler that forbids any change to retained flows, as the incremental formulation of [9] does, refuses every request whose new flows do not fit the gaps of the current schedule; a scheduler that ignores churn will, on such requests, rearrange far more than necessary. The repair of Section 4 minimises the number of retained offsets that change among the flows it re-solves.
Churn counts offset changes only. A retained flow whose offset is unchanged may still receive new per-link starts, that is, different holds at the bridges, which changes its gate entries and, when the start on its last link moves, its delivered latency. We therefore also report the retained flows modified, those whose offset or any per-link start changed, next to χ in Section 6.6. Because χ is taken over ∩ ′, it includes retimed flows, whereas the retained flows modified exclude flows whose period the request changes; both are averaged over the installed requests.
We state the scheduling task of a request as an optimisation problem. Given the new flow set ′, the installed schedule Φ of the retained flows and a reference schedule (, ŝ) for every flow of ′, the repair subproblem for a set N ⊆ ′ is
where every offset ranges over 0 ≤ φ′f < Tf, as stated in Section 3.6; the weight M exceeds the largest possible displacement, Σf Tf, so that churn is minimised first and displacement from the reference second; and the starts of the flows in N are free within (3). Problem P is P(′), a full solve answers P, an incremental solve answers P(N) with N the new flows, and the repair of Section 4.6 answers P(V) for the set V of flows flagged by the checker, or P(N(j)) for the widened neighbourhoods of (13) when widening rounds are enabled. Scheduling for the time-aware shaper is NP-hard in its no-wait form [27], and Proposition 5 in Section 4.8 shows that, with frame lengths not restricted to the Ethernet range, deciding whether P has a feasible solution is NP-hard in the strong sense even when every flow crosses one link and the periods are harmonic; the complexity of P(N) for a bounded |N| is not established here. The decision variables of P(N) grow with the frame instances of N only, while the frame instances of the other flows enter as fixed intervals, which is why the repair confines N to V.
3.5. Architecture of the Configuration Entity
Figure 1 shows how the scheduler is placed within the cell. The architecture has three planes. The fabric plane at the bottom is the production cell itself: bridges connected by scheduled links, and end stations attached to them, each carrying gate control lists and talker offsets installed by the plane above. Reconfiguration requests originate here, from the cell controller or from an IIoT gateway that registers a new monitoring flow, and flow upward to the configuration plane. The fabric plane executes schedules and does not compute them.
Figure 1.
Three-plane architecture placing the GRAFT scheduler within the centralized network configuration entity of a production cell. The dashed box marks the GRAFT engine; (2) to (6) refer to Equations (2)–(6).
The configuration plane in the middle is the centralized network configuration entity of IEEE 802.1Qcc, and GRAFT is its scheduling component. Requests enter a queue that records their edits and their window. The graph builder reads the current schedule from the schedule store and constructs the flow-link graph that describes the new flow set, the links each flow occupies, and the offsets of retained flows. The proposal stage keeps the retained flows at their installed offsets and places the new flows around them, by a fixed rule in GRAFT-H or by the trained graph-neural policy in GRAFT-L. The exact checker evaluates (2) to (6) against the proposal and collects the set V of flows it flags in violated constraints. The repair stage solves a constraint-programming model over V, with the offsets of all other flows fixed, under the hard deadline B of (14); it returns a schedule that has passed the checker or, when no such schedule is found by the deadline, a refusal naming the flagged flows. The installer derives gate control lists from the accepted schedule by (7), distributes them together with the talker offsets to the fabric, and writes the new schedule to the store. The dashed frame marks the four stages that together constitute the GRAFT engine; the queue, store, and installer are the surrounding infrastructure that any scheduler in the configuration entity would use.
The learning plane at the top is used only by GRAFT-L; it runs offline and is decoupled from operation. An instance generator produces cell topologies, flow sets, and request sequences from the distribution described in Section 5; a scheduling environment presents them to the policy as episodes in which flows are placed one at a time and rewards feasibility, deadline slack, and low churn; and a proximal policy optimization trainer updates the graph-neural actor and critic. The output of the plane is a policy checkpoint, a frozen set of weights that is released to the configuration plane and replaced only when a new checkpoint is deliberately promoted. No learning takes place in the configuration plane, so the behaviour of the scheduler during operation is fixed and auditable, and a poor checkpoint degrades the share of requests the policy solves without repair but never the feasibility of what is installed.
3.6. Assumptions
The model rests on a small number of assumptions, each stated here so that the setting of the results in Section 6 is clear. Time synchronisation across the fabric is assumed to hold within a bound that the synchronisation margin and the guard γ cover; a synchronisation failure is a fault outside the scheduler’s remit and is handled by the fabric’s own mechanisms. Routes are fixed as stated in Section 3.1, and the scheduler does not reroute. Flow parameters supplied in a request are assumed accurate, in particular the maximum frame length, since a talker that exceeds its declared length would overrun its slot; enforcement of declared lengths is the responsibility of the talker’s own shaper. Bridges are assumed to forward scheduled frames within the processing delay declared for them, including the synchronisation margin, and store-and-forward operation is assumed so that a frame is fully received before it is forwarded. Best-effort and reserved traffic other than the scheduled flows is assumed to be kept off a link during scheduled transmissions by the gates of its own queues together with a guard band or frame preemption (IEEE 802.1Qbu [40]), so that it does not enter the constraints; Section 6.6 reports how much capacity the schedules leave for it; the interaction between the time-aware shaper and other shapers, examined in [28], is outside the model. Requests are assumed to arrive at the configuration entity through a reliable channel and to be processed one at a time in arrival order; concurrent requests are queued, and the window of a queued request continues to run while it waits, which is the reason scheduler latency and request rate interact in the evaluation. Finally, the configuration entity is assumed to have sufficient compute for the policy inference and the bounded repair; the budgets in Section 5 are set for a single processor core. Deadlines do not exceed periods, as stated in Section 3.3. Talker offsets may take any value within the period; IEEE 802.1Qcc lets a talker declare earliest and latest transmit offsets [12], which would narrow the range 0 ≤ φf < Tf and can be added to the model as bounds, and a changed offset also requires the producing application to shift its cycle by the same amount. The gate control lists derived in Section 3.3 cover the scheduled classes; the gate of best-effort traffic, open outside the scheduled windows with a guard band or preemption, is not part of the model. Throughout, the guard γ is the gap that the model keeps after every scheduled transmission on a link; it is distinct from the guard band of IEEE 802.1Qbv, which protects a scheduled window from a non-scheduled frame that started before it.
4. Methodology
4.1. The Request Cycle
GRAFT processes each reconfiguration request through the cycle shown in Figure 2. The graph builder turns the request and the current schedule into a flow-link graph. The proposal keeps every retained flow at its installed offset and proposes an ordering and an offset for each new flow and for each retimed flow whose installed offset no longer fits its period; GRAFT-H does this by a fixed rule and GRAFT-L by a trained policy (Section 4.3). The checker evaluates the four constraint families of Section 3.3 against the proposal and collects the flagged flows. If there are none, the proposal is installed. Otherwise, the repair stage solves a constraint-programming model over the flagged flows, with every other flow fixed at its proposed offset, under a deadline derived from the window; if the model is feasible, the repaired schedule is installed, and if it is not, the request is refused with the flagged flows named. The engine can also widen the neighbourhood over a fixed number of rounds before it refuses, and Section 6.2 measures that option. The cycle has two exits that install and one that refuses, and every installed schedule has passed the checker, which is what makes the feasibility guarantee independent of the quality of the proposal.
Figure 2.
The GRAFT request cycle with its two installing exits and one refusing exit. Numbers in parentheses refer to Equations (2)–(7), (13) and (14); the dashed arrow marks the optional widening rounds (J > 0).
The design puts a fast proposal before the exact stage and gives the exact stage a bounded task. The proposal places the flows that need a place around the installed ones; the solver sees only the part the proposal got wrong. When the proposal is good, the solver’s task is small, and the whole cycle runs in the time of the proposal plus a small CP solve; when it is poor on a given request, the solver’s task grows with the number of flagged flows, and the solver finds a schedule, proves that none exists with every other flow fixed, or reaches its deadline. The subsections that follow specify each stage.
4.2. The Flow-Link Graph
The state presented to the policy is a bipartite graph with one vertex per flow in the new flow set and one vertex per directed link of the fabric. A flow vertex is joined to every link vertex on the flow’s path, so the graph encodes the routes, and two flows share a neighbour exactly when they can contend for a link. Flow vertices carry a feature vector: the period, frame length, and deadline normalised by the hyperperiod and the link rate; the path length in hops; the number of frame instances in the hyperperiod; a flag stating whether the flow is retained from the current schedule; the current offset for retained flows, normalised by the period; a flag stating whether the flow has already been placed in the current episode, and its placed offset if so; and the slack of the flow as currently placed, defined as the margin by which its deadline is met. Link vertices carry the link rate, the number of flows routed over the link, the load of the link as the fraction of the hyperperiod already occupied by placed frames, and a coarse occupancy histogram over a fixed number of bins of the hyperperiod, which tells the policy where the free intervals on the link lie. Edge features carry the position of the link along the flow’s path and the transmission duration of the flow’s frames on the link.
The representation is invariant to the number of flows and links and to their identities, so a policy trained on cells of one size can be run on cells of another, which is the generalisation property that [19] argued for. It is also cheap to maintain across an episode: placing a flow updates the flow’s own features and the occupancy of the links on its path, and nothing else. The graph is rebuilt from scratch at the start of each request, since the retained offsets and the link occupancy they induce are part of the state that the policy conditions on.
4.3. The Proposals
Both proposals place the retained flows first, in deadline order, at their installed offsets and with their installed per-link starts where these remain valid for the new hyperperiod, and then place the remaining flows one at a time at an offset drawn from a grid of thirty-two cells per period, each cell represented by its earliest least-conflicting offset. The heuristic proposal of GRAFT-H orders the remaining flows by deadline and period and places each in the cell with the fewest conflicts, the earliest such cell on ties. The learned proposal of GRAFT-L replaces the order and the choice of cell by a trained policy, described next.
After the retained flows are placed, the policy places the remaining flows sequentially. At each step, it chooses a flow from those not yet placed and an offset for it, so the action is a pair as in (10). The offset is chosen from a grid of thirty-two cells that divide the flow’s period equally; each cell is represented by the earliest offset inside it, scanned at the minimum frame time, at which the flow’s frames conflict with the fewest frames already placed along the whole path, where a conflict is an overlap of transmission intervals in (4) or of queue occupancies of one class in (6), with (3) applied as an equality to obtain the frames’ positions on every link. The policy network is a message-passing graph neural network over the flow-link graph with a fixed number of rounds, followed by two heads: a flow head that scores each unplaced flow and an offset head that, conditioned on the embedding of the flow the flow head selected, scores every cell; the offset logits are reduced by a learned multiple of the logarithm of the cell’s conflict count, so that the network’s own preference among cells is expressed on top of the conflict structure rather than in ignorance of it. Both heads produce logits that are converted to a distribution through a mask, as in (10): the mask removes flows already placed and, for the offset head, keeps only the cells whose representative offset conflicts with no placed frame on any link of the path and meets the flow’s own deadline; when no cell is conflict-free, every deadline-feasible cell stays open, and the conflict term guides the choice toward the least conflicting one. Apart from retained flows whose installed starts no longer fit a changed hyperperiod, a proposal can therefore violate a constraint only when the chosen flow finds no free cell at the moment it is placed, which happens when flows placed earlier have fragmented the space it needs; the placement order, which the flow head learns, is what governs how often that occurs.
Retention is enforced by the placement order rather than learned. The policy never re-places a retained flow, so the proposal moves no retained flow; moving one is left to the repair stage, whose churn-dominant objective (Section 4.6) charges every changed retained offset more than any displacement. For a retimed flow whose installed offset no longer fits its new period, the grid position nearest that offset receives an additive bonus to its logit before masking, a trainable scalar shared across flows that training left unchanged (Table S1 of the Supplementary Materials). Section 6.3 compares this design with a variant in which the policy re-places every flow, retained flows included, with the bonus applied to the installed offset of every retained flow.
Algorithm 1 states the proposal procedure. The output is an ordering, given by the sequence in which flows were selected, and a proposed offset for every flow. The ordering matters to the checker only as a tie-break and to the repair model as the source of the warm start; the offsets are what the checker evaluates.
| Algorithm 1. Policy proposal over the flow-link graph. |
| Input: new flow set ′ with paths; current offsets φold for retained flows; trained policy πθ.Output: proposed offsets for every flow in ′ and the placement order. 1: build the flow-link graph G from ′ and the fabric; mark retained flows and load φold into their features 2: P ← every retained flow f with φoldf < Tf, each placed at φoldf with its installed per-link starts where they remain valid; O ← empty list 3: while P ≠ ′ do 4: run the message-passing network over G to obtain flow and link embeddings 5: compute flow logits for ′\P and select flow f by the masked distribution of (10) (greedy at inference, sampled in training) 6: scan each of the 32 cells of Tf for its least-conflicting offset against placed frames along πf; compute offset logits and subtract the conflict term; add the retention bonus at the cell nearest φoldf if f is a retimed flow 7: keep the cells whose representative offset is conflict-free along πf and meets Df (all deadline-feasible cells if none is); select f by (10) 8: add f to P and to O; update the features of f and the occupancy of every link on πf 9: end while 10: return and O |
4.4. Training the Policy
The policy is trained by proximal policy optimization [41] in the learning plane of Figure 1, on episodes generated by the instance generator described in Section 5. An episode begins with a cell, a current schedule for its flow set, and a request; the request is applied to produce the new flow set; the policy places the flows one at a time as in Algorithm 1, sampling rather than choosing greedily; and the episode ends when every flow is placed. The reward at each step, given in (11), has four terms. The first is one when the selected flow is not among the flagged flows after its placement, which the environment computes exactly by running the checker incrementally. The second penalises the increase in the number of flagged flows caused by the step, so that a placement that breaks several existing placements is worse than one that breaks one. The third penalises moving a retained flow away from its current offset, which is the churn term. The fourth rewards the positive part of the deadline slack of the placed flow, scaled by a small weight, so that among feasible placements the policy prefers those that leave margin for later flows and for retimings. The sum of rewards over an episode is therefore high when the proposal is feasible, moves few retained flows and leaves slack, and it degrades in proportion to how much repair work the proposal would need.
The actor and critic share the message-passing encoder and differ in their heads; the critic’s head pools the flow embeddings and outputs a scalar value. Training maximises the clipped surrogate objective of (12) with generalised advantage estimation and the clipping parameter, learning rate, and batch sizes given in Table 3. Episodes are drawn from cells of several sizes within each batch so that the policy does not specialise to one and from request sequences rather than isolated requests so that the retained-offset state the policy sees in operation is represented in training.
Table 3.
Default operating parameters of GRAFT.
4.5. The Constraint Checker and the Repair Neighbourhood
The checker takes the proposed offsets and computes, for every flow, the transmission starts on every link of its path: a retained flow whose proposed offset equals its installed offset keeps its installed per-link starts when its period and the hyperperiod are unchanged, and every other flow receives starts obtained by applying (3) as an equality along the path, that is, by assuming that each frame is forwarded as soon as it can be. It then tests (4) for every pair of frame instances on every link, (5) for every frame instance at its last link, and (6) for every pair of frame instances of one class on every link after the first. The set V of flagged flows collects the flows of every failed progression and deadline test and both flows of every overlapping pair of intervals that are adjacent in start order on a link or in a class queue. Proposition 1 in Section 4.8 shows that this test detects every violation of (4) and (6), so the checker returns the empty set exactly when the schedule is feasible; it sorts the intervals of each link and queue and takes 1.5 to 7.4 ms on the initial schedules of the cells of Section 5.2.
The repair neighbourhood is the flagged set V. With every other flow fixed at its proposed offset and starts, P(V) asks whether the flagged flows, retained flows among them, can be placed without touching the rest of the schedule; it is the smallest model the engine builds for a request. The engine also supports J widening rounds, in which the neighbourhood grows by the rule in (13). A flow enters the neighbourhood at round j if it shares a link with a flow already in the neighbourhood and its proposed transmission start on that link lies within a proximity window of the other flow’s start, with the window doubling at each round from an initial value ρ0 of a few frame transmission times. The rule bounds the neighbourhood by proximity rather than by a fixed count, because the number of flows that need to move depends on the density of the schedule around the violation. Section 6.2 compares the repair over V with two widening rounds.
4.6. The Repair Model and Its Budget
The repair model is a constraint program in the interval-variable formalism described by Laborie et al. [42], which we solve with the CP-SAT solver of Google OR-Tools [43]. For every flow in the repair model and every link on its path, there is one start variable, and for every frame instance, there is an interval variable of length equal to the frame’s transmission time plus the guard γ whose start is the link’s start variable shifted by k periods, so that the schedule stays periodic. Frame instances of flows outside the neighbourhood are fixed intervals at their proposed or installed starts. On each link, a no-overlap constraint over all transmission intervals on it, fixed and free, enforces (4); on each link after the first, a second no-overlap constraint per class over queue-occupancy intervals, each running from the frame’s arrival to the end of its transmission plus the guard, enforces (6); precedence constraints between consecutive links of a path enforce (3); and an upper bound on the end of the last interval enforces (5). The talker offset of a flow in the neighbourhood is the start variable of its first link.
The objective has two terms with a fixed precedence. The first is churn, the number of retained flows in the neighbourhood whose offset differs from the current installed offset, computed by (8) over the neighbourhood; the second is the total absolute displacement of neighbourhood flows from their proposed offsets, which keeps the repair close to the proposal. The two are combined into one objective in which the churn term carries a weight larger than any possible displacement, so that the solver minimises churn first, and the solver stops as soon as the gap between its incumbent and its bound falls below the churn weight, which places the churn of the incumbent within one retained flow of the optimum and spares the solver the proof of optimality on the displacement term that would otherwise consume the round’s budget; an incumbent found when the deadline is reached is returned as it stands. The solver is warm-started from the proposal: the proposed offsets are supplied as a starting assignment, infeasible as it is, so that the search begins near the proposal rather than from an empty assignment.
The time budget is derived from the reconfiguration window as in (14). From the window are subtracted the time already elapsed since the request arrived, including any time spent queued and the proposal; the time reserved for installation, which is the staging exchange of Section 4.7 and is measured on the fabric; and a fixed safety margin. The remainder is the repair budget B, so that τelapsed is measured when the repair starts. With the default of no widening rounds, the repair over the flagged flows receives all of B. When J widening rounds are enabled, B is divided among the rounds so that each round receives half the budget of the one before, which gives the round over the flagged flows, whose model is the smallest, the largest share. The budget is enforced as a hard deadline: round j must end by the cumulative share b0 + … + bj measured from the start of the repair, and the time it spends building its model counts against that deadline, so time saved by a round that ends early carries forward and an overrun is charged to the next round. A round starts only if at least 10 ms of its deadline remain, a round before the last whose neighbourhood did not grow is skipped with its share carried forward, and no round runs past B. A round that finds a feasible schedule ends the repair, and the time it leaves unused remains with the installation stage.
Algorithm 2 states the checker and repair procedure. Its guarantee is a consequence of its structure rather than of any property of the proposal: a schedule is returned only if the checker passes it, so every constraint of Section 3.3 holds.
| Algorithm 2. Check and repair over the flagged flows, with optional widening rounds. |
| Input: proposed offsets and order O from Algorithm 1; current offsets φold; budget B and rounds J (J = 0 by default). Output: a feasible schedule Φ′ with its churn set, or a refusal naming the flagged flows. 1: compute the transmission starts implied by along every path, keeping the installed starts of flows at their installed offsets and applying (3) as an equality otherwise 2: V ← flows flagged by the checker of Section 4.5 3: if V = ∅ then return with churn set {f retained: f ≠ φoldf} 4: N ← V; ρ ← ρ0 5: for j = 0 to J do 6: build the interval model over N with all other flows fixed at ; warm-start from 7: solve P(N) with the churn-dominant objective until the deadline b0 + … + bj from (14), model building included; skip the round if less than 10 ms remain, or if 0 < j < J and N did not grow 8: if the solver returns a feasible assignment then 9: Φ′ ← with the offsets and starts of N replaced by the solver’s; if the checker returns ∅ on Φ′ then return Φ′ with churn set {f retained: φ′f ≠ φoldf}, else return refusal naming V 10: end if 11: if j < J then N ← N ∪ {g ∉ N: g shares a link ℓ with some f ∈ N and |ŝℓg − ŝℓf| ≤ ρ}; ρ ← 2ρ 12: end for 13: return refusal naming V |
4.7. Installation and Controller Integration
The installer converts an accepted schedule into the configuration that the fabric needs and distributes it through the exchange shown in Figure 3. From the offsets, it computes the transmission starts on every link and, for every egress port, the gate-open intervals of (7), which it sorts and merges into a gate control list, with one gate per scheduled class as in Section 3.3. Ports whose lists did not change between the old and new schedule, which is the common case when churn is low, are excluded from the distribution. The exchange has seven messages. REQUEST carries the edits and the window from the cell controller or gateway to the configuration entity, which queues it and, when its turn comes, passes it to GRAFT with the derived budget in SCHEDULE. RESULT returns either the feasible offsets and the churn set or a refusal with the violating flows. PREPARE carries to each affected bridge its new gate control lists and to each affected talker its new offset, together with an activation instant chosen as a hyperperiod boundary far enough ahead that every device can stage the change; READY is each device’s confirmation that the change is staged; and COMMIT instructs the devices to switch at the activation instant. On an IEEE 802.1Qbv bridge, PREPARE corresponds to writing the administrative gate control list, its cycle time, which changes when a retiming changes the hyperperiod, and its administrative base time, and COMMIT to setting the configuration-change trigger, after which the operational list takes effect at the base time [2]; this holds when COMMIT reaches every bridge before the base time, since a later trigger moves the change to a later cycle boundary, which is why the entity sets the activation instant far enough ahead. Talker offsets correspond to the time-aware offset that IEEE 802.1Qcc returns to a talker [12]. OUTCOME reports to the requester that the schedule was installed, with the time it took, or that it was refused, with the flows named.
Figure 3.
The message exchange through which a request is scheduled, staged, and committed. Algorithms 1 and 2 are given in Section 4.3 and Section 4.6, and (14) refers to Equation (14).
The staged commit addresses the transient inconsistency that Pang et al. [30] identified: when all devices switch at the same hyperperiod boundary, the fabric moves from the old schedule to the new one atomically with respect to scheduled frames, and no frame is forwarded under a mixture of the two. If any device fails to report READY before the activation instant, the entity withholds COMMIT and aborts the staged change, the current schedule stays in force, and the request is reported as failed at installation rather than at scheduling; the evaluation counts such cases separately. The window runs from REQUEST to COMMIT, and the installation time reserved in (14) is the measured duration of the PREPARE to COMMIT exchange on the fabric, which the entity tracks as a running estimate.
Requests are served one at a time in arrival order. A request that arrives while another is being scheduled waits in the queue, and its elapsed time, which (14) subtracts from its window, accumulates while it waits. This is the mechanism through which scheduler latency and request rate interact: a slow scheduler consumes the windows of the requests behind it, and a request may be refused on budget even though its own scheduling would have been quick. The evaluation in Section 6 varies the request rate for that reason.
4.8. Analytical Properties of the Engine
Five properties support the evaluation, four of Algorithms 1 and 2 and one of the problem they solve. We state them as propositions over the model of Section 3, in which each hyperperiod is treated separately; Section 6.7 tests Propositions 1 and 2 on random instances and on every installed configuration, and Section 6.4 measures Δ of Proposition 3.
Proposition 1
(Exact checker). Let Φ assign to every flow f of ′ an offset 0 ≤ φf < Tf and periodic per-link starts, either supplied or obtained from (3) as an equality, and let n be the number of frame-instance intervals that Φ induces on the links and class queues of the cell in one hyperperiod. The checker of Section 4.5 returns the empty set if and only if Φ satisfies (2) to (6), and it runs in O(n log n) time.
Proof.
Constraints (2), (3), and (5) and the range of the offset concern one frame instance at a time, and the checker tests each of them directly, so a flow that violates one of them enters V. For (4), sort the transmission intervals [s, s + df + γ) of one link by start, s1 ≤ s2 ≤ … ≤ sm, with ends e1, …, em. The checker flags every adjacent pair with si+1 < ei. If some pair i < j overlaps, then sj < ei, and since si+1 ≤ sj, also si+1 < ei, so the adjacent pair (i, i + 1) is flagged; conversely, every flagged pair overlaps. A link therefore satisfies (4) exactly when no adjacent pair is flagged. The same argument applies to the queue-occupancy intervals of each class on each link after the first, which are the intervals of (6). The checker also tests that successive instances of a flow do not overtake one another and that two instances of one flow do not overlap in a class queue; with periodic starts, Df ≤ Tf and a processing delay of at least γ, both hold whenever (2) to (6) hold, so these tests never flag a feasible schedule. Hence V = ∅ exactly when (2) to (6) hold. Building the intervals takes O(n) time, sorting the intervals of all links and queues O(n log n) in total, and each adjacent-pair scan is linear. The bound therefore covers the whole call, from the offsets to the verdict: deriving the per-link starts by (3), building the interval lists of every link and class queue, sorting them, and scanning them; the flows, their paths, and their parameters are the input, built once per request by the graph builder of Section 4.1. □
Proposition 1 makes the checker exact as a feasibility test. The set V need not contain every flow that takes part in a violation, but it meets every violated pair: if intervals i < j overlap, the adjacent pair (i, i + 1) is flagged, so the earlier interval of every overlapping pair belongs to a flagged flow. The flows outside V therefore never conflict with one another, and the repair model, which enforces (2) to (6) between every flow of V and every other flow, removes every violation; the final check of Algorithm 2 confirms it.
Proposition 2
(Soundness for any proposal). For any proposal, every schedule that Algorithm 2 returns satisfies (2) to (6) for every frame instance of every flow in′.
Proof.
Algorithm 2 returns a schedule in two branches. At line 3, it returns the proposal only when the checker returns V = ∅, and by Proposition 1, the proposal then satisfies (2) to (6). At line 9, it assembles Φ′ from the proposal and the solver’s assignment of the flows in N and returns it only if the checker returns the empty set on Φ′, so Proposition 1 applies again. Neither branch depends on how was produced: a proposal of random offsets yields a larger V and a longer repair, but no infeasible schedule can be returned. □
Every baseline of Section 5.6 also checks its output before installation, so Proposition 2 does not separate GRAFT from them; what it establishes is that the proposal of GRAFT may be any heuristic or policy, including one without guarantees, without affecting the feasibility of what is installed. Proposition 2 places no condition on the solver either. A call that reaches its time limit without an assignment leads to a refusal, which leaves the installed schedule unchanged, and an assignment from a search stopped at its limit is installed only after it passes the same final check, since feasibility does not require optimality. The guarantee concerns constraints (2) to (6); that an installed schedule behaves on the network as modelled rests on the assumptions of Section 3.6 and on the scope stated in Section 7.2: device clocks synchronised within the bound that the guard γ and the synchronisation margin cover, guards that do not cross the hyperperiod boundary, and gate control lists long enough for the configuration.
The next result bounds the decision time under an explicit assumption on the solver. Assumption A: a solver call returns within a stop latency after its time limit, and a model build that has started completes within a bounded time; both grow with the number of frame instances in the model, fixed ones included, and Section 6.4 measures them against the cell size. The proposal is not time-limited; it enters the bound through τelapsed.
Proposition 3
(Bounded decision time). Under Assumption A, let the repair of a request that arrived at ta start at t0 with the budget B of (14), so that τelapsed = t0 − ta, and let Δ be the largest delay between the instant a solver call reaches its time limit, or a model build that has started completes, and the instant control returns to Algorithm 2, together with one run of the checker and, when J > 0, the at most J neighbourhood updates of (13). Then round j of Algorithm 2 ends no later than t0 + max(b0 + … + bj, 0) + Δ, and the repair returns, with a schedule or a refusal, no later than t0 + max(B, 0) + Δ; for B ≥ 0 this is ta + W − τinstall − τmargin + Δ.
Proof.
Write cj = b0 + … + bj, so that cJ = B by (14). Round j starts at some t ≥ t0 and, if it runs, receives the time limit cj − (t − t0), with its model building counted against it; a round with less than 10 ms remaining, or a round before the last whose neighbourhood did not grow, is skipped. A round that runs therefore reaches its limit no later than t0 + cj and returns control within the solver and model-building part of Δ, and a skipped round performs at most a neighbourhood update. For j = 0 the round either runs and ends by t0 + c0 + Δ or is skipped, which happens when B < 10 ms and costs only the checker run that Δ includes. If round j ends by t0 + max(cj, 0) + Δ, round j + 1 starts by then; if it runs, its cumulative limit makes it end by t0 + cj+1 + Δ, and if it is skipped, it ends after one neighbourhood update, which Δ covers. By induction, the bound holds for every round, and for j = J, it gives t0 + max(B, 0) + Δ, which for B ≥ 0 equals ta + W − τinstall − τmargin + Δ by (14). □
Proposition 3 gives the condition under which the window is met. The installation ends within the window when Δ, together with the entity’s bookkeeping after the decision and any excess of the actual installation time over τinstall, stays within τmargin. Δ grows with the number of frame instances in the model (Assumption A) and depends on the controller, so the margin that meets the condition is chosen from the Δ measured on the controller that runs the engine. Our runs used one margin of 10 ms for every cell size; the largest overrun of GRAFT-H was 2, 16, and 47 ms on the small, medium, and large cells, and Section 6.4 reports the outcome of the decisions that exceeded the margin.
The fourth result gives a condition under which Algorithm 2 is certain to return a schedule. A solver call completes when it returns before its time limit. Assumption B: a call that completes returns a feasible assignment if the model has one and reports infeasibility otherwise. CP-SAT [43] is complete on the finite integer domains of the model and, with only the time limit and the absolute gap limit set and its default memory limit not reached, stops early only after proving infeasibility or reaching the gap limit, which requires an incumbent; a round whose model building leaves no time for the solver makes no call.
Proposition 4
(Completeness relative to the neighbourhood). Under Assumption B, let round j of Algorithm 2 run and make a solver call that completes, and let P(N(j)) be feasible. Then Algorithm 2 returns a schedule in round j. Because V = N(0) ⊆ N(1) ⊆ … ⊆ N(J), P(N(j)) is feasible whenever P(V) is.
Proof.
Since round j runs, no earlier round has returned. In round j, the model has the frame instances of the flows in N(j) as variables and those of every other flow as fixed intervals at the reference starts ŝ computed at line 1, the installed starts of retained flows kept at their installed offsets and the earliest starts by (3) otherwise, which are the values that (9) fixes; it enforces the offset range and (2) to (6) for every flow of N(j) against every flow of ′. Every flow outside N(j) lies outside V, because N(j) ⊇ V; by the definition of V, it passes every single-flow test of the checker (release, progression, deadline, and offset range), and by the remark after Proposition 1, no two such flows form an overlapping pair. All data are integers in µs; once the order of every disjunction in (4) and (6) is fixed, the remaining constraints are difference constraints with integer constants, so rounding every free time down preserves them, and P(N(j)) has an integer solution whenever it has one. The domains of the model contain every integer solution, and its no-overlap between instances of one flow in a class queue holds in every solution, as in the proof of Proposition 1. The model is therefore feasible because P(N(j)) is, and by Assumption B, the call returns an assignment. The schedule Φ′ assembled from it satisfies (2) to (6), the checker returns the empty set on Φ′ by Proposition 1, and Algorithm 2 returns Φ′ at line 9. For the last statement, a feasible solution of P(N) is feasible for P(N′) whenever N ⊆ N′, since the flows of N′\N may keep their reference values. □
With the default J = 0, the only neighbourhood is V, so by Proposition 4, a refusal in which the solver call completed proves that the flows of V cannot be placed with every other flow fixed at its reference offset and per-link starts, while a refusal at the deadline is bound by the budget. Section 6.3 reports that 90.5 to 99.4 percent of the refusals of GRAFT-H end more than 10 ms before the deadline, which under Assumption B means a completed call that reported P(V) infeasible. Over all 777 solver calls of GRAFT-H in the main comparison, 747 (96.1 percent) ended more than 10 ms before their limit; of the 30 that reached it, eight returned an assignment that passed the final check and 22 ended in a refusal. Proposition 4 does not cover these 30 calls, but Propositions 2 and 3 do: each of them installed a checked schedule or left the installed schedule unchanged, within the bound on the decision time. A request that could be admitted only by moving a flow outside the final neighbourhood is refused, which is the price of bounding the model. Conversely, under Assumption B, a refusal in which the solver call completed means that every feasible schedule for the request moves a flow outside the neighbourhood away from its reference offset and per-link starts, the installed ones for a retained flow and the proposed ones otherwise. The justification of the neighbourhood is therefore theoretical for these guarantees and numerical for the choice of V itself, and the numbers favour V in both directions: a wider model admits fewer requests within the window, because its decisions take longer (full CP 13.6 fewer per run, Section 6.1; two widening rounds, with the front-loaded and the late-loaded split, 3.7 and 5.9 fewer, Section 6.2), and so does a narrower one (retained flows fixed, 4.3 fewer, Section 6.2). Proposition 4 concerns Algorithm 2 as stated; the arms of Section 6.2 that hold retained flows or their offsets fixed solve restricted models to which it does not apply.
Proposition 5
(Hardness). When frame lengths are not restricted to the Ethernet range, deciding whether P has a feasible solution is NP-hard in the strong sense, even if every flow of′ traverses the same single link, the periods are harmonic, every deadline equals its period, γ = 0, and the propagation and processing delays are zero.
Proof.
We reduce from 3-PARTITION, which is NP-complete in the strong sense [44]: given positive integers a1, …, a3m and B with B/4 < ai < B/2 and a1 + … + a3m = mB, decide whether they can be partitioned into m triples that each sum to B. We take the transmission times df as given positive integers; a link rate of 168 Mbit/s with frame lengths Lf = 21df − 20 bytes realises them exactly under the rounding of Section 3.3, with lengths outside the Ethernet range where df is small or large, which (2) to (6) do not involve; the installed schedule and the reference do not affect feasibility. Build one link and 3m + 1 flows on it: a separator g with Tg = Dg = B + 1 and dg = 1 and flows f1, …, f3m with Ti = Di = m(B + 1) and di = ai. The periods are harmonic, H = m(B + 1), g has m frame instances and each fi one, so the instance has 4 m intervals, and its numbers are bounded by a polynomial in m and B. On a one-link path, (3) relates no pair of links, and (6) applies only to links after the first of a path (Section 3.3), so it imposes nothing; a schedule is therefore feasible exactly when every offset satisfies 0 ≤ φf and φf + df ≤ Tf, by the offset range of (9) and by (5), and the intervals [kTf + φf, kTf + φf + df) of all instances are pairwise disjoint, by (4). If the triples S1, …, Sm exist, set φg = B, so that g occupies the last unit of every block [(k − 1)(B + 1), k(B + 1)), and place the three flows of Sk one after another from (k − 1)(B + 1); they fill the first B units of block k and end within their period. Conversely, take a feasible schedule. The instances of g occupy [k(B + 1) + φg, k(B + 1) + φg + 1) for k = 0, …, m − 1 with 0 ≤ φg ≤ B, and split the rest of [0, H) into the segment [0, φg), the m − 1 segments of length B between consecutive instances of g, and the segment [(m − 1)(B + 1) + φg + 1, H) of length B − φg. The single instance of fi lies in [0, H) because 0 ≤ φi and φi + ai ≤ H, and it avoids the instances of g, so it lies within one segment. The segments have total length mB, equal to the total transmission time of the fi, and the instances in a segment fill at most its length, so each segment is filled exactly. The flows in each inner segment therefore sum to B, and those in the first and last segments together sum to φg + (B − φg) = B, which gives m groups that each sum to B; since B/4 < ai < B/2, each group has exactly three members. The construction takes polynomial time, so deciding feasibility of P is NP-hard in the strong sense. □
A one-link path arises, for example, for an inter-cell flow from a boundary bridge port to a station on that bridge. Proposition 5 is the reason the repair bounds its model rather than solving P: unless P = NP, no algorithm decides P with unrestricted frame lengths in polynomial or even pseudo-polynomial time, even on one link. Bounding the model to the frame instances of V does not make P(V) easier in the worst case, since P(V) is P when every flow is flagged; it bounds the size of the model. With frame lengths bounded by the Ethernet range, a link carries a bounded number of distinct transmission times and the construction does not apply; the complexity of that case, and of P(N) for a bounded |N|, is not settled here. In practice, with Ethernet frame lengths, solving the whole schedule is already costly on our cells: the initial full CP solve took up to 255 s on the most demanding cell (Section 5.2), and full CP, limited by its decision time, installs 13.6 fewer requests per run within the window than GRAFT-H (Section 6.1).
4.9. Default Operating Parameters
Table 3 lists the parameters that the design introduces, with the values used in Section 5 unless a study varies them. The policy parameters follow common practice for graph-neural policies trained with proximal policy optimization, kept small because inference shares a single core with the rest of the configuration entity, and were not tuned on the evaluation instances. The repair confines its model to the flagged flows (J = 0); the initial proximity window and the front-loaded split apply only when widening rounds are enabled, and Section 6.2 compares the two settings.
5. Experimental Setup
5.1. Objectives and Protocol
We evaluate GRAFT with measurements taken from a running system rather than from static instance sets. Everything reported in Section 6 was produced by the harness described here: GRAFT and its baselines were run as the scheduling component of an emulated configuration entity, requests arrived over time against a live schedule, every accepted schedule was installed on emulated devices through the exchange of Figure 3, and at the end of each run, the devices’ actual installed configurations were read back and replayed. The scheduler thus runs in the loop of a configuration entity, as discussed in Section 2.4. It measures the interaction between scheduler latency, request rate and window that a static evaluation cannot, and it checks that what was installed is what was computed.
The emulation is software only. Bridges and end stations are processes on one host, links are loopback sockets, and no physical TSN hardware is involved. Absolute figures for scheduler latency are therefore figures for the implementation on the host described in Section 5.4, and the installation exchange measures message round trips on loopback rather than on a real management network.
5.2. Cells and Flow Sets
Three cell sizes were generated, each with three seeds, so that every comparison rests on nine cells. A cell has a tree of bridges, five to eight in number, with end stations attached to bridges at random; the station population mixes programmable logic controllers, drives, sensors, cameras and gateways, and the flows drawn between them follow this mix, which is our design rather than a measured cell: control flows with periods of 250 µs to 2 ms and frames of 64 to 256 bytes, monitoring flows with periods of 1 to 8 ms and frames of 256 to 1000 bytes, and video flows with periods of 2 to 8 ms and full-size frames. Deadlines equal periods, and video flows are scheduled as time-triggered traffic like the others. Paths have three to nine links, 4.5 on average. Links run at 100 Mbit/s, and every link carries a processing delay of 4 µs, one allowance that covers the switching latency of the emulated bridge and the synchronisation margin without separating them, at the bridge that follows it and a 2 µs inter-frame guard, which together cover the ±1 µs device clock error described in Section 5.4. Table 4 gives the cells.
Table 4.
The nine cells, with the utilisation of the busiest link and of the mean link at the initial schedule.
The busiest link of every cell carries between 38 and 70 percent of its capacity in scheduled frames, guard included, while the mean link carries about a tenth. In this load profile, which the tree topology produces, a few uplinks toward the controller bridge are congested and most links are nearly idle, and it is the regime in which scheduling is hard: the incremental list scheduler refuses 20 to 32 of the 40 requests in a run on these cells. The column of frame transmissions counts every frame instance on every link of its path in one hyperperiod.
Each cell starts with an installed schedule computed by a full CP solve with a 300 s limit, warm-started from the list scheduler’s placement where the list scheduler finds one; the solve took 0.2 s on the lightest small cell to 255 s on the most demanding large cell. The generator draws each cell from a seed q + 1000r, q being the base seed of the cell, and we used the first draw r ≥ 1 that full CP scheduled within 300 s. This was the first draw for seven cells, the second for the second medium cell and the third for the third large cell; the acceptance rule selects cells that an exact solver can schedule from scratch, which excludes the most heavily loaded draws. The rule concerns only the initial schedule: the cells hold 39 to 107 flows after the requests of the main comparison and the busiest link is busy for 51 to 70 percent of the hyperperiod and idle for the remaining 30 to 49 percent (Section 6.6); at this load, full CP ran 459 of its 719 scheduled decisions to their deadline (Section 6.1). Under the zero-queuing condition, in which (3) holds with equality so that no frame waits at a bridge, CP-SAT proves the initial flow set of every one of the nine cells infeasible, within 0.6 to 29 s, while the first ten flows of eight of the cells remain feasible. On the first large cell a single pair already admits no such schedule: a 250 µs control flow with 100-byte frames and a monitoring flow with 1000-byte frames that share four links, because without holds the slot of the monitoring frame moves 72 µs later against the control frames at every hop. The holds that (3) permits are therefore needed on every cell. The initial schedule, with its per-link starts, is loaded into the schedule store of the configuration entity and installed on every device before the first request arrives, so all schedulers begin every run from an identical state.
5.3. Request Sequences and Windows
For each cell, a sequence of 60 requests was drawn once and stored, and the first 40 were used in every run on that cell, so that every scheduler on a given cell faces the same requests in the same order. Requests are of four kinds in the proportions of Table S2 of the Supplementary Materials: additions of one to five new flows; swaps that add one to five flows and remove one to three; removals alone; and retimings that change the period of one or two existing flows to another value admissible for their kind. Each request carries a window drawn uniformly from 200 ms, 500 ms, 1 s, and 2 s. We take 200 ms as a tight window and 2 s as a loose one, as design values, and mixing them within a run tests every scheduler on both.
Requests arrive as a Poisson process. The mix is weighted towards additions and swaps, the requests that can fail, because a pure removal always fits the installed schedule. The main comparison uses a mean rate of one request per second; the rate study uses 0.5 and 2 per second on one medium cell. At one request per second, the mean inter-arrival time exceeds the scheduling time of every scheduler on the small cells but not always on the medium and large cells, so queueing is present and its effect on windows is part of what is measured. The sequences make the cell grow: over 40 requests, 61 to 92 flows are added and fewer removed, so later requests face a denser schedule than earlier ones, and admission becomes harder as a run proceeds. Since every scheduler faces the same sequence, this growth is a controlled property of the protocol rather than a confound, but it does mean that the outcome of a request depends on which earlier requests the scheduler admitted; a scheduler that refuses more requests keeps its cell sparser. Section 6 reports admissions together with the resulting flow counts for that reason. Because the cells of different schedulers diverge, a later removal or retiming may name a flow that one scheduler admitted and another refused. The rule applied uniformly is that an edit naming a flow absent from the scheduler’s cell is dropped from the request; the request keeps its remaining edits and its window, passes through the scheduler like any other, and is counted under the kind it was issued as. A removal whose only edit is dropped therefore reaches the scheduler as a request with no change to the flow set, which every scheduler admits, and a retiming whose flow is absent likewise. The counts by request kind in Section 6 are on requests as issued, and a scheduler that admitted fewer flows earlier faces more dropped edits later, which works in its favour on removals and retimings.
5.4. The Emulated Deployment
Figure 4 shows the harness. Every box is a separate operating-system process and every link is a TCP socket on the loopback interface of a single cloud virtual machine with two processor cores and 7 GB of memory, recorded as an Intel Xeon processor at 2.1 GHz when the software environment was captured; the processor model was not logged per session. Each run is pinned to one core by processor affinity, and the scheduler and every device process of the run share that core, so scheduler latency and device processing compete for it as they would on a small industrial controller; the two cores executed different runs concurrently, and every arm of the main, rate and ablation studies ran in one session with the same code; the arms of Section 6.2 that isolate the source of the gain and the ablation at 0.5 requests per second ran in two later sessions with options added to the same code, whose default paths were unchanged. Because host timing decides whether a request lands inside its window, a rerun is expected to differ by up to two requests per run for GRAFT-H, as between the three executions of one medium cell, which installed 18, 20 and 20 within the window (Section 6.1), and absolute times will differ on another host. The configuration entity holds the request queue, the scheduler under test and the installer. Each bridge of the cell is one process and holds, for each of its egress ports, the gate control list of (7) with one gate per scheduled class; the end stations attached to a bridge are represented by one agent process per bridge that holds their talker offsets. Every device has a clock error drawn uniformly within ±1 µs from a seed of the cell, the execution and the device, which it keeps for the run, so that every scheduler on a given cell and execution sees the same clock errors and different executions see different ones, and every device takes 3 to 8 ms to stage a configuration on PREPARE before it answers READY.
Figure 4.
The emulated deployment, with the scheduler under test as a component of the configuration entity. (14) refers to Equation (14); the dashed frame encloses the processes that run on the single host.
The entity serves requests one at a time in arrival order. For each request, it derives the budget by (14) from the window, the time already spent queued, a running estimate of the installation exchange and a 10 ms margin, calls the scheduler under test, and on a feasible result runs the PREPARE, READY and COMMIT exchange with every device whose configuration changed, with the activation instant set 50 ms after PREPARE is sent. In the emulation the devices activate the staged configuration on receiving COMMIT and the activation instant serves as the deadline for READY, so the emulation exercises the staging and the abort path but not a synchronised switch at a hyperperiod boundary. Devices whose gate lists, tables, and offsets are unchanged are not contacted. A request is recorded as installed within its window when COMMIT completes within the window, as installed after its window otherwise, as refused by the scheduler when the scheduler returns no schedule, as refused on budget when the remaining budget at the time the request reaches the head of the queue is below 50 ms, and as failed at installation when any READY is missing before the activation instant. Every timing in the records is wall-clock time measured in the entity.
The injector sends the stored sequence at the chosen rate and collects OUTCOME records. After the last outcome, it queries every device for its active configuration and replays one hyperperiod of scheduled traffic on what it finds, and in addition every configuration that the entity distributed during the run is replayed after the run in the same way with the run’s clock errors, so that every installed configuration is replayed: each frame is released by its talker at its installed offset under the talker’s clock, joins at each bridge port the first-in, first-out queue of its class, leaves it when it is at the head of the queue, the gate of its class is open for the whole frame under that bridge’s clock and the link is free, and is delivered at the listener; no per-frame release information is used, so the replay runs the schedule under our model of 802.1Qbv semantics; the replay records per-flow end-to-end latency, jitter across instances and deadline misses. A miss is an arrival later than the flow’s deadline by more than a tolerance of 2 µs, twice the clock error bound. The tolerance is needed because the model of Section 3 protects link exclusivity against clock error through the inter-frame guard but places no margin on the deadline constraint (5) at the last hop, so a frame whose talker clock runs ahead and whose last bridge clock runs behind can arrive up to 2 µs after its nominal deadline even when the schedule is exact; the tolerance admits that and nothing more, and the replay at the nominal error can therefore report zero misses only if the installation path is correct. The read-back replay reads the devices rather than the entity’s store, so an installation that left the fabric inconsistent, or a gate list derived or distributed wrongly, would show as misses; since the guard is sized to absorb the clock error the replay injects, a schedule that passed the checker and was installed correctly cannot miss, and the replay at the nominal error is a check of the installation path and of the realisability of the schedules on per-class first-in, first-out queues. The replay beyond the guard in Section 6.7, in which the tolerance is scaled with the clock error, is where the schedules themselves are stressed. Table S3 of the Supplementary Materials lists the parameters of the harness.
5.5. Policy Training
The policy of GRAFT-L was trained in the learning plane of Figure 1 on states produced by the instance generator, each state being a cell with an installed schedule and a request against it. States were generated by drawing a cell of four to eight bridges with 30 to 90 flows, computing an initial schedule by full CP with a 6 s limit, or by the list scheduler when CP found none, and then advancing the cell through a sequence of requests with the repair stage acting on random proposals, so that the installed schedules the policy sees in training carry the per-link holds that installed schedules carry in operation. The training pool held 224 states from the 28 of 45 generated cells that could be scheduled, with eight requests per cell, and the validation pool 40 states from 8 of 12 cells drawn with a different seed, with five requests per cell, of which a fixed sample of 30 is evaluated; no evaluation cell appears in either. Table S1 of the Supplementary Materials gives the training configuration, with a single training seed. The network is small, with 32-dimensional embeddings and two message-passing rounds, because inference runs on the same core as everything else and its latency is charged against the window.
Training did not improve the proposal. Over the 200 updates, the mean episode reward stayed at −1.2 and the flagged flows per sampled proposal at 5.2 and 5.1 for the first and the last ten updates. On the validation states, the greedy policy left 3.7 flagged flows per proposal at update 10, between 3.3 and 4.1 thereafter, and 4.0 at release, with a third of the proposals needing no repair throughout; the heuristic proposal leaves 3.1 flagged flows on the same states, with the same third needing no repair. Because retained flows are pre-placed, the policy makes one to five placement decisions per request, and the conflict-aware offset scan it shares with the heuristic decides most of the outcome. We release the last checkpoint, as fixed before training, rather than the best validation checkpoint.
5.6. Schedulers Compared
Six schedulers were run as the scheduling component of the same entity, with the same requests, budgets, and installer, as listed in Table 5. GRAFT-H and GRAFT-L are the engine of Section 4 with the heuristic and the learned proposal and the repair over the flagged flows (J = 0), whose single round has the whole budget as its deadline. Incremental CP, our constraint-programming implementation of the exact incremental strand, solves P(N) with N the new flows and the retimed flows whose installed offset no longer fits, every other flow fixed at its installed offset and starts; it is in the spirit of [9,21], which also keep existing flows fixed, but it uses our model with holds and frame isolation, CP-SAT instead of an integer linear program, and a time limit. Full CP solves P with every flow free, the same churn-dominant objective and stop rule, which is the exact strand of Table 1 in its time-limited form. Both CP baselines first run the list scheduler, use its placement as a warm start, and install it when CP returns no schedule within the budget, so neither refuses a request that the list scheduler admits, although a fallback installed after the search has used the budget may land after the window. The solver runs single-threaded, because each run has one core that it shares with the emulated fabric; this restriction affects full CP more than the other schedulers because its solve time is what fails on the larger cells. The incremental list scheduler keeps every retained flow at its installed offset and starts, orders the remaining flows by deadline and places each at the earliest offset whose frames fit the free intervals and the class queues along the whole path, refusing when none fits; if the retained flows cannot all be kept, which can happen after a retiming, it re-places every flow in the same order. It is the heuristic strand of Table 1 in its fastest form. The policy alone installs the learned proposal when it passes the checker and refuses otherwise, which is the protocol of the learned schedulers of Section 2.3. To measure what retained-first placement contributes to GRAFT-L, we also ran a variant whose policy re-places every flow, retained flows included, with the retention bonus applied to the installed offset of every retained flow; it was trained on the same pools, with longer episodes and larger episode rewards because it places every flow, for 160 updates of 24 episodes and left 5.7 flagged flows per proposal on the validation states at release. All schedulers run the same checker before installation, so no scheduler can install an infeasible schedule; the comparison is on what each admits, how fast, and at what churn.
Table 5.
The schedulers compared.
5.7. Metrics and Run Plan
The primary metric is the number of the 40 requests installed within their window, which is the outcome an operator cares about and the metric on which every comparative statement in Section 6 and Section 7 is made; installed after the window, refused by the scheduler, and refused on budget are reported alongside it so that the reason a request was not served is visible. Latency is decomposed per request into queue wait, proposal, solver time, and installation exchange, all measured in the entity. Churn is the number of retained flows whose offset changed, per installed request, and is accompanied by the number of egress ports whose gate list or table changed, which is what the installer actually distributes. For GRAFT-H and GRAFT-L the records also hold the number of flagged flows in the proposal, the number of repair rounds and the neighbourhood size of the round that succeeded. The replay reports deadline misses, frame count, and per-flow latency and jitter, and a second replay with clock errors beyond the guard reports where misses begin.
The main comparison runs the six schedulers on all nine cells at one request per second, and every one of those 54 configurations was executed three times with the same stored request sequence, 162 runs, with 27 further runs of the re-placement variant on the same cells and executions, so that the variation due to host timing, which decides whether a request lands inside its window, is measured separately from the variation across cells. Results are averaged over the nine runs of each size (three cells, each executed three times); the main comparison reports the mean ± standard deviation, and the other tables report means. Because the executions of a cell differ only in host timing and clock draws, the statistical unit is the cell: schedulers are compared on within-window installs by a Wilcoxon signed-rank test and a sign test over the nine cells, with a percentile bootstrap 95 percent confidence interval of the mean per-cell difference and a Holm correction over the family of the seven comparisons of Section 6.1; the comparisons of Section 6.2 with the default form a second family of seven, corrected in the same way. The rate study repeats the six schedulers on the first medium cell at 0.5 and two requests per second, 12 runs. The repair ablation runs GRAFT-H on all nine cells with three executions each with two widening rounds under the front-loaded and under the late-loaded budget split, with a displacement-only objective and without the warm start, 108 runs. The replay beyond the guard uses the configurations stored by the second and third executions of the main comparison, replayed with every device’s clock error scaled by 1.25, 1.5, 2, and 5. Three further arms isolate the source of the gain, on all nine cells with three executions each, 81 runs: GRAFT-H with retained flows fixed at their installed offsets and starts, so that the repair covers only the new and retimed flows among the flagged ones; GRAFT-H with the offsets of the retained flows in V pinned and their per-link starts free; and incremental CP in which the retained flows that share a link with a flow to place keep their offsets but have free starts, with the solve skipped when nothing is to be placed, as in incremental CP. The default and the two widening arms were also run at 0.5 requests per second with one execution per cell, 26 runs besides the one of the rate study. With nine cells, 0.004 is the smallest Wilcoxon p that a paired comparison can reach, and the percentile bootstrap interval over nine differences is narrow by construction. The software environment is Python 3.13 with OR-Tools 9.15 (CP-SAT, one worker, absolute gap limit M − 1 under the churn objective), with the package versions recorded in the reproducibility package; the evaluation cells use seeds 5 to 7 of the generator. Table 6 summarises the plan.
Table 6.
Run plan of the study.
6. Results and Discussion
6.1. Main Comparison
Table 7 and Figure 5 give the outcome of every request in the main comparison as the mean and standard deviation over the nine runs of each size, three cells executed three times each. The four outcomes are exhaustive: a request is installed within its window, installed after it, refused by the scheduler, or refused on budget because it waited in the queue until less than 50 ms of its window remained. No request failed at installation in the 309 runs of the main comparison, the rate study, and the repair ablation; in the 107 further runs of Section 6.2, one request of the arm with retained offsets pinned did, when a device’s READY arrived after the 50 ms activation lead, and the installed schedule stayed unchanged. Comparative statements below are on the primary metric of Section 5.7, installed within the window, with installs in total and the final number of flows as secondary figures.
Table 7.
Outcomes of the 40 requests per run at one request per second, mean ± standard deviation over nine runs (three cells, three executions each), with the number of flows at the end of the run.
Figure 5.
Outcome of every request per scheduler and cell size at one request per second, as means over nine runs (three cells, three executions each) with error bars of ± one standard deviation of within-window installs: (a) small cells; (b) medium cells; (c) large cells.
The two GRAFT configurations install the most requests within their windows on every cell size, GRAFT-L on the small cells and GRAFT-H on the medium and large cells. On the small cells, GRAFT-H installs 25.0 requests per run within the window against 20.3 for incremental CP, 18.0 for the list scheduler, and 14.0 for full CP; on the medium cells, 19.3 against 16.0, 14.0, and 5.6; and on the large cells, 18.8 against 14.0, 11.3, and 2.7. GRAFT-H admits requests whose new flows do not fit the gaps of the installed schedule, which the incremental schedulers refuse (19.7 to 28.7 refusals per run against 15.0 to 21.1 for GRAFT-H), and it ends every size with the largest or nearly the largest cell: 60.0, 80.7, and 98.3 flows against 51.7, 77.0, and 92.0 for incremental CP and 49.0, 73.0, and 89.3 for the list scheduler. Because a scheduler that admits more requests keeps a denser cell (Section 5.3), GRAFT-H also faced denser cells than incremental CP: its cell held 52.5, 76.9, and 94.6 flows on average when a request arrived, against 48.0, 75.3, and 90.8 for incremental CP, and on the 975 of 1080 paired requests on which its cell held at least as many flows as that of incremental CP, GRAFT-H installed 529 within the window against 417. Almost every GRAFT-H install lands within its window (0.0 to 0.3 after the window per run). Full CP is limited by its decision time rather than by the schedules it finds: with one worker and a stop rule that bounds the churn within one of the optimum, 459 of its 719 scheduled decisions ran to their deadline, so it installs 4.4 to 4.9 requests per run after the window and has 11.6 to 14.4 refused on budget while the queue behind it grows. The gain of GRAFT-H over incremental CP is admission capacity rather than decision speed: both answer almost every request within its window, and GRAFT-H admits more of them. In this regime the deadline of (14) rarely binds, with 0.8 of the 18.7 refusals per run of GRAFT-H reached at the deadline; tighter windows and larger cells, where it would bind more often, are outside this study (Section 7.2).
The variation due to host timing is small against the variation between cells. The standard deviation of within-window installs across the three executions of a cell is 0.00 to 0.58 requests for GRAFT-H and zero for the list scheduler and incremental CP, whose answers do not depend on timing, while across the three cells of a size it is 3.3 to 4.8 for GRAFT-H and 2.5 to 4.4 for incremental CP. Because the executions of a cell differ only in host timing and clock draws, the statistical unit is the cell. No-change requests, which the rule of Section 5.3 creates, are few (0.9 to 1.4 per run); with them excluded, GRAFT-H installs 24.7, 17.7, and 18.1 requests within the window against 20.0, 14.0, and 13.3 for incremental CP, so the rule does not change the comparison with incremental CP.
Table 8 gives the paired comparisons over the nine cells. GRAFT-H exceeds every baseline on all nine cells: incremental CP by 4.3 requests per run (95% CI [3.2, 5.3]), the list scheduler by 6.6 ([4.9, 8.3]), full CP by 13.6 ([11.5, 15.8]), and the policy alone by 9.4 ([7.8, 11.1]), each with a Wilcoxon p of 0.004, the smallest the test allows with nine cells, and a Holm-adjusted p of 0.027; the gap to full CP is mostly decision time and queueing, as noted above. GRAFT-L also exceeds incremental CP (+3.8) and the list scheduler (+6.1) on all nine cells, and GRAFT-H and GRAFT-L do not differ significantly (+0.5, 95% CI [−0.4, +1.4]).
Table 8.
Paired comparison of within-window installs over the nine cells (executions averaged): mean difference with percentile bootstrap 95% confidence interval, wins, losses and ties, per-cell differences (small, medium, large cells 1 to 3), Wilcoxon signed-rank p, Holm-adjusted p over the seven comparisons and sign-test p.
6.2. Source of the Gain and Repair Ablation
Table 9 isolates where the gain over incremental CP comes from and reports the repair ablation, on all nine cells with three executions each; its Holm correction is over the seven comparisons with the default. Holding retained flows fixed, so that the repair covers only the new and retimed flows among the flagged ones, reduces GRAFT-H to 20.3, 16.0, and 14.0 requests per run within the window, the installs of incremental CP on average (+0.0 over the nine cells, 2/2/5 wins, losses and ties). The lead of GRAFT-H therefore comes from requests that it admits by modifying retained flows inside the flagged set: per install it changes the offsets of 0.24 retained flows and only the per-link starts of another 0.79, 1.03 retained flows in all. Both kinds of change contribute. With the offsets of the retained flows in V pinned and their starts free, GRAFT-H installs 21.7, 17.9, and 16.1 requests per run, 1.8 more than incremental CP (8/1/0, unadjusted p = 0.0078) and 2.5 fewer than the default, while changing the per-link starts of 0.64 retained flows per install. Released in this order, starts first and offsets second, the starts account for 1.8 of the 4.3 requests per run and the offsets for the remaining 2.5; the comparisons with incremental CP in this section lie outside the family of Table 9 and are reported unadjusted.
Table 9.
Source of the gain and repair ablation of GRAFT-H on all nine cells at one request per second: within-window installs on the small (S), medium (M), and large (L) cells (mean over nine runs), and per run over the 27 runs of each variant the retained flows modified per install (offset or per-link start), the requests refused by the scheduler before and at the deadline, refused on budget and installed after the window, with the paired difference to the default over the nine cells (wins, losses and ties of the variant) and the Holm-adjusted Wilcoxon p over the seven comparisons.
Freeing the starts of every retained flow on a link shared with a flow to place gives a gain of the same order. Incremental CP in which those retained flows keep their offsets but have free starts, and which skips the solve when nothing is to be placed, installs 23.3, 17.2, and 15.8 requests per run, 2.0 more than incremental CP (7/1/1, unadjusted p = 0.023) and 2.3 fewer than GRAFT-H. Its gain over incremental CP does not differ significantly from that of the starts-only repair inside V (+0.2 requests per run, 95% CI [−1.8, +2.1], unadjusted p = 0.89), so the two ways of freeing starts cannot be ranked on these cells. It changes the starts of 9.2 retained flows per install against 0.64; because per-link starts carry no cost in the objective of either arm, these counts record what each solver changed rather than what each model requires. Its larger model takes 0.194 s per request against 0.066 s, and 4.7 of its refusals per run come at the deadline against 1.1. Only the comparison of GRAFT-H with the starts-only repair inside V isolates the offsets: moving the offsets of the flagged retained flows adds 2.5 requests per run (8/0/1).
Widening the repair beyond V does not pay at one request per second. With two widening rounds and the front-loaded split of (14), GRAFT-H installs 22.4, 15.2, and 14.2 requests per run within the window against 25.0, 19.3, and 18.8 for the default, 3.7 fewer on all nine cells, and with the late-loaded split 20.4, 12.7, and 12.3, 5.9 fewer (Holm p = 0.027 and 0.027). The wider model ends only 1.1 refusals per run before the deadline, against 17.9 for the default; its solves take 0.433 s against 0.068 s, 11.0 of its refusals per run come at the deadline against 0.8, and the requests queued behind those solves lose 9.4 requests per run on budget against 0.1. At half a request per second, where the queue is shorter, the front-loaded widening installs 1.6 fewer requests per run than the default, a difference that is not significant (2/6/1, unadjusted p = 0.25), and the late-loaded one 3.4 fewer (1/7/1, unadjusted p = 0.016, one execution per cell); the cost of widening is decision time charged to the requests behind it. Removing the churn-dominant objective or the warm start does not change within-window installs (+0.1 and +0.2 requests per run, Holm p = 1.00 and 1.00) but raises the retained offsets changed per install from 0.24 to 0.32 and 0.36, which is the purpose of both.
6.3. Contribution of the Proposal
Table 10 runs the same repair, with the same budget and the same model over the flagged flows, behind three proposals: the heuristic (GRAFT-H), the trained retained-first policy (GRAFT-L), and the variant whose policy re-places every flow. The learned proposal does not improve on the heuristic. GRAFT-L installs 26.0, 18.4, and 17.2 requests per run within the window against 25.0, 19.3, and 18.8 for GRAFT-H; over the nine cells the difference is 0.5 requests per run in favour of the heuristic (95% CI [−0.4, +1.4], Wilcoxon p = 0.406), with GRAFT-L ahead on the small cells and GRAFT-H on the medium and large cells. The two proposals take 15 to 34 ms, leave similar residuals (4.1 to 8.3 flagged flows for the heuristic against 4.9 to 9.3), and pass the checker unchanged on similar numbers of requests. The variant that re-places every flow installs 21.8, 10.9, and 5.7 requests within the window, 8.3 fewer than the heuristic and fewer on every cell (p = 0.004). Its proposal takes 0.16 to 0.43 s, because the policy scans the offset grid for every flow of the cell rather than for the flows of the request, and on the medium cells, it leaves 8.1 flagged flows and passes the checker unchanged on 7.3 requests per run. The time and the larger residual are both charged to the window and to the queue, so this comparison does not separate the two causes.
Table 10.
The same repair behind the heuristic proposal (GRAFT-H), the learned retained-first proposal (GRAFT-L) and the policy that re-places every flow, on all nine cells at one request per second, mean over nine runs, with times in seconds averaged over scheduled requests and churn per installed request.
These results concern this policy and its training. The policy’s training reward did not improve over 200 updates and its validation residual at release was larger than the heuristic’s (Section 5.5), so the comparison shows that a policy that did not learn matches the heuristic behind the same repair, because the conflict-aware offset scan that both share decides most of the outcome; it does not show that learned proposals cannot help. The comparison isolates the proposal behind the same repair, with the reward of (11) and the state features of Section 4.2 kept fixed; how other reward terms or features would change training is part of the future work of Section 7.2. The re-placement policy was also trained with a smaller budget (160 updates of 24 episodes against 200 of 64), which adds to its larger residual and longer proposal time.
The two stages of GRAFT-H divide the work as designed. The heuristic proposal leaves 4.1, 6.8, and 8.3 flagged flows on average on the small, medium and large cells and passes the checker unchanged on 14.0, 9.3, and 10.0 requests per run; the proposal alone would therefore install about that many requests. The repair succeeds on 11.0, 10.3, and 8.9 requests per run with 4.1 to 4.3 flows in the model and a solver time of 0.06 to 0.11 s. Refused repairs outnumber successful ones (15.0, 20.0, and 21.1 per run), but they are short: 90.5 to 99.4 percent of them end more than 10 ms before the deadline. The solver status was not logged, so we classify by end time: a solve limited by time ends at its limit, so, under Assumption B of Section 4.8, an earlier end means a completed call that reported P(V) infeasible. These refusals end after 0.07 to 0.10 s on average with 7.9 to 13.9 flows in the model. Table S4 of the Supplementary Materials gives these internals for both proposals.
6.4. Latency Decomposition and Window Length
Table 11 decomposes the time from request arrival to outcome into queue wait, proposal, solver time and installation exchange, averaged over all 360 requests of the nine runs of a size, with the remaining bookkeeping of the entity and the 90th percentile of the total. The incremental schedulers answer in 0.017 to 0.026 s (list) and 0.040 to 0.072 s (incremental CP) on average, GRAFT-H in 0.07 to 0.12 s and full CP in 0.92 to 1.11 s. The heuristic proposal costs 15 to 28 ms and the learned one 18 to 34 ms, because both place only the flows of the request. GRAFT-H’s repair solver averages 0.04 to 0.08 s over all requests and its queue wait 0.003 to 0.006 s, so at one request per second a request rarely waits behind it. Full CP spends 0.43 to 0.50 s in the solver, the requests behind it wait 0.45 to 0.61 s on average, and the window of each queued request keeps running, which is the mechanism behind its refusals on budget in Table 7. The installation exchange takes 2 to 6 ms because only the affected devices are contacted and staging runs in parallel across them.
Table 11.
Time from request arrival to outcome by component, mean over all requests of nine runs, with entity bookkeeping as other and the 90th percentile of the total (s).
The deadline holds within the stop latency of Assumption A. Nine of 1077 scheduled requests of GRAFT-H overran their budget by more than 10 ms, none by more than 50 ms, and the largest overrun grows with the cell: 2, 16, and 47 ms on cells of 42 to 71, 70 to 87, and 85 to 107 flows after the scheduled requests (84 ms for GRAFT-L on the large cells), because model building, which includes the fixed intervals of every flow, and the solver’s response to its time limit are not interrupted. Of these nine decisions, eight ended in a refusal, which installs nothing, and one was installed within its window. Of the 572 installs of GRAFT-H, 568 ended within the window and four, all on 200 ms windows, ended 4.5 to 7.3 ms after it; their decisions ended within 8 ms of the budget and their installation exchange took 10.6 to 11.8 ms. Under the most demanding condition of the study, the large cells with 200 ms windows, the largest overrun among 105 decisions was 47 ms, the seven decisions that overran by more than 10 ms all ended in a refusal, and one of the four late installs, 4.5 ms after its window, belongs to this condition. The installation exchange on loopback is faster than on a real management network. Keeping every decision as logged and adding 50, 100, or 150 ms to each installation (Table S5 of the Supplementary Materials), GRAFT-H stays ahead of incremental CP, full CP, the list scheduler, and the policy alone on every size at every delay; with 150 ms added it installs 22.0, 14.4, and 14.1 requests per run within the window against 18.4, 13.3, and 10.7 for incremental CP. The recomputation ignores the longer queue that a slower installation would cause, which affects every scheduler. The window ends at COMMIT; if it is counted instead to the activation instant, at which the new lists take effect on an 802.1Qbv bridge, 10 of the 568 within-window installs of GRAFT-H, one of 453 of incremental CP, and 44 of 200 of full CP land after it, and GRAFT-H leads incremental CP by 3.9 requests per run, on all nine cells.
GRAFT-H leads every baseline at every window length (Table 12, descriptive, with executions averaged over the 360 distinct requests of the nine cells). With 200 ms windows it installs 47.7 of 92 requests within the window, against 41.0 for incremental CP and 35.0 for the list scheduler; with 500 ms windows 49.7 of 94 against 30.0 and 28.0; with 1 s windows 51.0 of 83 against 46.0 and 37.0; and with 2 s windows 41.0 of 91 against 34.0 and 30.0. On the requests that the list scheduler admitted within a window, GRAFT-H is within the window on 94 to 100 percent of them.
Table 12.
Requests installed within their window-by-window length over the 360 distinct requests of the nine cells, executions averaged, with GRAFT-H’s within-window count and rate on the requests the list scheduler installed within the same window.
6.5. Sensitivity to the Request Rate
On the first medium cell, with one execution per rate (Table S6 of the Supplementary Materials), GRAFT-H installs 24, 23, and 23 requests within the window at 0.5, 1, and 2 requests per second, against 20, 20, and 20 for incremental CP, while its queue wait grows from 0.001 to 0.020 s. Full CP installs 12, 10, and 3, as the queue wait behind its solves grows from 0.276 to 0.926 s. With a single cell and execution per rate, this study shows the direction of the effect rather than a tested difference.
6.6. Churn and Deployment Footprint
GRAFT-H admits its additional requests by modifying about one retained flow per install (Table 13). Its churn, which counts offset changes and includes retimed flows, is 0.25, 0.27, and 0.31 per installed request and never more than 3; the retained offsets changed, which exclude retimed flows, are 0.24 per install (Section 6.2), and in addition 0.60, 0.98, and 0.84 retained flows per install keep their offset but receive new per-link starts, against none for incremental CP, the list scheduler and the policy alone, which never change the starts of a retained flow, and 9.8, 11.4, and 6.5 for full CP. GRAFT-H changes 7.9 to 9.0 egress ports per install against 6.0 to 7.5 for incremental CP. These changes are the price of the additional admissions, and Table 9 measures the trade-off: with retained flows fixed, GRAFT-H modifies no retained flow and admits as many requests as incremental CP (+0.0 per run); letting only the per-link starts of flagged retained flows move, with every retained offset kept, modifies 0.64 retained flows per install and recovers 1.8 of the 4.3 requests; the default modifies 1.03 for the full gain of 4.3. In the objective, the changed retained offsets (0.24 per install on average) are each charged more than any displacement, while the per-link start changes carry no cost in it (Section 6.2), a limitation stated in Section 7.2; no flow of any installed configuration missed its deadline beyond the clock tolerance in the replay (Section 6.7). The configuration that every scheduler installs is demanding for a bridge. We count the gate-list entries of a port as the distinct instants in the hyperperiod at which the gate state of any scheduled class on that port changes. Every one of the 27 final configurations of GRAFT-H has a port with more than 256 entries, the busiest port holding 310 to 395, against 18 of 27 configurations of incremental CP (224 to 365) and 27 of 27 of full CP; over all ports, 18.6 percent of those of GRAFT-H need more than 128 entries and 4.5 percent more than 256 (17.0 and 2.8 percent for incremental CP), and none more than 512. Gate control lists of 8 to 1024 entries are expected in bridges [6], so a bridge with fewer than 395 entries per port could not hold every GRAFT-H configuration of this study. On such a device, the list length becomes a constraint of the schedule. The gate list of a port follows from the intervals of (7) that the checker already builds, so a per-port length test can be added to the checker and a bound on the gate changes per port to the repair model, as in the gate control list synthesis of [6], with a wider neighbourhood when flows outside V cause the excess; neither is part of the present model, and the same list capacity limits the configurations of the other schedulers (Table 13). The derived lists omit the best-effort gate that a deployment with guard bands adds, so these counts are lower bounds, and the schedulers end with different numbers of flows (Table 7). The busiest link is idle for 30 to 49 percent of the hyperperiod, of which only 4 to 18 percent lies in gaps long enough for a full-size best-effort frame, so best-effort traffic on the busiest links needs frame preemption.
Table 13.
Churn and installation footprint per installed request, pooled over nine runs per scheduler and size: churn (offset changes, retimed flows included), retained flows with new per-link starts only, ports changed, and, in the final configurations, the gate-list entries on the busiest port (counted as in Section 6.6) and the idle share of the busiest link.
6.7. Verification of the Installation Path and Robustness to Clock Error
Every installed configuration replayed without a deadline miss beyond the clock tolerance (Table 14). Across all 416 runs, 7330 configurations distributed by the entity were replayed with the run’s device clock errors within ±1 µs, 4,758,704 frames in all, under our replay model of 802.1Qbv semantics: first-in, first-out queues per class, class gates, a non-preemptive link, and no traffic other than the scheduled flows; no frame missed its deadline by more than the 2 µs tolerance of Section 5.4; the final configurations read back from the devices, 286,479 frames, replayed in the same way without a miss. Because the replay uses no per-frame release information and reads the devices, this result verifies the installation path and, within the replay model, the claim of Section 3.3 that per-class frame isolation makes the schedules executable on 802.1Qbv class queues; it is also the empirical counterpart of Propositions 1 and 2. The replay is our own implementation; a replay in a discrete-event simulator such as NeSTiNg [38] with background traffic would be an independent check. We also tested the two propositions on random instances: on 494 random subsets of 2 to 20 flows of the nine cells with random or perturbed schedules, 193 of them feasible, the checker agreed with an independent pairwise test of (2) to (6) in every case, and all 31 schedules that the repair returned from 45 random proposals passed the same test; the independent test compares every pair of intervals rather than adjacent ones but reuses the checker’s helpers that derive starts and queue-occupancy intervals, so it does not test those helpers.
Table 14.
Replay of every installed configuration and of the final read-back configurations under the nominal clock error, by scheduler over all runs of the study.
Replaying the stored configurations of the second and third executions with every device’s clock error scaled beyond the guard, and the tolerance scaled in proportion (Table S7 of the Supplementary Materials), the schedules of every scheduler degrade sharply once the error exceeds the guard: at 1.25 times the nominal error 0.5 to 47.4 percent of frames miss, depending on the cell size and the scheduler, and at twice the error 46.0 to 75.6 percent. The cliff is a property of schedules whose guard equals the clock-error band: at each multiple and on the same cell size the schedulers differ by at most 18.7 percentage points, less than the 25.2 or more points that every scheduler adds between 1.25 and 2 times the error. Robust schedules that budget for synchronisation error, such as those of Stüber et al. [45], trade capacity for this margin and are outside our model. In the replay, the synchronisation margin in the processing delay covers the arrival of a frame at the next bridge (Section 3.3 and Section 5.2), and the guard absorbs the clock offset between neighbouring devices at the gate window: a frame that is not held meets its gate window when the clock of the sending device lags that of the receiving device by no more than γ, and with device errors within ±ε that lag reaches 2ε, so frames meet their windows whenever 2ε ≤ γ. With γ = 2 µs this holds at the nominal ±1 µs and no longer holds at 1.25 times the nominal error, the first level tested above it, where the replay shows misses; a deployment therefore sets γ to at least twice the synchronisation accuracy of its devices. Every control flow meets its deadline within the tolerance under every scheduler, with mean control latencies of 364 to 577 µs and a smallest slack of −1 µs, inside the 2 µs tolerance.
6.8. Operating Conditions and Scalability
GRAFT-H is most beneficial when requests add flows that do not fit the gaps of the installed schedule: pooled over its 27 runs it installs 214 of 513 additions and 112 of 282 swaps within the window, against 150 and 69 for incremental CP and 105 and 57 for the list scheduler, and it leads every baseline at every window length and at the three request rates we tested, as descriptive comparisons without a test. For pure removals a simpler scheme is sufficient: the incremental schedulers install all 117 of them within the window, against 114 for GRAFT-H. One policy and one heuristic were used unchanged on cells that held 39 to 107 flows after the requests of the main comparison; the proposal cost stayed at 15 to 34 ms because it scales with the flows of a request rather than with the cell.
Two dimensions that the comparison does not vary are already covered by the constraints of the model. It holds a transmission time per link, Lf/Rℓ, so links of different speeds need no change, and it isolates frames per traffic class in (6), so further classes are covered by the same constraint; our cells use three classes and one link rate, at which the policy was also trained, and further classes add gate-list entries. What grows with the cell outside the repair budget is chiefly the checker, in O(n log n) time in the number of frame-instance intervals (Proposition 1), and the model building and stop latency within Δ, which for GRAFT-H reached 2, 16, and 47 ms on cells of 42 to 71, 70 to 87, and 85 to 107 flows (Section 6.4). Larger cells and heavier initial loads add frame instances and so increase these terms; Section 7.2 states that only draws that full CP scheduled within 300 s were evaluated and lists larger cells, meshed topologies and a deployment on physical TSN bridges as the next evaluation.
7. Conclusions, Limitations, and Future Work
7.1. Conclusions
We presented GRAFT, a check-and-repair scheduler for IEEE 802.1Qbv time-aware shaper reconfiguration in IIoT cells that places an exact checker and a window-bounded constraint-programming repair of the flagged flows behind a fast proposal. We built GRAFT into an emulated configuration entity with bridge and end-station processes and evaluated it, with a heuristic and with a learned proposal, against incremental and full constraint programming, an incremental list scheduler and the policy alone, on nine cells of 45 to 90 initial flows over 416 runs.
First, every installed schedule is feasible whatever the proposal, as Propositions 1 and 2 establish, and all 7330 installed configurations replayed under our model of 802.1Qbv class queues without a deadline miss beyond the clock tolerance. Second, GRAFT-H installs 25.0, 19.3, and 18.8 requests per run within the window, 4.3 more than incremental CP and 6.6 more than the list scheduler on all nine cells. Third, the gain comes from repairing retained flows inside the flagged set: with retained flows held fixed the engine installs as many requests as incremental CP on average, their starts alone recover 1.8 of the 4.3 requests per run and their offsets the rest, and GRAFT-H modifies 1.03 retained flows per install. Fourth, 90.5 to 99.4 percent of its refusals end more than 10 ms before the deadline, that is, under Assumption B, with the solver reporting P(V) infeasible, and widening the repair costs decision time that the queued requests pay. Fifth, a learned proposal from a policy whose training did not improve matches the heuristic, and a policy that re-places every flow installs 8.3 fewer requests per run.
7.2. Limitations
The findings are promising, but several limitations should be noted. First, the evidence is from an emulation on one host: bridges and end stations are processes, links are loopback sockets, each run shares one processor core with its scheduler, the solver runs single-threaded, and the installation exchange is a loopback round trip, so absolute times will differ on physical bridges, real management networks and multi-core controllers; the results on 200 ms and 500 ms windows are the most exposed to a slower installation. Second, the cells are small: 45 to 90 initial flows on five to eight bridges, three cells per size from one generator, with tree topologies and a single path per flow, every deadline equal to its period, and only draws that full CP scheduled within 300 s; larger cells, meshed topologies with route choice and deadlines shorter than periods are untested, and the request windows are design values rather than measured ones; video is scheduled as time-triggered traffic, and talker offsets may take any value in the period. Third, the policy’s training did not improve over 200 updates with one seed, so our evidence concerns this policy rather than learned proposals in general. Fourth, the churn objective charges offset changes only, and the repair changes the per-link starts of about one retained flow per install at no cost; pricing those changes would trade admitted requests for stability. Finally, the schedules are exact to the model and degrade sharply beyond the clock guard, the busiest ports carry up to 416 gate-list entries per hyperperiod (GRAFT-L; 395 for GRAFT-H) without a bound on the list length, best-effort traffic needs frame preemption on the busiest links, frame loss and link failure are not modelled, the replay is our own model of 802.1Qbv semantics without background traffic, each hyperperiod is checked separately so an inter-frame guard that crosses its boundary is not checked by the model, and the emulated devices activate a configuration on COMMIT rather than at a synchronised instant; the entity accepts READY until the activation instant, so on bridges a COMMIT sent close to it could miss the base time, although the slowest successful exchange of the runs took 36.8 ms of the 50 ms lead.
This work indicates some promising directions. First, we will move learning to decisions where the choice matters more than the order of a few new flows, such as which retained flows to release into the repair model after a proof of infeasibility, and compare it again with the simplest rule of the same structure, testing other reward terms and state features as well. Second, we plan to widen the repair only after the model over the flagged flows is proven infeasible, with the remaining budget, together with a pre-check that installs pure removals ahead of the queue. Third, we will evaluate on larger cells, on meshed topologies with route choice, with deadlines shorter than periods and with several training seeds. Fourth, we plan to add gate windows with a robustness margin, a bound on the gate control list length as in [6] and the best-effort capacity to the model. Finally, we will move the evaluation to a testbed of TSN-capable bridges with a synchronised activation instant and a multi-core controller.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/math14234400/s1: Table S1: Policy training run and validation at release; Table S2: Composition of the 40-request sequences over the nine cells; Table S3: Parameters of the emulated deployment; Table S4: GRAFT-H and GRAFT-L internals per run at one request per second; Table S5: Installation-time sensitivity at one request per second; Table S6: Rate study on the first medium cell; Table S7: Percentage of replayed frames missing their deadline by more than the tolerance under scaled device clock errors.
Funding
This research received no external funding.
Data Availability Statement
The original contributions presented in this study are included in the article/Supplementary Materials. Further inquiries can be directed to the corresponding author.
Acknowledgments
During the preparation of this manuscript, the author used Claude Opus 5.5 (Anthropic, San Francisco, CA, USA) solely for the purposes of English-language editing of author-written text and formatting the manuscript according to the journal template. AI-assisted tools were also used to improve the visual presentation of illustrative, non-data figures. The author has reviewed and edited the output and takes full responsibility for the content of this publication.
Conflicts of Interest
The author declares no conflicts of interest.
References
- Zhang, T.; Wang, G.; Xue, C.; Wang, J.; Nixon, M.; Han, S. Time-sensitive networking (TSN) for industrial automation: Current advances and future directions. ACM Comput. Surv. 2024, 57, 30. [Google Scholar] [CrossRef] [Scilit]
- IEEE Std 802.1Qbv-2015; IEEE Standard for Local and Metropolitan Area Networks–Bridges and Bridged Networks–Amendment 25: Enhancements for Scheduled Traffic. IEEE: New York, NY, USA, 2016. [Google Scholar] [CrossRef]
- IEEE Std 802.1Q-2022; IEEE Standard for Local and Metropolitan Area Networks–Bridges and Bridged Networks. IEEE: New York, NY, USA, 2022. [Google Scholar] [CrossRef] [Scilit]
- Stüber, T.; Osswald, L.; Lindner, S.; Menth, M. A survey of scheduling algorithms for the time-aware shaper in time-sensitive networking (TSN). IEEE Access 2023, 11, 61192–61233. [Google Scholar] [CrossRef] [Scilit]
- Craciunas, S.S.; Serna Oliver, R.; Chmelík, M.; Steiner, W. Scheduling real-time communication in IEEE 802.1Qbv time sensitive networks. In Proceedings of the 24th International Conference on Real-Time Networks and Systems (RTNS); ACM: New York, NY, USA, 2016; pp. 183–192. [Google Scholar] [CrossRef] [Scilit]
- Serna Oliver, R.; Craciunas, S.S.; Steiner, W. IEEE 802.1Qbv gate control list synthesis using array theory encoding. In Proceedings of the 2018 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS); IEEE: New York, NY, USA, 2018; pp. 13–24. [Google Scholar] [CrossRef] [Scilit]
- Vlk, M.; Hanzálek, Z.; Tang, S. Constraint programming approaches to joint routing and scheduling in time-sensitive networks. Comput. Ind. Eng. 2021, 157, 107317. [Google Scholar] [CrossRef] [Scilit]
- Vlk, M.; Brejchová, K.; Hanzálek, Z.; Tang, S. Large-scale periodic scheduling in time-sensitive networks. Comput. Oper. Res. 2022, 137, 105512. [Google Scholar] [CrossRef] [Scilit]
- Nayak, N.G.; Dürr, F.; Rothermel, K. Incremental flow scheduling and routing in time-sensitive software-defined networks. IEEE Trans. Ind. Inform. 2018, 14, 2066–2075. [Google Scholar] [CrossRef] [Scilit]
- Falk, J.; Geppert, H.; Dürr, F.; Bhowmik, S.; Rothermel, K. Dynamic QoS-aware traffic planning for time-triggered flows in the real-time data plane. IEEE Trans. Netw. Serv. Manag. 2022, 19, 1807–1825. [Google Scholar] [CrossRef] [Scilit]
- Kummer, F.; Golatowski, F.; Brekenfelder, W.; Parzyjegla, H.; Danielis, P.; Mühl, G. An online scheduler for reconfigurable time-sensitive networks. In Proceedings of the 2024 IEEE 29th International Conference on Emerging Technologies and Factory Automation (ETFA); IEEE: New York, NY, USA, 2024; pp. 1–8. [Google Scholar] [CrossRef] [Scilit]
- IEEE Std 802.1Qcc-2018; IEEE Standard for Local and Metropolitan Area Networks–Bridges and Bridged Networks–Amendment 31: Stream Reservation Protocol (SRP) Enhancements and Performance Improvements. IEEE: New York, NY, USA, 2018. [Google Scholar] [CrossRef] [Scilit]
- Bengio, Y.; Lodi, A.; Prouvost, A. Machine learning for combinatorial optimization: A methodological tour d’horizon. Eur. J. Oper. Res. 2021, 290, 405–421. [Google Scholar] [CrossRef] [Scilit]
- Cappart, Q.; Chételat, D.; Khalil, E.B.; Lodi, A.; Morris, C.; Veličković, P. Combinatorial optimization and reasoning with graph neural networks. J. Mach. Learn. Res. 2023, 24, 1–61. [Google Scholar]
- Mazyavkina, N.; Sviridov, S.; Ivanov, S.; Burnaev, E. Reinforcement learning for combinatorial optimization: A survey. Comput. Oper. Res. 2021, 134, 105400. [Google Scholar] [CrossRef] [Scilit]
- Yang, L.; Wei, Y.; Yu, F.R.; Han, Z. Joint routing and scheduling optimization in time-sensitive networks using graph-convolutional-network-based deep reinforcement learning. IEEE Internet Things J. 2022, 9, 23981–23994. [Google Scholar] [CrossRef] [Scilit]
- He, X.; Zhuge, X.; Dang, F.; Xu, W.; Yang, Z. DeepScheduler: Enabling flow-aware scheduling in time-sensitive networking. In Proceedings of the IEEE INFOCOM 2023–IEEE Conference on Computer Communications; IEEE: New York, NY, USA, 2023; pp. 1–10. [Google Scholar] [CrossRef] [Scilit]
- Sun, W.; Zou, Y.; Guan, N.; Zhang, X.; Du, G.; Wen, Y. Graph attention network-based deep reinforcement learning scheduling framework for in-vehicle time-sensitive networking. IEEE Trans. Ind. Inform. 2024, 20, 9825–9836. [Google Scholar] [CrossRef] [Scilit]
- Tian, Z.; Zhou, X.; Liao, Z.; Sun, M.; He, F. GTSNet: A generalized traffic scheduler for time-sensitive networking based on graph neural network. IEEE Trans. Ind. Inform. 2025, 21, 208–217. [Google Scholar] [CrossRef] [Scilit]
- Min, J.; Kim, Y.; Kim, M.; Paek, J.; Govindan, R. Reinforcement learning based routing for time-aware shaper scheduling in time-sensitive networks. Comput. Netw. 2023, 235, 109983. [Google Scholar] [CrossRef] [Scilit]
- Torres-Macías, A.G.; Gracia, Á.; Segarra, J.; Briz, J.L.; Ramírez-Treviño, A.; Blanco-Alcaine, H. Optimal fast IEEE802.1Qbv incremental scheduling. Ad Hoc Netw. 2026, 191, 104280. [Google Scholar] [CrossRef] [Scilit]
- Geppert, H.; Dürr, F.; Rothermel, K. Efficient conflict graph creation for time-sensitive networks with dynamically changing communication demands. IEEE Trans. Netw. Serv. Manag. 2025, 22, 4525–4537. [Google Scholar] [CrossRef] [Scilit]
- Islam, S.T.; Muslim, A.B. AI-based dynamic schedule calculation in time sensitive networks using GCN-TD3. In Proceedings of the 2024 IFIP Networking Conference (IFIP Networking); IEEE: New York, NY, USA, 2024; pp. 714–719. Available online: https://dl.ifip.org/db/conf/networking/networking2024/1571019192.pdf (accessed on 24 November 2026).
- Nasrallah, A.; Balasubramanian, V.; Thyagaturu, A.S.; Reisslein, M.; ElBakoury, H. Reconfiguration algorithms for high precision communications in time sensitive networks: Time-aware shaper configuration with IEEE 802.1Qcc. ITU J. Future Evol. Technol. 2021, 2, 13–34. [Google Scholar] [CrossRef] [Scilit]
- Torres-Macías, A.G.; Segarra Flor, J.; Briz Velasco, J.L.; Ramírez-Treviño, A.; Blanco-Alcaine, H. Fast IEEE802.1Qbv gate scheduling through integer linear programming. IEEE Access 2024, 12, 111239–111250. [Google Scholar] [CrossRef] [Scilit]
- Pop, P.; Raagaard, M.L.; Gutiérrez, M.; Steiner, W. Enabling fog computing for industrial automation through time-sensitive networking (TSN). IEEE Commun. Stand. Mag. 2018, 2, 55–61. [Google Scholar] [CrossRef] [Scilit]
- Dürr, F.; Nayak, N.G. No-wait packet scheduling for IEEE time-sensitive networks (TSN). In Proceedings of the 24th International Conference on Real-Time Networks and Systems (RTNS); ACM: New York, NY, USA, 2016; pp. 203–212. [Google Scholar] [CrossRef] [Scilit]
- Zhao, L.; Pop, P.; Steinhorst, S. Quantitative performance comparison of various traffic shapers in time-sensitive networking. IEEE Trans. Netw. Serv. Manag. 2022, 19, 2899–2928. [Google Scholar] [CrossRef] [Scilit]
- Raagaard, M.L.; Pop, P.; Gutiérrez, M.; Steiner, W. Runtime reconfiguration of time-sensitive networking (TSN) schedules for fog computing. In Proceedings of the 2017 IEEE Fog World Congress (FWC); IEEE: New York, NY, USA, 2017; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
- Pang, Z.; Huang, X.; Li, Z.; Zhang, S.; Xu, Y.; Wan, H.; Zhao, X. Flow scheduling for conflict-free network updates in time-sensitive software-defined networks. IEEE Trans. Ind. Inform. 2021, 17, 1668–1678. [Google Scholar] [CrossRef] [Scilit]
- Gärtner, C.; Rizk, A.; Koldehofe, B.; Guillaume, R.; Kundel, R.; Steinmetz, R. Fast incremental reconfiguration of dynamic time-sensitive networks at runtime. Comput. Netw. 2023, 224, 109606. [Google Scholar] [CrossRef] [Scilit]
- Roberty, A.; Besnard, Q.; Ben Hadj Said, S.; Ridouard, F.; Bauer, H.; Geniet, A. Configuring the IEEE 802.1Q time-aware shaper with deep reinforcement learning. In Proceedings of the NOMS 2024–IEEE Network Operations and Management Symposium; IEEE: New York, NY, USA, 2024; pp. 1–7. [Google Scholar] [CrossRef] [Scilit]
- Gasse, M.; Chételat, D.; Ferroni, N.; Charlin, L.; Lodi, A. Exact combinatorial optimization with graph convolutional neural networks. In Advances in Neural Information Processing Systems 32 (NeurIPS); Curran Associates, Inc.: Red Hook, NY, USA, 2019; pp. 15580–15592. Available online: https://proceedings.neurips.cc/paper/2019/hash/d14c2267d848abeb81fd590f371d39bd-Abstract.html (accessed on 24 November 2026).
- Cappart, Q.; Moisan, T.; Rousseau, L.-M.; Prémont-Schwarz, I.; Cire, A.A. Combining reinforcement learning and constraint programming for combinatorial optimization. In Proceedings of the AAAI Conference on Artificial Intelligence; Association for the Advancement of Artificial Intelligence: Washington, DC, USA, 2021; Volume 35, pp. 3677–3687. [Google Scholar] [CrossRef] [Scilit]
- Hottung, A.; Tierney, K. Neural large neighborhood search for the capacitated vehicle routing problem. In Proceedings of the 24th European Conference on Artificial Intelligence (ECAI); IOS Press: Amsterdam, The Netherlands, 2020; pp. 443–450. [Google Scholar] [CrossRef] [Scilit]
- Kool, W.; van Hoof, H.; Welling, M. Attention, learn to solve routing problems! In Proceedings of the 7th International Conference on Learning Representations (ICLR), New Orleans, LA, USA, 6–9 May 2019; Available online: https://openreview.net/forum?id=ByxBFsRqYm (accessed on 24 November 2026).
- Xue, C.; Zhang, T.; Zhou, Y.; Nixon, M.; Loveless, A.; Han, S. Real-time scheduling for 802.1Qbv time-sensitive networking (TSN): A systematic review and experimental study. In Proceedings of the 2024 IEEE 30th Real-Time and Embedded Technology and Applications Symposium (RTAS); IEEE: New York, NY, USA, 2024; pp. 108–121. [Google Scholar] [CrossRef] [Scilit]
- Falk, J.; Hellmanns, D.; Carabelli, B.; Nayak, N.; Dürr, F.; Kehrer, S.; Rothermel, K. NeSTiNg: Simulating IEEE time-sensitive networking (TSN) in OMNeT++. In Proceedings of the 2019 International Conference on Networked Systems (NetSys); IEEE: New York, NY, USA, 2019; pp. 1–8. [Google Scholar] [CrossRef] [Scilit]
- IEEE Std 802.1AS-2020; IEEE Standard for Local and Metropolitan Area Networks–Timing and Synchronization for Time-Sensitive Applications. IEEE: New York, NY, USA, 2020. [Google Scholar] [CrossRef] [Scilit]
- IEEE Std 802.1Qbu-2016; IEEE Standard for Local and Metropolitan Area Networks–Bridges and Bridged Networks–Amendment 26: Frame Preemption. IEEE: New York, NY, USA, 2016. [Google Scholar] [CrossRef] [Scilit]
- Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; Klimov, O. Proximal policy optimization algorithms. arXiv 2017, arXiv:1707.06347. [Google Scholar] [CrossRef] [Scilit]
- Laborie, P.; Rogerie, J.; Shaw, P.; Vilím, P. IBM ILOG CP optimizer for scheduling: 20+ years of scheduling with constraints at IBM/ILOG. Constraints 2018, 23, 210–250. [Google Scholar] [CrossRef] [Scilit]
- Perron, L.; Didier, F. CP-SAT, Version 9.15; Google OR-Tools, 2026. Available online: https://developers.google.com/optimization/cp/cp_solver/ (accessed on 5 November 2026).
- Garey, M.R.; Johnson, D.S. Complexity results for multiprocessor scheduling under resource constraints. SIAM J. Comput. 1975, 4, 397–411. [Google Scholar] [CrossRef] [Scilit]
- Stüber, T.; Osswald, L.; Menth, M. Efficient robust schedules (ERS) for time-aware shaping in time-sensitive networking. IEEE Open J. Commun. Soc. 2024, 5, 6655–6673. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.




