1,392 research outputs found

    Worst case and probabilistic analysis of the 2-Opt algorithm for the TSP

    Get PDF
    2-Opt is probably the most basic local search heuristic for the TSP. This heuristic achieves amazingly good results on “real world” Euclidean instances both with respect to running time and approximation ratio. There are numerous experimental studies on the performance of 2-Opt. However, the theoretical knowledge about this heuristic is still very limited. Not even its worst case running time on 2-dimensional Euclidean instances was known so far. We clarify this issue by presenting, for every p∈N , a family of L p instances on which 2-Opt can take an exponential number of steps. Previous probabilistic analyses were restricted to instances in which n points are placed uniformly at random in the unit square [0,1]2, where it was shown that the expected number of steps is bounded by O~(n10) for Euclidean instances. We consider a more advanced model of probabilistic instances in which the points can be placed independently according to general distributions on [0,1] d , for an arbitrary d≥2. In particular, we allow different distributions for different points. We study the expected number of local improvements in terms of the number n of points and the maximal density ϕ of the probability distributions. We show an upper bound on the expected length of any 2-Opt improvement path of O~(n4+1/3⋅ϕ8/3) . When starting with an initial tour computed by an insertion heuristic, the upper bound on the expected number of steps improves even to O~(n4+1/3−1/d⋅ϕ8/3) . If the distances are measured according to the Manhattan metric, then the expected number of steps is bounded by O~(n4−1/d⋅ϕ) . In addition, we prove an upper bound of O(ϕ√d) on the expected approximation factor with respect to all L p metrics. Let us remark that our probabilistic analysis covers as special cases the uniform input model with ϕ=1 and a smoothed analysis with Gaussian perturbations of standard deviation σ with ϕ∼1/σ d

    Worst Case and Probabilistic Analysis of the 2-Opt Algorithm for the TSP

    Full text link
    2-Opt is probably the most basic local search heuristic for the TSP. This heuristic achieves amazingly good results on real world Euclidean instances both with respect to running time and approximation ratio. There are numerous experimental studies on the performance of 2-Opt. However, the theoretical knowledge about this heuristic is still very limited. Not even its worst case running time on 2-dimensional Euclidean instances was known so far. We clarify this issue by presenting, for every pNp\in\mathbb{N}, a family of LpL_p instances on which 2-Opt can take an exponential number of steps. Previous probabilistic analyses were restricted to instances in which nn points are placed uniformly at random in the unit square [0,1]2[0,1]^2. We consider a more advanced model in which the points can be placed independently according to general distributions on [0,1]d[0,1]^d, for an arbitrary d2d\ge 2. In particular, we allow different distributions for different points. We study the expected number of local improvements in terms of the number nn of points and the maximal density ϕ\phi of the probability distributions. We show an upper bound on the expected length of any 2-Opt improvement path of O~(n4+1/3ϕ8/3)\tilde{O}(n^{4+1/3}\cdot\phi^{8/3}). When starting with an initial tour computed by an insertion heuristic, the upper bound on the expected number of steps improves even to O~(n4+1/31/dϕ8/3)\tilde{O}(n^{4+1/3-1/d}\cdot\phi^{8/3}). If the distances are measured according to the Manhattan metric, then the expected number of steps is bounded by O~(n41/dϕ)\tilde{O}(n^{4-1/d}\cdot\phi). In addition, we prove an upper bound of O(ϕd)O(\sqrt[d]{\phi}) on the expected approximation factor with respect to all LpL_p metrics. Let us remark that our probabilistic analysis covers as special cases the uniform input model with ϕ=1\phi=1 and a smoothed analysis with Gaussian perturbations of standard deviation σ\sigma with ϕ1/σd\phi\sim1/\sigma^d.Comment: An extended abstract of this work has appeared in the Proc. of the 18th ACM-SIAM Symposium on Discrete Algorithms. The results of this extended abstract have been split into two articles (Algorithmica 2014) and (ACM Transactions on Algorithms 2016). This report is an updated version of the first journal article, in which two minor errors in the proofs of Lemma 8 and Lemma 9 have been correcte

    Probabilistic Analysis of Optimization Problems on Generalized Random Shortest Path Metrics

    Get PDF
    Simple heuristics often show a remarkable performance in practice for optimization problems. Worst-case analysis often falls short of explaining this performance. Because of this, "beyond worst-case analysis" of algorithms has recently gained a lot of attention, including probabilistic analysis of algorithms. The instances of many optimization problems are essentially a discrete metric space. Probabilistic analysis for such metric optimization problems has nevertheless mostly been conducted on instances drawn from Euclidean space, which provides a structure that is usually heavily exploited in the analysis. However, most instances from practice are not Euclidean. Little work has been done on metric instances drawn from other, more realistic, distributions. Some initial results have been obtained by Bringmann et al. (Algorithmica, 2013), who have used random shortest path metrics on complete graphs to analyze heuristics. The goal of this paper is to generalize these findings to non-complete graphs, especially Erd\H{o}s-R\'enyi random graphs. A random shortest path metric is constructed by drawing independent random edge weights for each edge in the graph and setting the distance between every pair of vertices to the length of a shortest path between them with respect to the drawn weights. For such instances, we prove that the greedy heuristic for the minimum distance maximum matching problem, the nearest neighbor and insertion heuristics for the traveling salesman problem, and a trivial heuristic for the kk-median problem all achieve a constant expected approximation ratio. Additionally, we show a polynomial upper bound for the expected number of iterations of the 2-opt heuristic for the traveling salesman problem.Comment: An extended abstract appeared in the proceedings of WALCOM 201

    Multiple local neighbourhood search for extremal optimisation

    Get PDF
    corecore