General Multiplicative Spanners in Practice
Abstract
Given an undirected graph with edge weights and lengths, a minimum -spanner is a least-weight subgraph that preserves distances w.r.t. the lengths between all node pairs up to a factor of . Literature often takes the simplifying assumption of a single (coupled) edge function for weights and lengths. For such instances, several exact and non-exact algorithms are known and have been thoroughly evaluated in practice. However, many practical instances have decoupled form, as their weights and lengths are generally independent. Due to the increased complexity, only few (and even fewer practical) algorithms are able to guarantee low-weight solutions. This prompts practitioners to force their naturally decoupled instances into a coupled format, forsaking any quality guarantee.
We implement several exact, approximative and heuristic algorithms for decoupled -spanners, and use algorithm engineering to speed them up in practice. Our hypothesis-driven experiments evaluate their performance w.r.t. solution quality and speed. Generally, many practical instances can indeed be solved exactly within reasonable time, while LP-based approximation algorithms are not worthwhile. We find that standard greedy algorithms often yield acceptable results, but there are also practical instances for which they yield arbitrarily poor solutions. Here, augmented greedy variations offer a good compromise between solution quality and speed.
Keywords and phrases:
Graph spanners, ILP, experimental study, algorithm engineeringFunding:
Markus Chimani: German Research Foundation (DFG) project number 517835933.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Mathematical optimization ; Theory of computation Network optimizationEditors:
Martin Aumüller and Irene FinocchiSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Let be an undirected graph with edge length . Let denote the length of a shortest path w.r.t. between nodes and in . A spanner is a subgraph that preserves these distances up to some error; see [1] for an overview. Arguably the most prominent variant are (multiplicative) -spanners:
Definition 1 (-spanner problem).
Given an undirected graph , non-negative edge weights , positive edge lengths , and a stretch factor . A subgraph is an -spanner if it satisfies the stretch property for all node pairs . We ask for an -spanner with minimum total weight .
We can assume w.l.o.g. that is connected and simple. Spanners first emerged in geometric settings, i.e., is complete and is Euclidean, to study motion planning [20, 27]. The abstraction to general graphs came in the context of communication networks [58, 59]. Since then, they found applications in a variety of fields, including approximate distance oracles [57, 63], graph drawing [64, 5], VLSI design [6], and passenger assignment [45].
In practice, the weight and length of an edge are generally independent, i.e., decoupled. However, most research considers simplifying assumptions. In basic variants, all edges have unit weight and length, i.e., . In coupled variations, each edge’s weight equals its length, i.e., , for each . Unit-length or unit-weight variations assume or , for all , respectively. Unit-weight variations thus minimize the size of spanners. We focus on decoupled settings in practice.
Already basic -spanners are NP-hard to find [58], even for bounded-degree graphs [43]. The decoupled -spanner problem is quasi-NP-hard to approximate with ratio [32]. Still, several exact and approximation algorithms exist, but most quality guarantees apply only to special cases of the decoupled -spanner problem. Arguably, the most famous is the Greedy heuristic by Althöfer et al. [4] (see also Section 2). While Greedy offers strong weight and size guarantees in the coupled setting, it has no weight guarantee for decoupled settings.
Some approaches have been studied in practice. For coupled geometric -spanners, [37] evaluates the performance of specialized algorithms [18, 25, 50] and Greedy. Coupled -spanner approximations in general graphs were considered in [23]. They compare a variety of different algorithmic approaches [4, 53, 9, 8, 30]. Both studies show that, in almost all cases, Greedy finds the sparsest and lightest spanners typically within the shortest running time. The two known exact approaches [61, 2] (based on integer linear programs, ILPs) for the coupled -spanner problem were evaluated in [16]: using algorithm engineering, they are able to solve large practically relevant instances with more than 16 000 nodes. They further show that Greedy often yields near-optimum solutions.
There are currently no experimental studies on decoupled -spanners, likely due to the increased complexity and lack of practical algorithmic results compared to the coupled case. However, this is a problem in practice, as many real-world scenarios have to consider intrinsically decoupled instances. This lack of approaches prompts many practitioners to force decoupled instances into a coupled format by discarding or combining weights and lengths. For example, in passenger assignment in public transportation [45], they face spanners where the lengths correspond to travel times and weights to operational costs. In graph drawing [5], weights correspond to edge-centrality measures while lengths are Euclidean distances. In both cases, instances are remodeled and solved using Greedy. Despite Greedy’s outstanding performance in coupled scenarios, this practice poses significant issues, as it does not guarantee that solutions effectively address the original decoupled problem.
Contribution.
We present the first practical evaluation of algorithms for decoupled -spanners, comparing solution quality and running times. Our study covers exact approaches, several Greedy variants, LP-rounding approximations, and heuristics derived from ILP formulations. Our hypothesis-driven experiments focus on practical instances from a wide array of applications. Algorithm engineering is used to speed up approaches, allowing us to solve instances with more than nodes exactly. Greedy often performs well but, in certain cases, yields arbitrarily poor solutions – so practitioners need to be cautious.
2 Known Algorithms
For , let and . For any function and , let . Spanners are often not only compared w.r.t. their total weight, but also w.r.t. their size , their sparsity , or their lightness , which relates the weight of to the weight of a minimum-weight spanning tree in .
We outline the most notable algorithms, focusing on those that can potentially tackle general decoupled instances. They can be grouped into greedy, exact, and LP-based approaches.
Greedy approaches.
Althöfer et al. [4] present the Greedy heuristic for coupled -spanners. It starts with an empty spanner . Until is feasible, it processes edges in non-decreasing order of length. It adds to if the current distance between and in is too long. For coupled instances, (), Greedy yields spanners of lightness and size . By violating the stretch-property by a factor of , , Greedy yields -spanners of lightness [31]. In the geometric setting, i.e., complete graphs with Euclidean lengths (=weights), it attains lightness and size [19]. The running time of is dominated by shortest path computations for each edge. On decoupled instances, these size guarantees still hold, but Greedy offers no weight (nor lightness) guarantee: already the shortest edge (which is always chosen) may have arbitrarily high weight. Nevertheless, Greedy is commonly used in practice also for decoupled instances, see e.g. [64, 5, 45]. For coupled -spanners, many algorithms were developed in an attempt to improve over Greedy [60, 8, 9, 30]; some of them allow the spanners to violate the stretch property by a factor of [19, 31, 33, 3]. Still, Greedy is beneficial w.r.t. most guarantees and typically outperforms other non-exact approaches in practice [37, 23], often achieving near-optimum weight [16].
The Augmented Greedy [15], extends Greedy to provide weight guarantees in the decoupled setting. For a weight , let be the weight-restricted subgraph containing only edges of weight at most . First, Augmented Greedy determines a weight threshold , classifying edges as either low- or high-weight. Then, the algorithm runs Greedy on (in order of edge length), but whenever a high-weight edge would be added, it adds a shortest path (w.r.t. ) from instead. The threshold is chosen such that is a feasible spanner; its value can be found via binary search over the distinct edge weights of the instance; it thus requires feasibility tests. This establishes a weight ratio guarantee of . To additionally retain all quality guarantees of Greedy in coupled settings, is further raised to the weight of the minimum-weight spanning tree in (if larger). Augmented Greedy’s running time of closely matches Greedy.
Exact approaches.
The literature knows two exact ILP formulations for coupled -spanners. It is straight-forward to generalize both to the decoupled case, by naturally adapting the objective function. The first approach employs a path-based ILP for multicommodity flow [61]. For each node pair , let be the set of -paths with length at most ], and we have binary path variables for each path . Such a variable is if and only if is contained in the solution ; it is a witness that its endpoints satisfy the stretch property. Constraints ensure that for every pair , at least one path of is chosen. For every there is a binary edge variable that is if and only if it is on a chosen path. The -spanner is established by those edge variables. The main challenge lies in the exponential number of path variables that have to be dynamically added to the LP relaxation using column generation. The restricted master problem (RMP) considers only subsets for the path variables. During the solving process, paths are iteratively added, extending the RMP and improving the objective function value. Suitable paths are found by solving the pricing problem, which corresponds to a constrained shortest path (CSP) problem. Paths are constrained in their length w.r.t. and their cost, which is derived from the edge weights and the current RMP solution. The column generation procedure is repeated until no more paths are found. This establishes an optimal solution to the LP relaxation of the above formulation; an integral optimum solution is then found via Branch-and-Bound.
The other exact ILP approach considers a standard arc-based multicommodity flow model [2]. It has polynomial size and can be solved directly using standard ILP solvers via Branch-and-Bound. For each node pair , it routes one unit of flow from to , modeled via two directed flow variables per edge. Standard flow conservation constraints establish a flow solution; additional constraints ensure that any integral -flow follows a simple path of length at most .
The original publications consider coupled instances. In [61], the path-based approach fails to solve instances with 64 nodes within 30 minutes. In [2], the arc-based approach requires up to 40 hours for instances with 100 nodes. In [16], algorithm engineering is used to speed up both approaches. They are able to solve coupled instances with more than 16 000 nodes in 13 minutes. Except for instances with unit-lengths or large stretches , the path-based approach is superior.
LP-based approaches.
Stronger guarantees for decoupled -spanners require more intricate, randomized algorithms. They all yield feasible solutions with high probability and have expected approximation ratios. Further, they all require polynomially bounded integral lengths and . Some of them are applicable to broader forms of spanner problems.
The first class of approximation algorithms [26, 24, 22, 44] is based on rounding a path-based linear program (LP). Already solving the LP is non-trivial (see above) as guaranteeing polynomial running times requires the use of an FPTAS [55, 48] (and thus integral edge length [65]) to repeatedly solve the CSP pricing problem. Further, as rounding does not settle all node pairs, all of these algorithms require additional elaborate subroutines for, e.g., shallow trees [41] or minimum-weight distance-preserving junction trees [24]. Achieving the formally strongest ratio of [44] even requires both; -notation suppresses polylogarithmic factors. To our knowledge, these subroutines remain unimplemented, likely as their expected running times are impractically high. The other algorithms additionally either violate the stretch property [22] or are only applicable to unit-weights or -lengths [26, 24].
Another algorithmic idea is a randomized approximation algorithm for unit-length -spanners, based on rounding an arc-based LP in a layered graph [28]. While a direct extension to non-unit lengths therein is flawed, this was later corrected [15]. This Layered Rounding (LR) algorithm achieves an approximation ratio for decoupled spanners. Let be the largest edge length, and the maximum distance demand. The key idea is to establish a layered graph consisting of layers, each (essentially) a copy of . An arc-based multicommodity flow LP model sends flow through . Given an optimal LP solution, rounding up every edge variable with fractional value with probability yields (w.h.p.) a feasible spanner with suitable weight. For instances with constant and maximum node degree, the ratio improves to .
3 Considered Algorithms and Implementation Details
In this study, we want to evaluate the possible practical choices to find general decoupled -spanners. We thus focus only on implementable algorithms. We further exclude algorithms that are only applicable to very specific cases, e.g., restricted to unit-lengths or one specific value, or that may violate the stretch property. Table 1 gives an overview on the considered algorithms discussed below.
All implementations, use a forward star [29] graph representation for cache efficient shortest path computations, as in [16]. Whenever checking if a node pair is sufficiently connected in a current solution , we bound the shortest path search by .
Preprocessing.
Before we consider the implemented algorithms, we discuss our preprocessing techniques. Let denote the set of node pairs for which the stretch property has to be actively enforced: it is long known that suffices to obtain feasible -spanners [58]. It even suffices to set , where are the metric edges, i.e., those that satisfy the triangle inequality [15]. All algorithms thus start with an all-pairs-shortest-path computation to classify the edges accordingly. In coupled instances, non-metric edges can be removed as they never appear in an optimum solution. In decoupled instances this is no longer true as such edges may be crucial to attain a (near-)optimum solution. We propose two alternative size reduction techniques. Firstly, the notion of metric edges can be generalized: We can remove an edge if it is dominated, i.e., there is an -path in that is neither longer nor heavier than . Checking if a given edge is dominated is NP-hard [40] and requires a constrained shortest path algorithm (also used within the path-based ILP, see below); we call this reduction PreD. Secondly, an edge is overlong if and can be removed without affecting optimality. Overlong edges can be identified during the detection of metric edges with small overhead. We call this preprocessing strategy PreO.
Greedy approaches.
Despite not providing any non-trivial weight guarantee, Greedy is commonly used in practice to solve decoupled instances, typically by ignoring weights or lengths or by fusing both. We consider two variations of Greedy, which only differ in the order in which edges are considered; both guarantee a feasible solution. G-LW orders edges lexicographically by their length and weight. It has no weight guarantees, but a size guarantee of in general, and in the geometric setting. Conversely, G-WL orders edges lexicographically by their weight and length, which yields no quality guarantees at all. Intuitively, while G-LW tries to select as few edges as possible, G-WL tries to avoid selecting expensive edges. Clearly, in coupled, unit-weight or unit-length scenarios, both algorithmic variants behave identically.
We consider two variations of Augmented Greedy that only differ in the weight threshold. AG uses the weight bound as proposed in [15]. AGT does not use to further raise the weight threshold after the binary search. It has the same weight guarantee as AG for decoupled instances, but not for coupled ones. Observe that whenever is larger than the maximum edge weight, AG and G-LW yield the same spanner. We may assume that this is a common trait in real-world instances. In these cases AGT will typically classify fewer edges as low-weight (and consequently may yield solutions with smaller maximum edge weights). We can further speed up AG by changing the computation order proposed in [15]: We start with first computing . If is a feasible spanner, we have ; otherwise, we perform the binary search only for edge weights larger than .
Exact approaches.
Both above ILP approaches can be used to tackle decoupled instances, but unfortunately, not all of the speedup techniques of [16] are analogously applicable. Some of them can be salvaged, however. We denote the path-based and arc-based approaches by PB and AB, respectively. For both, we provide an initial heuristic solution obtained by G-LW. We use instead of : while we do not have to consider non-metric edges in , we cannot delete them (as was possible in the coupled case).
For PB, for all , we do the following: If there is a unique feasible -path, we fix this path’s variable and associated edge variables. We prune CSP calls if we can deduce that they are futile based on previous pricing iterations where no path was found. Initially, we add up to shortest -paths to the formulation; during pricing, we add up to lowest cost non-dominated feasible CSP solutions. In contrast to [16], we stop and return the first one if it has cost , as no further non-dominated paths can exist. Modern ILP-solvers strongly benefit from automatic cut generation (e.g., Gomory cuts [7]). Typically, such cuts can only be generated from constraints that will no longer change during the computation. As column generation regularly updates constraints with new variables, [16] does not use automatic cut generation. We can do better: for , if all feasible -paths are present after initialization, we safely enable cut generation based on its corresponding constraints. These node pairs are subsequently ignored during pricing. Our pilot studies suggest that this vastly improves performance, especially on instances with unit weights or lengths.
For AB, if an edge direction , , is unreachable for some commodity , i.e., , we fix the corresponding flow variable to . If, in contrast, is used in every feasible -path, the corresponding flow variable is mandatory and fixed to . Since , the latter case may apply only (if at all) for elements of . Furthermore, AB may profit from all automatic cut generations and generic primal heuristics (like the feasibility pump) used by the ILP-solver (see below).
LP-based approaches.
As argued above, most strong LP-rounding based approximation algorithms are unfortunately futile to implement. However, the Layered Rounding approach, denoted LR, seems plausible to implement. Similar to AB, we can fix unreachable and mandatory variables and set . LR chooses each edge with some probability , which increases for larger LP-values corresponding to edge . If the solution is infeasible, the rounding is redone. W.h.p., the first attempt already yields a feasible solution (of weight corresponding to the expected approximation guarantee).
However, it stands to argue that probability may be rather high (to achieve the guarantees), and some smaller probabilities (yielding lower-weight solutions) may suffice for feasibility in practice. We thus also consider an algorithmic variant LR-R which uses a repeated rounding scheme (not to confuse with iterative rounding): For increasing values , we consider the probability function , for some , to sample (based on the single computed LP-solution) subgraphs . We stop once the first such subgraph is feasible. Note that after steps , LR-R finds a feasible solution w.h.p., and we do not increase for any further attempts.
There are also further feasible practical heuristic ideas that can be considered to put LR’s performance in context. For both, we start with computing the LP-relaxation of the AB ILP model (including fixing unreachable and mandatory variables). AB-R then uses the repeated rounding scheme describes above, increasing until it finds a feasible solution. AB-F uses the feasibility pump algorithm [38, 11], which is commonly implemented in strong ILP-solvers to identify feasible integral solutions from any LP-solution. Feasibility pump is known to yield strong results for other problems [10], and can be seen as an off-the-shelf method any practitioner may try without much implementation effort, to quickly attain a primal heuristic. We do not consider heuristics based on the PB model, as even completing the formulation with all necessary path variables is to laborious to be considered a practical heuristic.
For both LR-R and AB-R, pilot studies for different choices for suggest that the differences in running times and solution quality are negligible. We hence use .
| Abbr. | Algorithm | Variant | Apx. ratio | Running time in | ||
| exact | PB | path-based ILP | — | OPT | exponential | |
| AB | arc-based ILP | — | OPT | exponential | ||
| LP-based | LR | layered rounding | — | |||
| LR-R | layered rounding | repeated rounding | ||||
| AB-R | arc-based LP | repeated rounding | — | |||
| AB-F | arc-based LP | feasibility pump | — | |||
| greedy | G-LW | Greedy | lex. sort LW | — | ||
| G-WL | Greedy | lex. sort WL | — | |||
| AG | Augmented Greedy | — | ||||
| AGT | Augmented Greedy | no MST |
4 Experimental Design
All our implementations will be part of the next release of the free open source C++ library Open Graph algorithms and Datastructures Framework [21]. All instances and detailed experimental data are available at [17]. We use the Branch-and-Cut-and-Price framework SCIP 8.0.4 [12] with CPLEX 22.1.1 [49] as the LP solver. All experiments are performed on an Intel Xeon Gold 6134 with 256 GB RAM under Debian 10.2 using gcc 8.3.0-6 (-O3). We enforce a time limit of minutes and a RAM limit of GB per instance. For randomized algorithms (LR, LR-R, AB-R) we perform 5 independent runs and consider the solution with the median objective function value.
Hypotheses.
We design our experiments around concrete hypotheses, as listed in Table 2. We give the intuitive corresponding rationals when discussing them in detail in Section 5. The table also summarizes the results of testing them, see Section 5. Overall, (H2) to (H5) investigate how problematic the widespread practice of using G-LW or G-WL on decoupled instances truly is and whether adapted variants yield better results. (H6) assesses what instances can be solved exactly, while (H7) to (H9) explore the practicality of non-exact LP-based approaches. Lastly, (H10) and (H11) formulate high-level take-away messages.
| Preprocessing | ||
| (H1.D) | PreD is not worthwhile. | ✓ |
| (H1.O) | For (I)LP-based approaches, PreO is beneficial on non-metric, and especially on dense, instances. | ✓ |
| Greedy algorithms | ||
| (H2) | G-LW dominates G-WL. | ✓ |
| (H3.W) | On all practically relevant instances, AG and G-LW yield the same solutions, | |
| (H3.T) | and exhibit similar running times. | ✓ |
| (H4.W) | AGT yields better solutions than AG, | |
| (H4.T) | but is slightly slower. | ✓ |
| (H5.T) | AGT is slower than G-LW, | ✓ |
| (H5.W) | but yields better solutions, | |
| (H5.C) | especially for instances with (strongly) anti-correlated weights and lengths. | |
| (H5.S1) | G-LW yields better size than AGT (even despite worse weight), | ✓ |
| (H5.S2) | and achieves near-optimum solutions for unit-weight instances. | ✓ |
| Exact algorithms | ||
| (H6.T1) | PB has better performance than AB, | ✓ |
| (H6.T2) | but its performance is more sensitive to the weight-length-correlation. | |
| Arc-based Rounding algorithms | ||
| (H7.W) | AB-F yields better solutions than AB-R, | ✓ |
| (H7.T) | but both are as slow as AB. | ✓ |
| Layered Rounding algorithms | ||
| (H8.W1) | LR selects nearly all non-zero edges and yields high-weight solutions. | (✓) |
| (H8.W2) | LR-R yields better solutions than LR. | (✓) |
| (H8.T) | Both have similar running times. | (✓) |
| (H9.T) | LR-R is much slower than AB-R. | ✓ |
| (H9.W) | Both yield solutions of similar weight. | |
| Overall | ||
| (H10.T) | The strong greedy approaches are substantially faster and able to tackle larger instances than the strong non-exact LP-based approaches, | ✓ |
| (H10.W) | but do not yield worse solutions. | |
| (H11.E) | Reasonably-sized practical instances are solved exactly in reasonable time. | ✓ |
| (H11.L) | Non-exact LP-based approaches are not worthwhile. | ✓ |
| (H11.G) | Strong greedy heuristics deliver near-optimum solutions, especially for larger instances. | (✓) |
Real-World Instances.
We focus our evaluations on practically motivated instances from a variety of backgrounds. In practice, stretch factors are typically small constants. Often stretches are considered impractical, e.g., [64, 45], as they yield too large distortions. Thus, we mainly consider , also in line with previous studies. To check trends for degenerating stretches, we also consider . Let () denote unit weights (lengths); other indices denote other measures. We do not consider instances for , as they are trivial. Let denote the average node degree, and () the (average) Pearson correlation coefficient between weights and lengths:
Power. Graphs from power transmission line routing [14] based on an area of km2 near Münster, Germany. The resulting graph () is a Moore neighborhood grid graph with holes. Besides , we consider weights corresponding to the intersection with bird preservation areas, landscape preservation areas, freeways, or settlement areas. Lengths correspond to Euclidean distances ().
Road. Motivated by [45], we consider 10 undirected US road networks [13] with and . We consider combinations , and with , respectively. Thereby is the inverse speedlimit, the fuel consumption [56], the travel-time, and the road segment’s length.
Repetita. An internet traffic engineering benchmark set [42], where the given (integer) delay are the edge lengths. We include the three largest Internet Topology Zoo [51] instances () with , , and . We also use all six Rocketfuel [62] instances which have given edge weights, , , and .
STL. Motivated by applications in VLSI design [6], we consider the rectilinear and VLSI instance sets from SteinLib [52]. We have (median ), , and a Manhatten metric between nodes. We consider and ( and ); totaling VLSI and rectilinear graphs. corresponds to the Elmore delay [35], i.e., delays over wires are (rougly) squares of their length.
SBM. In [5], spanners are used to minimize ink usage in graph drawings. We consider their 100 social network graphs [54] generated using the stochastic block model [46] with . Average node degrees vary from sparse () to dense (). Euclidean edge lengths are attained via stress majorization [39, 66]; weights are the inverse neighboring edge betweenness (and , if betweenness is ), see [5] ().
EPB. For sparsification in graph drawings via edge-path bundling, [64] uses spanners. We use their Airlines (, ), Migration (, ), and Airtraffic (, ) instances with and squared Euclidean distances ().
Synthetic Instances.
ER. Erdős-Rényi graphs are expanders w.h.p. [47], i.e., simultaneously sparse and highly connected. We enforce relative densities (dense) or constant (sparse). For each and (), each possible edge is included with uniform probability (, resp.).
GEO. Geometric graphs are complete graphs () with Euclidean lengths (see below). We consider all .
For ER, we consider combinations , , and ; for GEO, and . For , values are drawn uniformly at random from [22, 16]; Euclidean lengths arise from placing nodes uniformly at random in a unit square. We obtain weights synthetically based on given , using the linear combination method: Set and randomly shuffle them between the edges. Then, set to achieve the target correlation . For each of these parameter tuples, we generate 5 ER (GEO) graphs, yielding (, resp.) graphs overall.
Methodology.
We say an exact (non-exact) algorithm fails if it does not return a proven optimal (any, respectively) solution within the time and RAM limit. When discussing the running time ratio or weight ratio between two algorithms and (writing /), we define this ratio be () if both (only , respectively) fail(s). We rarely consider cases where only may fail; then we use the time limit or weight of for .
Our evaluation follows a two-phased approach. First, we analyze the median and other quantiles of paired performance metrics (running time, weight ratio, etc.) to obtain an initial assessment of algorithmic differences. If these descriptive statistics are inconclusive, we proceed with the Wilcoxon signed-rank test to formally assess statistical significance. All hypothesis tests are conducted at a -value threshold of . This methodology leverages robust non-parametric statistics and avoids unnecessary testing when strong distributional shifts are evident from summary statistics.
5 Testing the Hypotheses
| Power | Road | Repetita | STL | ||||||||||||
| (, len) | (gas, t) | (1, len) | (1, man) | (man, man2) | |||||||||||
| failure rate (%) | PB | ||||||||||||||
| AB | |||||||||||||||
| LR & LR-R | — | — | — | — | — | — | — | — | |||||||
| AB-R | |||||||||||||||
| AB-F | |||||||||||||||
| G-LW & AG | |||||||||||||||
| G-WL | |||||||||||||||
| AGT | |||||||||||||||
| median time (sec.) | PB | ||||||||||||||
| AB | |||||||||||||||
| LR | — | — | — | — | — | — | — | — | |||||||
| LR-R | — | — | — | — | — | — | — | — | |||||||
| AB-R | |||||||||||||||
| AB-F | |||||||||||||||
| G-LW | |||||||||||||||
| AG | |||||||||||||||
| G-WL | |||||||||||||||
| AGT | |||||||||||||||
| SBM | EPB | ER | GEO | ||||||||||||
| (1, n) | (n, 1) | (, n) | (1, euc) | (, euc) | |||||||||||
| failure rate (%) | PB | ||||||||||||||
| AB | |||||||||||||||
| LR & LR-R | — | — | — | — | — | — | — | — | |||||||
| AB-R | |||||||||||||||
| AB-F | |||||||||||||||
| G-LW & AG | |||||||||||||||
| G-WL | |||||||||||||||
| AGT | |||||||||||||||
| median time (sec.) | PB | ||||||||||||||
| AB | |||||||||||||||
| LR | — | — | — | — | — | — | — | — | |||||||
| LR-R | — | — | — | — | — | — | — | — | |||||||
| AB-R | |||||||||||||||
| AB-F | |||||||||||||||
| G-LW | |||||||||||||||
| AG | |||||||||||||||
| G-WL | |||||||||||||||
| AGT | |||||||||||||||
For the remainder of this section, Table 3 and Figures 1 and 2 (also Tables 4 and 5, and Figure 3 in the appendix) show some in-depth data. For the reader’s ease it may be helpful to start with a high level summary on the general experimental results, before diving into the formal details of the hypothesis testing. Generally, we observe that the exact ILP approaches perform very well in practice. The greedy algorithms offer low running times, with not too bad solution qualities. The LP-based approaches, on the other hand, have a hard time: the layered approaches LR and LR-R fail on drastically more instances than the exact approaches; the non-exact arc-based AB-R and AB-F are typically not much faster than the (exact) AB (at least for the practically most relevant , see above) – in conjunction with the fact that the exact PB is often a better choice than AB, there seems to be little to no reason to consider any LP-based non-exact approach in practice. We will revisit these claims formally when discussing the hypotheses (H10) and (H11) below.
Preprocessing: (H1) .
PreD is computationally costly. If we could reject (H1.D) at all, it would be for long-running algorithms on instances with many dominated edges. Instances with unit-weights or metric lengths (and our ER ) have no dominated edges. Consider PB (results are similar for the other (I)LP-based algorithms). Even on the remaining instances, PreD never yields lower failure rates than PreO: on ER , the gaps are – percentage points for all values of . Interestingly, for and , even using neither PreD nor PreO performs slightly better than PreD (see Table 5). We thus accept (H1.D) .
Overlong edges only exist in instances with non-metric lengths. The number of overlong edges decreases with growing and increases with relative density. Naturally, greedy algorithms get little to no benefit from PreO. PB with PreO never has a higher failure rate than without preprocessing. On ER , using PreO reduces failure rates by – percentage points for different values of . On the naturally sparse STL , their failure rates never deviate more than percent points. Even on instances without overlong edges, PreO increases the runtime by a mean of only . We accept (H1.O) and always use PreO for all (I)LP-based approaches and never use PreD for any algorithm below.
Greedy algorithms: (H2) –(H5) .
The rationale to (H2) is G-WL’s complete lack of quality guarantees. We expect that the overall weight, size, and running time of G-LW is not higher and often lower than that of G-WL. By definition, both algorithms yield the same solution on unit-length or unit-weight instances; we shall not consider them now. G-LW generally finds lower weight solutions, cf. Figure 1. The difference is especially large on strongly anti-correlated instances, where G-WL tends to select almost the entire graph, as it considers edges in (nearly) descending order of length. On all considered instance sets, Wilcoxen signed-rank tests confirm that G-LW yields solutions also of lower size (not only weight).
Their running times are very similar on real-world instances (cf., Tab. 3 or Fig. 2). The , , and quantiles of the running time ratios G-LW/G-WL are , , and , respectively. G-WL often benefits from the fact that the shortest path computation in the current spanner can terminate early as all its current edges are too long (at the cost of a large spanner). On dense graphs (e.g. GEO ), this backfires as the spanners become unwieldily large, as witnessed by the median sparsity by G-LW vs. by G-WL. For , G-WL is significantly slower and even fails more often. Thus, we accept (H2) .
(H3) assumes that, in practice, edges rarely have a weight larger than . This is true for all instances, except for SBM. In the former cases, AG then classifies all edges as low weight, and AG and G-LW yield the same solution by construction. In SBM, some edges weight more than . The vast majority are edges that have betweenness and hence weight . These edges are metric and thus neither dominated nor overlong and cannot simply be removed from the instance (see Section 3). There are 13 instances, where G-LW’s weight ratio to the optimum is larger than . In contrast, the maximum weight ratio of AG to the optimum is , achieving order of magnitude lower weight. Crucially, across all considered instances, AG never returns a worse solution than G-LW. We reject (H3.W) in its generality but accept it for all instance sets except SBM for the expected reason.
AG and G-LW have identical failure rates for every considered instance and are the most successful among all considered approaches. Recall that for all instances (except SBM) AG’s computation is essentially a single computation (to a large ), followed by G-LW. In , and of the non-SBM instances where G-LW requires at least 1 s, the running time ratio AG/ G-LW is below , , and , respectively. On all SBM instances, the median ratio is . Hence, we accept (H3.T) as well.
(H4) ’s rationale is that classifying more edges as high-weight is beneficial but obtaining the suitable bound takes extra time. AGT nearly never fails, except on some large ER and GEO instances. This is due to the many binary search steps for , each requiring a feasibility check (and associated shortest path computations) that is expensive on large, dense graphs. For all instances solved by both AG and AGT and where AG’s running time is at least 1 s, the , , , and quantile of the running time ratio AGT/AG is , , , and , respectively. We accept (H4.T) .
Since, AG and G-LW behave identical on all non-SBM instances, we consider SBM now, and defer for the other instances to the analysis of (H5) . We have an intrinsic dependency on : For , , , and , AG and AGT yield different weight solutions in , , , and % of the instances; when they differ, AGT finds a lower weight solution in , , , and % of the instances, respectively. On SBM instances, we accept (H4.W) . As we will see in (H5) , the situation is not as clear cut on other instance sets.
(H5) compares AGT and G-LW and, by extension, AG. Consider (H5.W) and (H5.C) first. Since, by design, they yield identical solutions for unit-weight () instances, we ignore those here. On real-world instances, the to quantiles of the weight ratio AGT/G-LW are all . For Road, Power, and Repetita Rocketfuel instances, the maximum difference in weight is . The maximum weight ratio over all non- instances (including the synthetic ones) is below ; the to quantiles are all ; even the and quantiles are still and ; the minumum ratio (close to ) arises for the SBM instances as discusses before. Hence, for the vast majority of instances they yield essentially the same weight, see also Figure 2. However, (H5.W) is verified by Wilcoxon signed-rank test for ER and , GEO , and SBM. For all other non- instance sets it is inconclusive. Notably, contrary to our expectations, also on (strongly) anti-correlated instances – rejecting (H5.C) . We cannot accept (H5.W) (and thus neither (H4.W) ) in generality, but the data is also not sufficient for definite rejection.
Similarly, the maximum size ratio of AGT/G-LW over all instances is , the quantile is (cf. Figure 2 for the same reason as above). All quantiles between and are . The minimum size ratio is . Hence, for the vast majority of instances they yield similarly sized solutions. Whenever AGT achieves lower size, it also achieves lower weight. Further, in Figure 2, we see that G-LW typically yields lower size solutions than AGT, even when it yields higher weight. Thus, we see no reason to reject (H5.S1) .
Right: Performance diagram for all real-world instances with (cf. also Figure 3 in the Appendix). LR and LR-R are only applicable to 86.6% of the instances (891 of 1029).
(H5.S2) ’s rationale is that G-LW has a tight size guarantee assuming Erdős’ girth conjecture [36]. On all unit-weight instances – the respective Power, Road, STL, EPB, ER and GEO instances – the - and -quantile of the observed weight ratio of G-LW to the optimum is always below and , respectively, for all (except for GEO where lower bounds are weak). We thus accept (H5.S2) .
Exact algorithms: (H6) .
(H6.T1) is motivated by the observation that the path-based approach outperforms the arc-based one for the coupled case (except for unit weights and lengths, where arc-based dominates) [16]. Table 3 often shows similar failure rates for PB and AB. This even holds for instances with unit weights or lengths (possibly due to the newly introduced automatic cut generation for PB). Only on Road instances with , PB fails slightly more often. In contrast, on SBM, EPB, and ER, PB achieves substantially lower failure rates, with particularly drastic differences on SBM. Overall, AB only seems to be slightly better suited for naturally sparse graphs. Otherwise PB is superior. These trends become even more apparent when investigating the running times (see also the performance diagram Figure 2 for ; for other values the key observations are consistent). Clearly, PB is able to solve more instances more quickly. We accept (H6.T1) .
(H6.T2) seems plausible as the CSP algorithm in PB benefits from correlated weights and lengths. We may consider ER and GEO , for varying correlations . Surprisingly, neither approach seems to be particularly strongly affected by different correlations. Both are marginally more successful for uncorrelated weights and lengths. For ER failure rates of PB (AB) for , , , do not vary by more than , , , (, , , , respectively) percent points between different values of , and similarly for GEO . The dependence seems only relevant for the practically less relevant . Overall, we thus have to reject (H6.T2) .
Arc-based Rounding Algorithms: (H7) .
The rationale behind (H7.T) is that the arc-based ILP often achieves integral solutions on coupled instances within the root node [16]. Generally, the failure rates of AB-F and AB-R are at most as high as those of AB (cf. Table 3) and their running times are lower. However, there are notable exceptions. For very dense graphs, AB-F struggles, e.g., for GEO or instances with , its failure rate is – percentage points higher than that of AB. Conversely, for sparse graphs AB-R underperforms: On the STL and Road instance sets (unless ), its failure rate is never better than AB’s. There, AB-R requires numerous rounding attempts to obtain a feasible solution. For example, for , AB-R is only able to solve a single Road instance, and on it requires rounding attempts (and, thus, feasibility checks). Consider the running time ratios on real-world instances for . The , , and quantiles for AB/AB-R, are , , and , respectively; for AB/AB-F, they are , , and , respectively. For these instances, AB-F is slightly faster than AB-R. For this can also be seen in the performance diagram Figure 2: AB-F performs comparable to AB, while both outperform AB-R. Only for , due to the low success rate of AB, AB-F and AB-R achieve substantial speed-ups. However, for most (and the practically most relevant) -values, we accept (H7.T) .
Layered Rounding Alg.s: (H8) , (H9) .
By design, LR and LR-R are only applicable to instances with integer lengths and integer . Due to the high number of necessary layers, LR and LR-R’s failure rates (see Table 3) are always higher than those of the exact algorithms, except for ER with (where only layers are generated). Still, even for these instances, they never yield better solutions than the significantly faster G-LW. As LR and LR-R offer no recognizable benefit in any scenario, discussing their corresponding hypotheses in detail seems dispensable given the space restriction; see Table 2 for the results.
Overall: (H10) , (H11) .
For (H10) , we compare the strong LP-based approaches (AB-R, AB-F) to the strong greedy approaches (G-LW, AG, AGT). The idea behind (H10) is that Greedy is known to yield strong results in the coupled setting [16, 23, 37] and these qualities may translate to the decoupled setting. On many instance sets, the failure rate of the strong greedy approaches is substantially lower than those of the LP-based approaches (see Table 3); indeed, whenever any strong greedy approach failed an instance, all LP-based approaches failed as well. As a clear example, G-LW and AG never fail on GEO instances, including , while LP-based approach fail on all such instances with . For each instance, consider the running time ratio of the slowest strong greedy approach to the fastest LP-based approach. There are only out of instances where this ratio is greater than 1. On real-world instances, the , , and quantiles are , , and , respectively. Similarly, for the synthetic instances, they are , , , and , respectively. Clearly, the strong greedy approaches are generally substantially faster and able to tackle larger instances, confirming (H10.T) .
Consider the weight ratio between the highest weight solution obtained by any strong greedy approach and the lowest weight solution obtained by any LP-based approach. On real-world instances, the , , and quantiles are , , , , respectively. For the synthetic instances, they are , , , and , respectively. Thus, the greedy approaches yield solutions of similar, but also slightly heavier, weight. Hence, we reject (H10.W) in its generality. Yet, for Power, Repetita, and EPB (H10.W) is confirmed using the Wilcoxon signed-rank test.
Regarding (H11.E) , (H6.T) already establishes that the vast majority of the considered real-world instances can be solved exactly by PB or AB (see also Figure 2). This includes, e.g., STL instances with more than nodes. Hence, we accept (H11.E) .
For (H11.L) , to be considered worthwhile, a non-exact algorithm must be faster than exact approaches. (H7.T) already confirms that AB-F and AB-R do not offer a significant speed-up against AB, and (H6.T) establishes that PB is faster and able to solve more and larger instances than AB. See also Figure 2 for . For , only on Power instances, AB-F and AB-R are clearly stronger than AB or PB; but there, the strong greedy algorithms yield better solutions even faster (see also Table 3 and Figure 1). We thus accept (H11.L) .
For (H11.G) , we consider solutions within of the optimum to be “near-optimum”. Consider the ratio of the best solution found by a greedy approach to the optimum (or best found lower bound). We do not make claims for , as we do not have enough proven optimal solutions for statistical significance. Over all real-world instances, for each , the , , and 5 quantiles are at most , , and , respectively. Even for nearly every individual instance set and , the median (and often even the 0.75 quantile) are below the required – exceptions for are SBM, ER , Power, and for Repetita Rocketfuel, GEO (see Figure 1). We only have weak lower bounds for Power and GEO.
For coupled instances, Greedy [4] was reported to yield improved approximation ratios as the instances become larger [16, 61]. For G-LW, AG, and AGT, regardless of , we observe the same trend in the decoupled scenario on SBM and ER , , and instances. However, we do not see it for Road and STL instances. Overall, we cautiously accept (H11.G) in general, but without the claim for improved quality on larger instances.
Conclusion.
In a nutshell, our study finds that many real-world decoupled -spanner problem instances ( over the practically relevant , and still including ) can be solved exactly – typically with the path-based ILP (PB). This includes VLSI derived STL (i.e., SteinLib) instances with more than 34 000 nodes. LP-based approximations (or heuristics) are never (or typically not, respectively) worthwhile. The traditional Greedy (with lengths as primary sorting criterion, G-LW) often works quite well, but there are practical instances (SBM, arising in graph drawing) where it systematically attains solutions of abysmal quality. Thus, practitioners should use it with caution or opt for the augmented AG variant, which offers a good compromise between solution quality and speed.
References
- [1] Reyan Ahmed, Greg Bodwin, Faryad Darabi Sahneh, Keaton Hamm, Mohammad Javad Latifi Jebelli, Stephen Kobourov, and Richard Spence. Graph spanners: A tutorial review. Computer Science Review, 37, 2020. doi:10.1016/j.cosrev.2020.100253.
- [2] Reyan Ahmed, Keaton Hamm, Mohammad Javad Latifi Jebelli, Stephen Kobourov, Faryad Darabi Sahneh, and Richard Spence. Approximation algorithms and an integer program for multi-level graph spanners. In Proc. SEA2 (Special Edition) 2019, volume 11544 of LNCS, pages 541–562, Cham, 2019. Springer. doi:10.1007/978-3-030-34029-2_35.
- [3] Stephen Alstrup, Søren Dahlgaard, Arnold Filtser, Morten Stöckel, and Christian Wulff-Nilsen. Constructing light spanners deterministically in near-linear time. Theoretical Computer Science, 907:82–112, 2022. doi:10.1016/j.tcs.2022.01.021.
- [4] Ingo Althöfer, Gautam Das, David Dobkin, Deborah Joseph, and José Soares. On sparse spanners of weighted graphs. Discrete & Computational Geometry, 9(1):81–100, 1993. doi:10.1007/BF02189308.
- [5] Daniel Archambault, Giuseppe Liotta, Martin Nöllenburg, Tommaso Piselli, Alessandra Tappini, and Markus Wallinger. Bundling-aware graph drawing. In Proc. GD 2024, volume 320, pages 15:1–15:19. LZI Dagstuhl, 2024. doi:10.4230/LIPIcs.GD.2024.15.
- [6] Tetsuo Asano, Mark de Berg, Otfried Cheong, Hazel Everett, Herman Haverkort, Naoki Katoh, and Alexander Wolff. Optimal spanners for axis-aligned rectangles. Computational Geometry, 30(1):59–77, 2005. doi:10.1016/j.comgeo.2004.09.001.
- [7] Egon Balas, Sebastian Ceria, Gérard Cornuéjols, and N Natraj. Gomory cuts revisited. Operations Research Letters, 19(1):1–9, 1996. doi:10.1016/0167-6377(96)00007-7.
- [8] Surender Baswana and Sandeep Sen. A simple and linear time randomized algorithm for computing sparse spanners in weighted graphs. Random Structures & Algorithms, 30(4):532–563, 2007. doi:10.1002/rsa.20130.
- [9] Piotr Berman, Arnab Bhattacharyya, Konstantin Makarychev, Sofya Raskhodnikova, and Grigory Yaroslavtsev. Approximation algorithms for spanner problems and directed steiner forest. Information and Computation, 222:93–107, 2013. doi:10.1016/j.ic.2012.10.007.
- [10] Timo Berthold. Primal heuristics for mixed integer programs. PhD thesis, Zuse Institute Berlin (ZIB), 2006.
- [11] Timo Berthold, Andrea Lodi, and Domenico Salvagnin. Ten years of feasibility pump, and counting. EURO Journal on Computational Optimization, 7(1):1–14, 2019. doi:10.1007/s13675-018-0109-7.
- [12] Ksenia Bestuzheva, Mathieu Besançon, Wei-Kun Chen, Antonia Chmiela, Tim Donkiewicz, Jasper van Doornmalen, Leon Eifler, Oliver Gaul, Gerald Gamrath, Ambros Gleixner, Leona Gottwald, Christoph Graczyk, Katrin Halbig, Alexander Hoen, Christopher Hojny, Rolf van der Hulst, Thorsten Koch, Marco Lübbecke, Stephen J. Maher, Frederic Matter, Erik Mühmer, Benjamin Müller, Marc E. Pfetsch, Daniel Rehfeldt, Steffan Schlein, Franziska Schlösser, Felipe Serrano, Yuji Shinano, Boro Sofranac, Mark Turner, Stefan Vigerske, Fabian Wegscheider, Philipp Wellner, Dieter Weninger, and Jakob Witzig. Enabling research through the SCIP optimization suite 8.0. ACM Transactions on Mathematical Software, 49(2), 2023. doi:10.1145/3585516.
- [13] Geoff Boeing. Street network models and measures for every u.s. city, county, urbanized area, census tract, and zillow-defined neighborhood. Urban Science, 3(1), 2019. doi:10.3390/urbansci3010028.
- [14] Fritz Bökler and Markus Chimani. Approximating multiobjective shortest path in practice. In Proc. ALENEX 2020, pages 120–133, Philadelphia, 2020. SIAM. doi:10.1137/1.9781611976007.10.
- [15] Fritz Bökler, Markus Chimani, and Henning Jasper. Simple approximations for general spanner problems. In Proc. Approximation and Online Algorithms, pages 48–63, Cham, 2025. Springer Nature Switzerland. doi:10.1007/978-3-032-06706-7_4.
- [16] Fritz Bökler, Markus Chimani, Henning Jasper, and Mirko H. Wagner. Exact minimum weight spanners via column generation. In Proc. Algorithms–ESA 2024, volume 308 of LIPIcs, pages 30:1–30:17. LZI Dagstuhl, 2024. doi:10.4230/LIPIcs.ESA.2024.30.
- [17] Fritz Bökler, Markus Chimani, and Henning Jasper. Experimental data. https://tcs.uos.de/research/spanner, 2026.
- [18] Paul B. Callahan and S. Rao Kosaraju. A decomposition of multidimensional point sets with applications to k-nearest-neighbors and n-body potential fields. Journal of the ACM, 42(1):67–90, 1995. doi:10.1145/200836.200853.
- [19] Barun Chandra, Gautam Das, Giri Narasimhan, and José Soares. New sparseness results on graph spanners. In Proc. SoCG 1992, pages 192–201. ACM, 1992. doi:10.1145/142675.142717.
- [20] L. Paul Chew. There are planar graphs almost as good as the complete graph. Journal of Computer and System Sciences, 39(2):205–219, 1989. doi:10.1016/0022-0000(89)90044-5.
- [21] Markus Chimani, Carsten Gutwenger, Michael Jünger, Gunnar W Klau, Karsten Klein, and Petra Mutzel. The Open Graph Drawing Framework (OGDF). In Handbook of Graph Drawing and Visualization, chapter 17. CRC press, 2014.
- [22] Markus Chimani and Joachim Spoerhase. Network design problems with bounded distances via shallow-light steiner trees. In Proc. STACS 2015, volume 30 of LIPIcs, pages 238–248. LZI Dagstuhl, 2015. doi:10.4230/LIPIcs.STACS.2015.238.
- [23] Markus Chimani and Finn Stutzenstein. Spanner approximations in practice. In Proc. Algorithms–ESA 2022, volume 244 of LIPIcs, pages 37:1–37:15. LZI Dagstuhl, 2022. doi:10.4230/LIPIcs.ESA.2022.37.
- [24] Eden Chlamtáč, Michael Dinitz, Guy Kortsarz, and Bundit Laekhanukit. Approximating spanners and directed steiner forest: Upper and lower bounds. ACM Transactions on Algorithms, 16(3), 2020. doi:10.1145/3381451.
- [25] Kenneth L. Clarkson. Approximation algorithms for shortest path motion planning. In Proc. ACM STOC 1987, pages 56–65, New York, 1987. doi:10.1145/28395.28402.
- [26] Michael Dinitz and Robert Krauthgamer. Directed spanners via flow-based linear programs. In Proc. STOC 2011, pages 323–332. ACM, 2011. doi:10.1145/1993636.1993680.
- [27] David P. Dobkin, Steven J. Friedman, and Kenneth J. Supowit. Delaunay graphs are almost as good as complete graphs. Discrete & Computational Geometry, 5:399–407, 1990. doi:10.1007/BF02187801.
- [28] Yevgeniy Dodis and Sanjeev Khanna. Design networks with bounded pairwise distance. In Proc. STOC 1999, pages 750–759. ACM, 1999. doi:10.1145/301250.301447.
- [29] Jürgen Ebert. A versatile data structure for edge-oriented graph algorithms. Communications of the ACM, 30(6):513–519, 1987. doi:10.1145/214762.214769.
- [30] Michael Elkin and Ofer Neiman. Efficient algorithms for constructing very sparse spanners and emulators. In Proc. SODA 2017, pages 652–669. ACM SIAM, 2017. doi:10.1137/1.9781611974782.41.
- [31] Michael Elkin, Ofer Neiman, and Shay Solomon. Light spanners. SIAM Journal on Discrete Mathematics, 29(3):1312–1321, 2015. doi:10.1137/140979538.
- [32] Michael Elkin and David Peleg. The hardness of approximating spanner problems. Theory of Computing Systems, 41(4):691–729, 2007. doi:10.1007/s00224-006-1266-2.
- [33] Michael Elkin and Shay Solomon. Fast constructions of lightweight spanners for general graphs. ACM Transactions on Algorithms, 12(3):1–21, 2016. doi:10.1145/2836167.
- [34] John Ellis and Robert Warren. Lower bounds on the pathwidth of some grid-like graphs. Discrete Applied Mathematics, 156(5):545–555, 2008. doi:10.1016/j.dam.2007.02.006.
- [35] William C. Elmore. The transient response of damped linear networks with particular regard to wideband amplifiers. Journal of Applied Physics, 19(1):55–63, 1948. doi:10.1063/1.1697872.
- [36] Paul Erdös. Extremal problems in graph theory. In Proc. Symposium on Theory of Graphs and its Applications 1963, pages 29–36, Prague, 1964. Czech Academy of Sciences.
- [37] Mohammad Farshi and Joachim Gudmundsson. Experimental study of geometric t-spanners. ACM Journal on Experimental Algorithmics, 14:1–3, 2010. doi:10.1145/1498698.1564499.
- [38] Matteo Fischetti, Fred Glover, and Andrea Lodi. The feasibility pump. Mathematical Programming, 104:91–104, 2005. doi:10.1007/s10107-004-0570-3.
- [39] Emden R Gansner, Yehuda Koren, and Stephen North. Graph drawing by stress majorization. In Proc. GD 2004, pages 239–250. Springer Berlin Heidelberg, 2005. doi:10.1007/978-3-540-31843-9_25.
- [40] Michael Robert Garey and David Stifler Johnson. Computers and Intractability: A Guide to the Theory of NP-Completeness. A Series of Books in the Mathematical Sciences. W. H. Freeman and Company, New York, 1979.
- [41] Naveen Garg, Goran Konjevod, and Ramamoorthi Ravi. A polylogarithmic approximation algorithm for the group steiner tree problem. Journal of Algorithms, 37(1):66–84, 2000. doi:10.1006/jagm.2000.1096.
- [42] Steven Gay, Pierre Schaus, and Stefano Vissicchio. Repetita: Repeatable experiments for performance evaluation of traffic-engineering algorithms. arXiv preprint, 2017. arXiv:1710.08665.
- [43] Renzo Gómez, Flávio Keidi Miyazawa, and Yoshiko Wakabayashi. Improved NP-hardness results for the minimum t-spanner problem on bounded-degree graphs. Theoretical Computer Science, 947:113691, 2023. doi:10.1016/j.tcs.2023.113691.
- [44] Elena Grigorescu, Nithish Kumar, and Young-San Lin. Approximation algorithms for directed weighted spanners. In Proc. APPROX/RANDOM 2023, volume 275 of LIPIcs, pages 8:1–8:23. LZI Dagstuhl, 2023. doi:10.4230/LIPIcs.APPROX/RANDOM.2023.8.
- [45] Irene Heinrich, Olli Herrala, Philine Schiewe, and Topias Terho. Using Light Spanning Graphs for Passenger Assignment in Public Transport. In Proc. ATMOS 2023, volume 115 of OASIcs, pages 2:1–2:16. LZI Dagstuhl, 2023. doi:10.4230/OASIcs.ATMOS.2023.2.
- [46] Paul W Holland, Kathryn Blackmond Laskey, and Samuel Leinhardt. Stochastic blockmodels: First steps. Social networks, 5(2):109–137, 1983. doi:10.1016/0378-8733(83)90021-7.
- [47] Shlomo Hoory, Nathan Linial, and Avi Wigderson. Expander graphs and their applications. Bulletin of the American Mathematical Society, 43(4):439–561, 2006. doi:10.1090/s0273-0979-06-01126-8.
- [48] Markó Horváth and Tamás Kis. Multi-criteria approximation schemes for the resource constrained shortest path problem. Optimization Letters, 12(3):475–483, 2018. doi:10.1007/s11590-017-1212-z.
- [49] IBM ILOG. V12. 1: User’s manual for cplex. International Business Machines Corporation, 46(53):157, 2009. URL: https://www.ibm.com/analytics/cplex-optimizer.
- [50] J Mark Keil. Approximating the complete euclidean graph. In Proc. SWAT 1988, volume 318 of LNCS, pages 208–213. Springer Berlin Heidelberg, 1988. doi:10.1007/3-540-19487-8_23.
- [51] Simon Knight, Hung X. Nguyen, Nickolas Falkner, Rhys Bowden, and Matthew Roughan. The internet topology zoo. IEEE Journal on Selected Areas in Communications, 29(9):1765–1775, 2011. doi:10.1109/JSAC.2011.111002.
- [52] Thorsten Koch, Alexander Martin, and Stefan Voß. SteinLib: An Updated Library on Steiner Tree Problems in Graphs, volume 11 of Combinatorial Optimization, pages 285–325. Springer US, Boston, 2001. doi:10.1007/978-1-4613-0255-1_9.
- [53] Guy Kortsarz and David Peleg. Generating sparse 2-spanners. Journal of Algorithms, 17(2):222–236, 1994. doi:10.1006/jagm.1994.1032.
- [54] Clement Lee and Darren J Wilkinson. A review of stochastic block models and extensions for graph clustering. Applied Network Science, 4(1):1–50, 2019. doi:10.1007/s41109-019-0232-2.
- [55] Dean H. Lorenz and Danny Raz. A simple efficient approximation scheme for the restricted shortest path problem. Operations Research Letters, 28(5):213–219, 2001. doi:10.1016/S0167-6377(01)00069-4.
- [56] Mostofa Kamal Nasir, Rafidah Md Noor, M.A. Kalam, and B.M. Masum. Reduction of fuel consumption and exhaust pollutant using intelligent transport systems. The Scientific World Journal, 2014(1):836375, 2014. doi:10.1155/2014/836375.
- [57] David Peleg. Proximity-preserving labeling schemes and their applications. In Proc. WG 1999, volume 1665 of LNCS, pages 30–41. Springer Berlin Heidelberg, 1999. doi:10.1007/3-540-46784-X_5.
- [58] David Peleg and Alejandro A. Schäffer. Graph spanners. Journal of Graph Theory, 13(1):99–116, 1989. doi:10.1002/jgt.3190130114.
- [59] David Peleg and Jeffrey D. Ullman. An optimal synchronizer for the hypercube. In Proc. PODC 1987, pages 77–85, New York, 1987. ACM. doi:10.1145/41840.41847.
- [60] Liam Roditty and Uri Zwick. On dynamic shortest paths problems. Algorithmica, 61:389–401, 2011. doi:10.1007/s00453-010-9401-5.
- [61] Mikkel Sigurd and Martin Zachariasen. Construction of minimum-weight spanners. In Proc. Algorithms–ESA 2004, volume 3221 of LNCS, pages 797–808. Springer Berlin Heidelberg, 2004. doi:10.1007/978-3-540-30140-0_70.
- [62] Neil Spring, Ratul Mahajan, and David Wetherall. Measuring ISP topologies with Rocketfuel. ACM SIGCOMM Computer Communication Review, 32(4):133–145, 2002. doi:10.1145/633025.633039.
- [63] Mikkel Thorup and Uri Zwick. Approximate distance oracles. Journal of the ACM, 52(1):1–24, 2005. doi:10.1145/1044731.1044732.
- [64] Markus Wallinger, Daniel Archambault, David Auber, Martin Nöllenburg, and Jaakko Peltonen. Faster edge-path bundling through graph spanners. Computer Graphics Forum, 42(6), 2023. doi:10.1111/CGF.14789.
- [65] Dominik Wojtczak. On strong np-completeness of rational problems. In Proc. CSR 2018, volume 10846 of LNCS, pages 308–320, Cham, 2018. Springer. doi:10.1007/978-3-319-90530-3_26.
- [66] Jonathan X. Zheng, Samraat Pawar, and Dan F.M. Goodman. Graph drawing by stochastic gradient descent. IEEE Transactions on Visualization and Computer Graphics, 25(9):2738–2748, 2018. doi:10.1109/TVCG.2018.2859997.
Appendix A Appendix
| Power | Road | Repetita | STL | SBM | EPB | ER | GEO | ||||||||||||||||||||||
| (, len) | (gas, t) | (1, len) | (1, man) | (man, man2) | (1, n) | (n, 1) | (, n) | (1, euc) | (, euc) | ||||||||||||||||||||
| failure rate (%) | PB | — | |||||||||||||||||||||||||||
| AB | — | ||||||||||||||||||||||||||||
| LR & LR-R | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | |||||||
| AB-R | — | ||||||||||||||||||||||||||||
| AB-F | — | ||||||||||||||||||||||||||||
| G-LW & AG | — | ||||||||||||||||||||||||||||
| G-WL | — | ||||||||||||||||||||||||||||
| AGT | — | ||||||||||||||||||||||||||||
| median time (sec.) | PB | — | |||||||||||||||||||||||||||
| AB | — | ||||||||||||||||||||||||||||
| LR & LR-R | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — | |||||||
| AB-R | — | ||||||||||||||||||||||||||||
| AB-F | — | ||||||||||||||||||||||||||||
| G-LW | — | ||||||||||||||||||||||||||||
| AG | — | ||||||||||||||||||||||||||||
| G-WL | — | ||||||||||||||||||||||||||||
| AGT | — | ||||||||||||||||||||||||||||
| ER | |||||||||||||||||||||||||||||||||
| avg. deg | relative density | ||||||||||||||||||||||||||||||||
| failure rate (%) | PB | ||||||||||||||||||||||||||||||||
| PB PreD | |||||||||||||||||||||||||||||||||
| PB noPP | |||||||||||||||||||||||||||||||||
| AB | |||||||||||||||||||||||||||||||||
| LR & LR-R | — | — | — | — | — | — | — | — | |||||||||||||||||||||||||
| AB-R | |||||||||||||||||||||||||||||||||
| AB-F | |||||||||||||||||||||||||||||||||
| greedy | |||||||||||||||||||||||||||||||||
| median time (sec.) | PB | ||||||||||||||||||||||||||||||||
| PB PreD | |||||||||||||||||||||||||||||||||
| PB noPP | |||||||||||||||||||||||||||||||||
| AB | |||||||||||||||||||||||||||||||||
| LR | — | — | — | — | — | — | — | — | |||||||||||||||||||||||||
| LR-R | — | — | — | — | — | — | — | — | |||||||||||||||||||||||||
| AB-R | |||||||||||||||||||||||||||||||||
| AB-F | |||||||||||||||||||||||||||||||||
| G-LW | |||||||||||||||||||||||||||||||||
| AG | |||||||||||||||||||||||||||||||||
| G-WL | |||||||||||||||||||||||||||||||||
| AGT | |||||||||||||||||||||||||||||||||
| failure rate (%) | PB | ||||||||||||||||||||||||||||||||
| PB PreD | |||||||||||||||||||||||||||||||||
| PB noPP | |||||||||||||||||||||||||||||||||
| AB | |||||||||||||||||||||||||||||||||
| AB-R | |||||||||||||||||||||||||||||||||
| AB-F | |||||||||||||||||||||||||||||||||
| greedy | |||||||||||||||||||||||||||||||||
| median time (sec.) | PB | ||||||||||||||||||||||||||||||||
| PB PreD | |||||||||||||||||||||||||||||||||
| PB noPP | |||||||||||||||||||||||||||||||||
| AB | |||||||||||||||||||||||||||||||||
| AB-R | |||||||||||||||||||||||||||||||||
| AB-F | |||||||||||||||||||||||||||||||||
| G-LW | |||||||||||||||||||||||||||||||||
| AG | |||||||||||||||||||||||||||||||||
| G-WL | |||||||||||||||||||||||||||||||||
| AGT | |||||||||||||||||||||||||||||||||
| failure rate (%) | PB | ||||||||||||||||||||||||||||||||
| PB PreD | |||||||||||||||||||||||||||||||||
| PB noPP | |||||||||||||||||||||||||||||||||
| AB | |||||||||||||||||||||||||||||||||
| AB-R | |||||||||||||||||||||||||||||||||
| AB-F | |||||||||||||||||||||||||||||||||
| greedy | |||||||||||||||||||||||||||||||||
| median time (sec.) | PB | ||||||||||||||||||||||||||||||||
| PB PreD | |||||||||||||||||||||||||||||||||
| PB noPP | |||||||||||||||||||||||||||||||||
| AB | |||||||||||||||||||||||||||||||||
| AB-R | |||||||||||||||||||||||||||||||||
| AB-F | |||||||||||||||||||||||||||||||||
| G-LW | |||||||||||||||||||||||||||||||||
| AG | |||||||||||||||||||||||||||||||||
| G-WL | |||||||||||||||||||||||||||||||||
| AGT | |||||||||||||||||||||||||||||||||
