Manuscript Offprint
arXiv:2608.27607A Note on Approximating the Rural Postman Problem below 3/2
Abstract
We give an approximation algorithm for the rural postman problem with approximation ratio strictly smaller than 3/2. We obtain this result by adapting to the rural postman problem the technique of sampling from maximum entropy distributions for the metric traveling salesman problem of Karlin, Klein, and Oveis Gharan. We also observe that, for every fixed , any -approximation algorithm for the metric traveling salesman problem yields an -approximation algorithm for the rural postman problem; this implication is already implicit in the treatment of edges that must be traversed in the work of Lampis on the inapproximability of the traveling salesman problem.
Keywords: Rural postman problem; traveling salesman problem; approximation algorithms; combinatorial optimization.
1 Introduction
1.2 Related work
The metric traveling salesman problem (metric TSP) is another classical routing problem. Given a complete undirected graph with nonnegative edge costs satisfying the triangle inequality, metric TSP asks for a minimum-cost tour visiting all vertices. The classical algorithm of Christofides [4] gives a 3/2-approximation for metric TSP. More recently, Karlin et al. [12, 15] gave a randomized approximation algorithm with ratio strictly smaller than 3/2 by using the technique of sampling from maximum entropy distributions. Their later work proved the LP-relative version of this guarantee for the subtour elimination LP of metric TSP [13]. Finally, Karlin et al. [14] derandomized the resulting algorithm.
Metric TSP can be reduced to RPP, so RPP is at least as hard as metric TSP [19]. Conversely, for exact optimization, RPP can be transformed in polynomial time into TSP [11]; thus the two problems are polynomially interreducible in this sense. These exact transformations, however, do
School of Mathematics and Statistics, Yunnan University, Email: honglimath@126.com.
not by themselves preserve multiplicative approximation guarantees, and hence do not imply an approximation equivalence between RPP and metric TSP.
Frederickson [9] observed that the Christofides approach can be adapted to give a 3/2-approximation for RPP. Even after the better-than-3/2 result for metric TSP of Karlin et al. [12, 15], recent treatments continue to record 3/2 as the approximation guarantee for RPP; see, for example, Boyaci et al. [3] and Agarwal and Akella [1].
1.3 Our result
We show that the technique of sampling from maximum entropy distributions for metric TSP [12, 15] can be adapted to RPP, yielding an approximation algorithm with approximation ratio strictly below 3/2. The main result is the following.
Theorem 1.1. There is a constant and a polynomial-time randomized -approximation algorithm for RPP.
We state Theorem 1.1 in the randomized form because it admits a direct proof using the quantitative maximum-entropy slack theorem quoted below. A stronger LP-relative conclusion is also available from the subsequent analysis of Karlin et al. [13], and a corresponding LP-relative better-than-3/2 guarantee can be attained deterministically using the conditional-expectation derandomization of Karlin et al. [14]; see Remark 5.5. We record these stronger consequences separately because their verification in the present setting requires combining the LP-relative analysis with the derandomization framework of those works, rather than invoking a single stated result that applies verbatim to the fixed-required-edge formulation used here.
The randomized algorithm first applies a preprocessing similar to the transformations used by Christofides et al. [5] and Jünger et al. [11]. On the resulting instance, we adapt the maximum-entropy approach for metric TSP: we sample a spanning tree while ensuring that all required edges are retained, perform a minimum-cost parity correction to obtain a connected Eulerian multigraph, and then expand it into a feasible RPP closed walk. The analysis bounds the expected cost of the sampled tree together with the cost of the parity correction.
The same preprocessing also makes explicit a general approximation transfer that is already implicit in the treatment of edges that must be traversed in Lampis [16, Section 2.1].
Theorem 1.2. Let . If metric TSP admits a polynomial-time -approximation algorithm, then, for every fixed , RPP admits a polynomial-time -approximation algorithm.
Before the better-than-3/2 approximation algorithms for metric TSP, this implication did not improve the classical 3/2 guarantee for RPP. Moreover, transferring the currently known improvement below 3/2 through this reduction requires solving a metric TSP instance of extremely large size. Thus, although the reduction is polynomial time for every fixed , its better-than-3/2 consequence is mainly of theoretical interest. The maximum-entropy algorithm analyzed in this paper avoids this increase in instance size.
After the preprocessing, we formulate an LP relaxation for RPP, denoted by RPP-LP. For completeness, Appendix A records two further consequences of this LP relaxation on the preprocessed RPP instances. The approximation transfer above also holds relative to RPP-LP, and the worst-case integrality gap of RPP-LP is equal to that of the subtour elimination LP for metric TSP; in particular, it is strictly below 3/2 by Karlin et al. [13].
1.4 Organization
Section 2 fixes notation and records the polyhedral tools used later. Section 3 gives the preprocessing and the LP relaxation for the preprocessed RPP instance. Section 4 explains maximum-entropy distributions. Section 5 states the maximum-entropy algorithm and proves Theorem 1.1. Section 6 makes explicit the approximation transfer in Theorem 1.2, and Section 7 concludes the paper. Appendix A records the LP-relative transfer and the integrality-gap equality.
2 Preliminaries
2.1 Notation
Let be a graph. For , let denote the set of edges with exactly one endpoint in , and let denote the set of edges with both endpoints in . We write . Within a statement or proof in which a single ambient graph has been fixed, we suppress the subscript and write and .
For a vector and an edge set , write . For an edge set , let denote its incidence vector; when is a tour, denotes the incidence vector of its edge set. For edge multisets and , write for their multiset union. For an edge multiset , let odd( ) denote the set of vertices of odd degree in the corresponding multigraph.
For an edge cost function and an edge multiset , let denote the sum of the costs of the edges in , counted with multiplicity. For a vector , write . If is a walk, we write for the cost of its edge multiset.
For an RPP instance J and a metric TSP instance I, let and denote their optimum values. When the instance is clear from the context, we omit the argument.
2.2 The subtour elimination LP, spanning-tree polytope, and Q-join polyhedron
We first recall the subtour elimination LP for metric TSP [6]. Let be a complete graph with a nonnegative metric cost function . The subtour elimination LP is
We refer to this relaxation as TSP-LP. When these constraints are applied to a graph that is not complete, a vector is extended to by setting for every . We denote the optimum value of TSP-LP on a metric TSP instance by .
For a connected graph , the spanning-tree polytope is the set of vectors satisfying the following inequalities of Edmonds [7]:
For any edge cost function , the minimum cost of a spanning tree equals the minimum of over this polytope. Hence a minimum-cost spanning tree can be computed in polynomial time, and its cost is at most for every vector in the spanning-tree polytope.
Let have even cardinality. A Q-join is an edge multiset such that . In particular, if is a connected edge multiset, then adding an -join makes every vertex have even degree. The Q-join polyhedron of Edmonds and Johnson [8] is
The minimum cost of a Q-join equals the minimum of over this polyhedron. Hence a minimum-cost Q-join can be computed in polynomial time, and its cost is at most for every vector in the Q-join polyhedron.
3 Preprocessing and the RPP linear program
In this section, we transform the input RPP instance into a complete graph in which the required edges form a matching and all other edges correspond to shortest paths in the original graph. We then formulate an LP relaxation that preserves the required-edge structure used in Section 5. The preprocessed graph also forms the starting point for Section 6.
Throughout this section, let be the original connected graph with nonnegative edge costs , and let be the set of required edges. The cases and are handled directly by the algorithm in Section 5; hence the discussion below assumes .
3.1 The preprocessed complete graph
We use a preprocessing similar to the transformations of Christofides et al. [5] and Jünger et al. [11]. For each required edge , create two private vertices and . Let , and define the projection map by and . For each , add the edge with cost . These edges are the required edges of the preprocessed graph, and we denote their set by .
For every edge , set , where denotes the shortest-path distance with respect to . We call these edges connector edges and denote their set by . Thus , where , is a complete graph whose edges are partitioned into the required edges and the connector edges .
The preprocessed graph has the following properties.
(P1) The required edges in form a matching, and every vertex of is incident to exactly one edge of .
(P2) The cost of a connector edge uv is the shortest-path distance from to in the original graph. The full cost function need not be metric, because the cost of a required edge is , which may exceed .
(P3) A tour in that visits every vertex exactly once and traverses every edge of can be expanded into a feasible RPP closed walk in G of the same cost. Conversely, every feasible RPP closed walk can be transformed into such a tour in without increasing its cost.
The next lemma makes the last property precise.
Lemma 3.1. The minimum cost of a tour in that visits every vertex exactly once and traverses every edge of is equal to the optimum value of the original RPP instance on G with required edge set R.
Proof. Let be a feasible RPP closed walk in the original graph. For each required edge , choose one traversal of in , and read the chosen traversals in their cyclic order along . A chosen traversal of determines whether the corresponding required edge is traversed from to or from to . Between two consecutive chosen traversals, contains a walk joining the corresponding endpoints in the original graph. Replace this walk by the connector edge between the corresponding private vertices. By the definition of its cost, this replacement does not increase the total cost. Since every required edge is chosen exactly once and all private vertices are distinct, the resulting tour visits every vertex of exactly once and traverses every edge of . Hence its cost is at most , and the minimum cost of such a tour is at most .
Conversely, let be a tour in that visits every vertex exactly once and traverses every edge of . Replace every required edge by the corresponding original required edge , and replace every connector edge by a shortest path in from to . The resulting closed walk traverses every edge of and is therefore feasible for the RPP. Its cost is equal to . Hence is at most the minimum cost of such a tour in .
3.2 The RPP linear program
On the preprocessed graph with required edge set , we use the following subtour-elimination relaxation for finding a minimum-cost tour that traverses every edge of . The variables are for the connector edges . For a vector , let be its extension defined by for and for . Thus every required edge in is fixed to one rather than represented by a variable. The relaxation is
We call this relaxation RPP-LP. Let be an optimum extreme point solution, let be its extension to , and let denote the optimum value.
Lemma 3.2. The optimum value L of RPP-LP can be computed in polynomial time and satisfies , where refers to the original RPP instance on G with required edge set R.
Proof. The degree constraints and nonnegativity constraints are explicit. Given a vector , a violated cut constraint can be found, if one exists, by computing a global minimum cut in with capacities . Hence RPP-LP can be optimized in polynomial time by the ellipsoid method [10]; after optimizing the objective, polynomially many additional lexicographic optimization calls over the optimal face yield an optimum extreme point solution in polynomial time. The extreme-point property is used later to justify the polynomial-time implementation of the approximate maximum-entropy sampling step; see the proof of Lemma 4.4.
Let be a minimum-cost tour in that visits every vertex exactly once and traverses every edge of . Set for every connector edge used by , and for every other connector edge. Then is the incidence vector of , and hence is feasible for RPP-LP. Its objective value is . By Lemma 3.1, for the original RPP instance on with required edge set . Therefore .
4 Maximum-entropy distributions
4.1 From the RPP LP to the spanning-tree polytope
We use the following standard fact about TSP-LP. If is feasible for TSP-LP and for some edge , then the restriction of obtained by deleting is a vector in the spanning-tree polytope. A convenient way to create such an edge is to split a vertex and introduce a zero-cost edge between the two copies, as is also done in the metric TSP algorithm of Karlin et al. [12, 15].
We apply a similar split to the optimum extreme point solution of RPP-LP. Every required edge has coordinate one in its extension , but these edges must remain in the spanning trees sampled later. We therefore create an additional zero-cost edge of coordinate one by splitting one endpoint of a required edge. Choose the required edge , where and . Replace by two vertices and , make the required edge incident to , make every connector edge formerly incident to incident to , and add the zero-cost edge . We keep the notation and for the corresponding required edge and required-edge set after the split. Let be the resulting graph and let be its edge cost function.
Transfer the coordinates of to the corresponding edges of and set . Let be the resulting vector, and let be its restriction to .
Lemma 4.1. The vector , extended by zero to the edges not contained in , is feasible for TSP-LP on the complete graph with vertex set . Moreover, is a vector in the spanning-tree polytope of . Every required edge has coordinate one in , and .
Proof. The degree equations follow directly from the construction. The required edge incident to and the edge both have coordinate one. The connector edges incident to have total coordinate one by (9), and all other degree equations are unchanged.
For the cut constraints, a cut that does not separate and corresponds directly to a cut of . Suppose that a cut separates them and, after taking its complement if necessary, that is inside the cut and is outside. If is also outside, then and , both of coordinate one, already give cut value two. Otherwise, let be the vertices on the same side as . The cut contains , of coordinate one, and its remaining edges correspond exactly to the edges of the split cut other than . By (10), these remaining edges have total coordinate at least one. Hence every nontrivial cut has -value at least two, and is feasible for TSP-LP.
Since , the degree equations give . For every nonempty proper ,
Together with nonnegativity, these are the spanning-tree polytope inequalities. The required-edge coordinates are unchanged, and has cost zero, so .
4.2 Sampling from maximum entropy distributions
We first define the spanning-tree distribution used in the analysis.
Definition 4.2 (Maximum entropy distribution). Let be a connected graph, let denote the family of spanning trees of , and let be a vector in the spanning-tree polytope of . A probability distribution on has marginals if for every . The entropy of is , where . The maximum entropy distribution with marginals , denoted by , is the distribution that maximizes over all spanning-tree distributions with marginals .
Since is in the spanning-tree polytope, a spanning-tree distribution with marginals exists. The strict concavity of entropy implies that is unique. If and are two distributions on the same family of spanning trees, define their total variation distance by .
The improvement from the maximum entropy distribution comes from parity correction. If , a cut imposes a constraint in the -join polyhedron only when is odd. The analysis of Karlin et al. [12, 15] exploits the probabilistic structure of the maximum entropy distribution to obtain slack in these parity-correction constraints and thereby reduce the expected -join cost below the classical 1/2 bound. The technical theorem used for this purpose is stated in Section 5 in the form needed here.
All spanning-tree statements in this subsection also apply to loopless multigraphs, with parallel edges treated as distinct.
The exact distribution is used in the approximation analysis. For the polynomial-time algorithm, it is enough to sample from a distribution that is sufficiently close to and approximately preserves its marginals. The implementation in Karlin et al. [15] combines the algorithm of Asadpour et al. [2] for approximately prescribed spanning-tree marginals with the stability of maximum entropy distributions proved by Straszak and Vishnoi [18]. We use the following consequence.
Lemma 4.3 (Consequence of Karlin et al. [15] and Straszak and Vishnoi [18]). Let be a connected graph, let be a vector in its spanning-tree polytope, and let be the maximum entropy distribution with marginals . For any fixed , one can sample from a distribution on such that
The sampling can be implemented in randomized time polynomial in the size of H and in the logarithm of the inverse minimum positive coordinate of q.
We now apply this sampling result to the vector from Lemma 4.1. Let denote the maximum entropy distribution with marginals on the spanning trees of . Since has marginals , . Thus the maximum entropy distribution does not improve the expected tree cost; the gain comes from the parity correction. Since for every required edge , every tree in the support of contains all required edges. To preserve this property exactly in the polynomial-time sampling step, we contract the required edges before sampling and restore them afterwards.
Starting from , contract every edge of . For each edge , retain as a distinct edge whose endpoints are the vertices containing and after the contraction. Thus different original edges remain distinct even if they become parallel. No loop is created, because there is no edge in joining the two endpoints of the same required edge. Let be the resulting loopless multigraph. Each edge corresponds to a unique edge ; define .
Lemma 4.4 (Sampling after contracting required edges). For any fixed , one can sample in randomized polynomial time from a distribution on the spanning trees of such that:
(i) every tree in the support of contains every edge of ;
(ii)
(iii) for every .
Proof. Let be the family of spanning trees of that contain every edge of , and let be the family of spanning trees of . We first describe the correspondence between these two families.
Let . Contract the edges of and remove them from . The resulting edge set is connected and contains edges, and hence is a spanning tree of . Conversely, let . Replace every edge by its unique corresponding edge before the contraction and add all edges of . The resulting edge set is connected and has edges, and hence is a spanning tree of containing . These two operations are inverse to each other. Thus contraction gives a bijection between and . The fact that parallel edges in are kept distinct is essential for this correspondence, since each edge of then determines a unique edge before the contraction.
Every spanning-tree distribution with marginals is supported on , because for every . In particular, contracting a tree drawn from gives a distribution on . For every corresponding to , the marginal probability of under this distribution is . Hence is a vector in the spanning-tree polytope of .
More generally, the bijection gives a one-to-one correspondence between spanning-tree distributions with marginals and spanning-tree distributions on with marginals . Indeed, contraction preserves the marginals of all nonrequired edges, while in the reverse direction every edge of is added to every lifted tree and therefore has marginal one. Corresponding distributions assign the same probabilities to corresponding trees and consequently have the same entropy. By Definition 4.2, contracting therefore gives exactly the maximum entropy distribution with marginals on , and is recovered by lifting and adding all edges of .
Since is an extreme point of RPP-LP, the standard determinant bound implies that the logarithm of the inverse minimum positive coordinate of is polynomially bounded in the input size. The positive coordinates of are inherited from , so Lemma 4.3 can be applied to in polynomial time. Let be the resulting distribution. Define by sampling , replacing each edge of by its corresponding edge before the contraction, and adding all edges of . Every tree in the support of therefore contains , proving (i).
Since contraction and lifting are inverse bijections and preserve the probability assigned to corresponding trees, , which proves (ii). For every , let be the corresponding edge of . Then
If , then , so (iii) also holds for the required edges.
5 The algorithm and approximation analysis
We now state the algorithm obtained by adapting the technique of sampling from maximum entropy distributions to the RPP. The accuracy parameters and are absolute constants chosen sufficiently small in the proof of Theorem 1.1.
Algorithm 1 Approximation algorithm for RPP
Require: A connected undirected graph , nonnegative edge costs c, and required edge set R.
Ensure: A feasible RPP closed walk.
1: if then
2: return the empty closed walk.
3: end if
4: if then
5: return ab together with a shortest path from b to a.
6: end if
7: Construct the preprocessed graph and the required edge set .
8: Solve RPP-LP and let be an optimum extreme point solution of value L.
9: Perform the split of Section 4.1, obtaining , the zero-cost edge , and the vector r in the spanning-tree polytope of .
10: Sample a spanning tree according to Lemma 4.4.
11: Let and compute a minimum-cost Q-join in with costs .
12: Identify and in , set the multiplicity of to zero, replace every required edge by the corresponding original required edge, and expand every connector edge into its shortest path in G, obtaining a connected Eulerian multigraph containing every edge of R.
13: Compute an Eulerian closed walk W in this multigraph and return W.
The strict improvement in the parity-correction bound is obtained from the following technical theorem of Karlin et al. [15, Theorem 3.1]. It gives the quantitative slack statement for a spanning tree drawn from the maximum entropy distribution defined above. We state it in the notation needed for our analysis.
Lemma 5.1 (Karlin et al. [15]). Let be a feasible solution of TSP-LP on a metric complete graph, and suppose that an edge has cost zero and . Let , and let be the restriction of to . Let be an optimum TSP tour containing , let denote its edge set, and define , where is extended by zero outside . Let be the maximum entropy distribution with marginals .
For and , there exist random functions and , as functions of , such that:
(i) for every ;
(ii) if , , , and is odd, then ;
(iii) for every , and for every , where is the constant defined in Equation (7.4) of Karlin et al. [15].
For the remainder of the analysis, take a minimum-cost tour in that visits every vertex exactly once and traverses every edge of . At , this tour uses the required edge and one connector edge. Splitting as in Section 4.1 and inserting between these two edges gives a tour in containing . By Lemma 3.1, .
We first bound the expected cost of the Q-join when .
Lemma 5.2 (Expected Q-join cost). Let , let , and let be a minimum-cost Q-join in with costs . If and , then
Proof. For the sole purpose of matching the formal hypotheses of Lemma 5.1, consider the metric on the complete graph with vertex set in which has length zero and every other edge has length one. Every TSP tour containing then has length , whereas every TSP tour not containing has length . Hence is an optimum TSP tour for this metric. This auxiliary choice of edge lengths is purely formal: the slack statement of Lemma 5.1 used below is independent of these lengths, and any auxiliary metric making an optimum tour would serve equally well.
Let and be the random functions given by Lemma 5.1. Define a vector for the -join polyhedron as follows. Put one unit on . For every edge with , put . For every edge , add . All remaining coordinates are zero. The vector is nonnegative because , , and .
We show that is feasible for the -join polyhedron. Let satisfy odd, or equivalently odd. If , the unit value on already satisfies the cut constraint. Otherwise, after replacing by its complement if necessary, both endpoints of lie outside . Put , where is extended by zero to .
If , then Lemma 5.1(ii), together with , gives . Suppose instead that . Since is a tour, , and hence
Using and , we obtain . The right-hand side is increasing in for . At , it equals , which is at least one when and . Thus is feasible.
By the Q-join polyhedron in Section 2.2, . Taking expectations and applying Lemma 5.1(iii), together with , , and , proves the claim.
The next lemma gives the feasibility property and the uniform Q-join bound needed for both the exact distribution and its approximation .
Lemma 5.3. Let be a spanning tree of , let , and let be a minimum-cost -join in . If contains every edge of , then the multiset union can be transformed into a feasible RPP closed walk without increasing its cost. Moreover, for every spanning tree of , .
Proof. Assume first that contains every edge of . The multigraph is connected, and every vertex has even degree because . Identifying and undoes the split; then becomes a zero-cost loop, so its multiplicity can be set to zero. Replacing every required edge by the corresponding original required edge and every connector edge by its shortest path in gives a connected Eulerian multigraph containing every edge of . An Eulerian closed walk in this multigraph is therefore feasible for the original RPP instance.
For the second assertion, is feasible for the Q-join polyhedron, since every nontrivial cut is crossed by the tour a positive even number of times and hence at least twice. Therefore .
We first analyze the idealized version of the algorithm in which .
Lemma 5.4. Let , , and . If , the resulting RPP solution has expected cost at most OPT .
Proof. The chosen value of is smaller than . By the marginal identity preceding Lemma 4.4, . Combining this identity with Lemma 5.2 gives
Since by Lemma 3.2 and , the right-hand side is at most . By Lemma 5.3, the resulting multigraph can be transformed into a feasible RPP closed walk without increasing its cost.
Proof of Theorem 1.1. The cases and are solved optimally by the first two steps of Algorithm 1. Assume . The preprocessing and the optimization of RPP-LP are polynomial time by Lemma 3.2. The splitting operation is explicit, a tree can be sampled in polynomial time by Lemma 4.4, and a minimum-cost Q-join can be computed in polynomial time by the Edmonds–Johnson theorem. By Lemmas 4.4 and 5.3, every sampled tree yields a feasible RPP closed walk.
It remains to compare the polynomial-time distribution with the exact maximum entropy distribution . By Lemma 4.4, , so relative to the exact-distribution estimate the tree-cost bound increases by at most .
For every spanning tree , Lemma 5.3 gives . Since , replacing by changes the expected -join cost by at most . Hence . Choose and . The approximation ratio is then at most . Since , Theorem 1.1 follows.
Remark 5.5 (LP-relative and deterministic variants). Let be the constant in the LP-relative analysis of Karlin et al. [13]. That analysis also applies to the weighted 2-edge-connected multisubgraph problem and hence does not require the cost function to be metric. By Lemma 4.1, is feasible for TSP-LP, , and . Since every edge of has coordinate one, every tree in the support of contains ; Lemma 4.4 merely realizes this same distribution after contracting those fixed edges. Applying the cited LP-relative tree-and-parity-correction analysis to , and using a minimum Q-join in place of its feasible parity-correction vector, gives
The approximate distribution used by the polynomial-time implementation preserves this bound up to the prescribed accuracy. Indeed, for every spanning tree , the vector is feasible for the odd( )-join polyhedron, because for every nontrivial cut. Hence , and Lemma 4.4 yields
Choosing the fixed parameters and sufficiently small proves the LP-relative randomized guarantee with some absolute constant .
For the deterministic counterpart, apply the conditional-expectation derandomization of Karlin et al. [14] after contracting all edges of . Since every edge of has marginal one, these edges introduce no random choices: spanning trees of the contracted multigraph are in bijection with spanning trees of that contain all edges of . Thus the conditional-expectation procedure fixes only the remaining tree edges, while its LP-relative tree-and-parity-correction objective is evaluated on the corresponding lifted tree. Parallel edges created by the contraction are retained as distinct edges, so the matrix-tree computations used in the cited procedure apply without change.
The cited derandomization therefore returns a lifted spanning tree whose LP-relative upper bound is no larger than the initial expectation. Replacing the parity-correction vector appearing in that bound by a minimum-cost odd( )-join can only decrease the cost. The metric assumption in the TSP formulation is used only to shortcut the resulting connected Eulerian multigraph to a tour. No such shortcut is required here: after undoing the split, restoring the required edges, and expanding the connector edges, the multigraph already yields a feasible RPP closed walk by Lemma 5.3. Hence the same LP-relative better-than-3/2 guarantee is attained deterministically in polynomial time.
6 A general reduction from RPP to metric TSP
The preprocessing in Section 3.1 expresses the original RPP instance on G with required edge set R as the problem of finding a minimum-cost tour in that traverses every edge of . We now use the transformation described by Lampis [16, Section 2.1] to remove the requirement that these edges must be traversed. We give the details needed here and later show that the same transformation also preserves approximation guarantees measured against the LP relaxation defined on the preprocessed RPP instance.
Let , and fix an integer . For each required edge , remove and replace it by a path : , where every edge has cost . Each new internal vertex of has degree two. Keep every connector edge of with its original cost. Let be the resulting graph and let be its edge cost function.
For , let be the shortest-path distance from to in with respect to . The complete graph on with edge costs is a metric TSP instance, which we denote by . The distances can be computed in polynomial time.
Lemma 6.1. The optimum tour cost of is at most for the original RPP instance on G with required edge set R.
Proof. By Lemma 3.1, a minimum-cost tour in that visits every vertex exactly once and traverses every edge of has cost . Replacing each required edge of such a tour by the entire path gives a tour on of the same cost with respect to . Replacing its edges by the corresponding distances cannot increase the cost. Hence .
Lemma 6.2. From any feasible tour C of metric TSP instance , one can construct in polynomial time a feasible closed walk W for the original RPP instance on G with required edge set R such that .
Proof. Replace every edge of by a shortest path in with respect to . Their cyclic concatenation is a closed walk that visits every vertex of . Let be its edge multiset. Then is connected and Eulerian, and .
Fix . At most one edge of path has multiplicity zero in . Indeed, if two distinct edges of had multiplicity zero, the vertices between them would contain a nonempty component of consisting only of internal vertices of . Since every such vertex has degree two in , this component would have no edge to the remainder of the multigraph, contradicting connectedness.
If one edge of is missing, increase its multiplicity by two. Performing this operation for every preserves connectedness and all degree parities and increases the cost by at most . Thus the resulting multigraph is connected and Eulerian and contains every edge of every path .
It remains to replace each by the corresponding required edge with the appropriate multiplicity. Let be the multiplicity of . Since every internal vertex has even degree, , so all edge multiplicities along have the same parity. If they are odd, replace every by one; if they are even, replace every by two. This does not increase the cost and preserves the parity of the degree of each endpoint. The path can then be replaced by with multiplicity one or two, respectively, with the same cost.
After applying this operation to every , we obtain a connected Eulerian multigraph in containing every edge of . Replace each edge of by its corresponding required edge in , and replace each connector edge by a shortest path in from to . The resulting closed walk is feasible for the original RPP instance and satisfies the claimed bound.
Proof of Theorem 1.2. The cases are solved optimally as in Algorithm 1. Assume , and set . Run the -approximation algorithm for metric TSP on , obtaining a tour , and lift to a feasible RPP closed walk by Lemma 6.2. Then
where the third inequality follows from Lemma 6.1 and from , since every feasible RPP closed walk traverses every edge of at least once and all edge costs are nonnegative. Since has vertices, and is a constant for every fixed , the entire construction runs in polynomial time.
The LP-relative form of this transfer and the corresponding integrality-gap relation are recorded in Appendix A.
7 Conclusion
We considered approximation algorithms for RPP. We showed that the technique of sampling from maximum entropy distributions for metric TSP can be adapted to RPP, yielding a randomized polynomial-time -approximation algorithm for some absolute constant . The analysis is also relative to RPP-LP, and the corresponding guarantee can be attained deterministically using the conditional-expectation method of Karlin et al. [14]. We also described how an -approximation algorithm for metric TSP yields, for every fixed , an -approximation algorithm for RPP.
Finally, the same guarantees apply to the GRP. RPP is a special case of GRP. Conversely, a GRP instance can be reduced cost-preservingly to RPP by, for each required vertex v not already incident to a required edge, introducing a fresh leaf and the zero-cost required edge . Traversing forces the resulting RPP walk to visit v, while any feasible GRP walk that visits v can traverse the zero-cost detour . Thus the optimum value is preserved, and both algorithms extend immediately to GRP.
Acknowledgment. Generative AI tools were used for language editing and minor editorial assistance. The author takes full responsibility for the manuscript.
A LP-relative consequences
The subdivision transformation is also compatible with the LP relaxations.
Lemma A.1. Let be feasible for RPP-LP. Define on the metric TSP instance by retaining on every connector edge, assigning value one to every edge of every path , and assigning zero to all remaining edges. Then is feasible for TSP-LP and
Consequently, .
Proof. The degree equations are immediate. Consider a nontrivial cut of . If some path crosses the cut at least twice, then . Otherwise, every crosses at most once. In this case is a nonempty proper subset of ; otherwise, since is nontrivial, some would cross the cut at least twice. Moreover,
where the equality follows because a path crosses exactly once precisely when its endpoints are separated by . Thus satisfies all subtour cut constraints.
The cost inequality follows directly from the construction of and its metric completion . Taking gives .
Corollary A.2 (LP-relative transfer). Suppose that, for every metric TSP instance I, an algorithm returns a tour of cost at most . Then, for every fixed , the transformation above yields a feasible RPP closed walk W satisfying , where L is the optimum value of RPP-LP on the preprocessed RPP instance.
Proof. Set . Repeat the proof of Theorem 1.2, using Lemma A.1 in place of Lemma 6.1. Since every required edge has value one in the extension of every feasible solution of RPP-LP and all edge costs are nonnegative, . Therefore Lemma 6.2 gives
A.1 Equality of the integrality gaps
For an RPP instance J with at least two required edges, let denote the optimum value of RPP-LP on its preprocessed instance. Let and denote the corresponding worst-case integrality gaps.
Theorem A.3. The two relaxations have the same worst-case integrality gap: . Consequently, the worst-case integrality gap of RPP-LP on preprocessed RPP instances is strictly below 3/2 by Karlin et al. [13].
Proof. We first show . Fix an RPP instance with cost function and required edge set , let , and apply the subdivision transformation with parameter . By Lemmas 6.2 and A.1, . Letting gives , and hence .
For the reverse inequality, let be a metric TSP instance. For each , create two vertices and joined by a zero-cost required edge. For every distinct , add the four connector edges between the two corresponding pairs, each of cost . Denote the resulting RPP instance by . Because the required edges form a matching covering all vertices and the connector costs are induced by the metric , this instance is already in the preprocessed form of Section 3.1, up to renaming the private vertices.
Contracting the zero-cost required edges maps every feasible RPP solution to a closed walk visiting all vertices of I, which can be shortcut to a TSP tour without increasing its cost. Conversely, every TSP tour can be expanded by inserting the zero-cost required edge corresponding to each vertex. Thus .
Given a feasible RPP-LP solution , define . The degree constraints project to , while applying an RPP cut constraint to the union of both copies of every vertex in gives . Hence is a cost-preserving feasible solution of TSP-LP.
Conversely, from a feasible TSP-LP solution , set . Every copy then has connector degree one. For any cut, if at least two required pairs are split, the required edges already contribute at least two. If no pair is split, the connector contribution is the corresponding TSP cut value. If exactly one pair, say that of , is split, and denotes the vertices whose two copies lie on the same side as the selected copy of , the connector contribution is . If both sets define nontrivial cuts, this follows from the cut constraints of TSP-LP; in the boundary cases or , it follows from the degree equation . Together with the crossing required edge, the cut has value at least two. Thus the lift is feasible and cost preserving.
Therefore , and each metric TSP integrality-gap ratio is reproduced exactly by an RPP instance. Hence , completing the proof.
References
[1] Agarwal, S., & Akella, S. (2023). The single robot line coverage problem: Theory, algorithms, and experiments. Networks, 82(4), 479–505.
[2] Asadpour, A., Goemans, M. X., Madry, A., Oveis Gharan, S., & Saberi, A. (2017). An -approximation algorithm for the asymmetric traveling salesman problem. Operations Research, 65(4), 1043–1061.
[3] Boyaci, B., Dang, T. H., & Letchford, A. N. (2023). Improving a constructive heuristic for the general routing problem. Networks, 81(1), 93–106.
[4] Christofides, N. (1976). Worst-case analysis of a new heuristic for the travelling salesman problem. Technical Report 388, Graduate School of Industrial Administration, Carnegie Mellon University.
[5] Christofides, N., Campos, V., Corberán, A., & Mota, E. (1981). An algorithm for the rural postman problem. Technical Report IC.OR.81.5, Imperial College.
[6] Dantzig, G. B., Fulkerson, D. R., & Johnson, S. M. (1954). Solution of a large-scale traveling-salesman problem. Journal of the Operations Research Society of America, 2(4), 393–410.
[7] Edmonds, J. (1970). Submodular functions, matroids, and certain polyhedra. In Combinatorial Structures and Their Applications (pp. 69–87). Gordon and Breach.
[8] Edmonds, J., & Johnson, E. L. (1973). Matching, Euler tours and the Chinese postman. Mathematical Programming, 5, 88–124.
[9] Frederickson, G. N. (1979). Approximation algorithms for some postman problems. Journal of the ACM, 26(3), 538–554.
[10] Grötschel, M., Lovász, L., & Schrijver, A. (1988). Geometric Algorithms and Combinatorial Optimization. Springer.
[11] Jünger, M., Reinelt, G., & Rinaldi, G. (1995). The traveling salesman problem. In M. O. Ball, T. L. Magnanti, C. L. Monma, & G. L. Nemhauser (Eds.), Network Models, Handbooks in Operations Research and Management Science, Vol. 7 (pp. 225–330). North-Holland.
[12] Karlin, A. R., Klein, N., & Oveis Gharan, S. (2021). A (slightly) improved approximation algorithm for metric TSP. In Proceedings of the 53rd Annual ACM Symposium on Theory of Computing (pp. 32–45). ACM.
[13] Karlin, A. R., Klein, N., & Oveis Gharan, S. (2022). A (slightly) improved bound on the integrality gap of the subtour LP for TSP. In Proceedings of the 63rd IEEE Symposium on Foundations of Computer Science (pp. 832–843). IEEE.
[14] Karlin, A. R., Klein, N., & Oveis Gharan, S. (2023). A deterministic better-than-3/2 approximation algorithm for metric TSP. In Integer Programming and Combinatorial Optimization (IPCO 2023), Lecture Notes in Computer Science, Vol. 13904 (pp. 261–274). Springer.
[15] Karlin, A. R., Klein, N., & Oveis Gharan, S. (2024). A (slightly) improved approximation algorithm for metric TSP. Operations Research, 72(6), 2543–2594.
[16] Lampis, M. (2014). Improved inapproximability for TSP. Theory of Computing, 10(9), 217–236.
[17] Orloff, C. S. (1974). A fundamental problem in vehicle routing. Networks, 4(1), 35–64.
[18] Straszak, D., & Vishnoi, N. K. (2019). Maximum entropy distributions: Bit complexity and stability. In Proceedings of the Thirty-Second Conference on Learning Theory, Proceedings of Machine Learning Research, Vol. 99 (pp. 2861–2891).
[19] van Bevern, R., Niedermeier, R., Sorge, M., & Weller, M. (2015). The complexity of arc routing problems. In A. Corberán & G. Laporte (Eds.), Arc Routing: Problems, Methods, and Applications (pp. 19–52). SIAM.