Documente Academic
Documente Profesional
Documente Cultură
maadalnaimiy@yahoo.com
Maad M. Mijwel computer science, 2016
all node pairs )( the edge lengths are identical in both vector, shall be presented by way of example must meet in any
directions, it applies . case so that he describes a tour. They can, therefore, be used as part
of a relaxation in a cutting plane method to solve the problem.
As a consequence, each tour has the same length in both
directions. The symmetry halves the number of possible
tours. Asymmetric TSP is usually modeled using an undirected
graph (as in the picture). A traveling salesman problem between real
cities can be asymmetric or symmetrical, depending on whether, for
example, construction sites or one-way streets take longer in one
direction than the other or not.
b) Metric TSP
Asymmetric TSP is called metric if, in addition, its edge
lengths satisfy the triangle inequality. Clearly, this means that
detours are not worthwhile, because the direct connection of
after never is longer than the way of after over a third node : Figure.2. Degree condition: In every node, exactly one edge of the tour has
to go in and out.
III. MODELING AS AN INTEGER LINEAR PROGRAM for all node sets with. The total counts all edges of the Tour between
One approach to solving the problem is to formulate it as an integer a node and another node . To avoid
linear program that describes decisions by variables and conditions redundant inequalities, one can also rely on node sets with at least
by linear inequalities. There are several possible variants for two and at most nodes . In the picture on the right,
this. By way of example, a modeling for the symmetrical TSP node the edges { }with bold, while the remaining edges the
set is intended here to be introduced. For value . Adding condition (2) for the node-set consisting of
every edge becomes a binary variable introduced,
the three left nodes would ensure that must be connected to the
which indicates for a given tour, whether the edge included in three right nodes through at least two tour edges, thereby excluding
this tour or not, Each tour can be specified in this way by the two short cycles shown
specifying the associated variable values, but not every 0-1 The number of inequalities of type (2) grows exponentially with the
assignment of the variable values defines a tour. The conditions for number of cities since almost every one of the Subsets of nodes
a variable assignment to define a tour can be expressed by defines an inequality. However, this problem can be circumvented
linear inequalities, although not all of them are known. In the
following, therefore, two simple types of inequalities, which are a
maadalnaimiy@yahoo.com
Maad M. Mijwel computer science, 2016
Since the variables, it can be shown that most of the conditions (1)
and (2) define facets of the TSP polytope, that they belong to the
best linear inequalities that can be used to describe a tour. However,
they are not enough, there are vectors .
maadalnaimiy@yahoo.com
Maad M. Mijwel computer science, 2016
cities have been traveled and the traveling salesman has returned to calculated, which is at most one and a half times as long as an
the starting point optimal one. Here, instead of doubling the edges in
the MST heuristics, a least perfect mating is calculated on
the odd-numbered nodes in the minimally spanning tree to
produce a Eulerian graph. However, this algorithm is more
complex.
b) Enhancement procedures
Improved optimization methods, also Post-Optimization
(post-optimization) try to shorten an existing tour through small
modifications. If none of the considered changes leads to an
improvement, then a local optimum is found (but not necessarily a
global one).
Figure.5. Nearest Neighbor Algorithm The heuristics pursue this approach by
Starting from a city, this selects the nearest as the following
location. This will be continued successively until all cities have systematical groups of replacing so that again a tour arises. The
been traveled and the traveling salesman has returned to the starting problem with such methods, however, quickly becomes the fact that
point. In every city, the shortest outgoing route has to be in a complete implementation of the effort compared to the list of all
searched. At most, there can only be as many outgoing edges per possible tours would not be lowered. In practical implementations
city as nodes are present in the graph. This results in an algorithmic used The quality of a heuristic in practice strongly
complexity of O (n²), so the number of computation steps depends
on quadratic ally on the number of cities. However, the fact that this depends on the selection of the edges and the parameter to
heuristic generally does not provide the best solution is due to the be exchanged
fact that the distance between the starting city and the last visited
city is not taken into account until the very end. The nearest
neighbor heuristic can yield arbitrarily poor results, i.e. there is no c) Metaheuristic procedure
constant, instance-independent approximation factor for the
solution value compared to the optimum value. Metaheuristics combine local and global search techniques in an
A whole class of further opening procedures forms the abstract strategy for the heuristic optimization of a problem. Many
so-called insertion heuristics. The simplest variants of this are the of these methods calculate a heuristic starting solution (for example,
nearest insertion heuristic (next insertion) and the farht insertion with the nearest neighbor heuristic) and improve it by a local search
heuristic (farthest insertion). Given are (few) neighboring cities for method, such as. B. K-Opt heuristics until no better tour is
which an optimal round trip can be quickly determined by exact found. Tab-Lists prevent already found tours from being viewed
procedures. Now it is checked step by step, which is not yet visited again. To prevent the sticking in local minima, you can, for example
city closest (or farthest) to one of the connecting lines of the
previous round trip. If this city is found, it will be built into the tour
start several experiments (mountaineering algorithm),
of the cities nearest to it. The process continues until the round trip in between accept larger and later only minor
includes all cities. The solutions of this heuristic can be arbitrarily deteriorations (simulated annealing (also known as the
bad compared to an optimal solution. deluge algorithm)),
Another class of heuristics divides the node set into
individual partitions (e.g., according to geographic criteria), each of combine several already found tours to a new tour or
which is partially optimized. Subsequently, the partial solutions are change it randomly (evolutionary and
combined to a total solution. As a rule, this is only locally optimal genetic algorithms ).
and can be arbitrarily poor compared to the global optimum.
A whole class of other nature-inspired methods uses swarming
The minimum spanning tree heuristic ( MST ) first computes a intelligence. In Ant Colony Optimization (Ant Colony
minimal spanning tree, i.e. a graph in which all points are connected Optimization), this model is used to model the natural behavior of
to each other and has the minimum length. Based on this, a tour is ants on the way, while Particle Swarm Optimization (" Particle
constructed by first doubling all tree edges and then searching for Swarm Optimization”) uses the behavior of bird or fish swarms as
a Euler tour in the resulting Eulerian graph. This is an example. Artificial neural networks and similar statistical
last abbreviated by direct edges if nodes are visited twice. In the methods can also be used to efficiently find useful solutions. Models
case of a metric TSP, one can show that the tour so constructed is at such as the Hopfield network or Self-Organizing Maps can map
most twice as long as the shortest tour. many aspects of the TSP. The big disadvantage of artificial neural
networks, however, is that often only local minima is found.
In general, the success and duration of metaheuristic procedures
depend significantly on the definition and implementation of the
individual steps. In principle, all these methods can calculate good
solutions, but also arbitrarily poor compared to an optimal solution,
unless used to calculate the starting solution, a heuristic with quality
guarantee and their value is then never exceeded later. But you can
usefully z. B. be used in the context of a branch-and-cut algorithm.
d) Dual heuristics
The traveling salesman's problem is one of the few combinatorial
optimization problems in which it is easy to specify useful lower
Figure.6. Low spanning tree bounds for the minimum length of a tour (in general, the minimum
cost of a solution). For example, every tour, even an optimal,
An even better approximation quality for metric TSP is achieved
by the Christofias's heuristic. With her, a round trip can be
maadalnaimiy@yahoo.com
Maad M. Mijwel computer science, 2016
accurate Contains circles. The tour is at least as long as [8] Baltz, A., and A. Srivastav, Approximation algorithms for the
Euclidean bipartite TSP, Operations Research Letters, 33 (2005)
this tree and by definition also at least as long as a minimally 403-410.
spanning tree (i.e. a spanning tree with a minimum sum of edge [9] Barvinok, D. Johnson, G. Woeginger, R. Woodroofe, The
lengths) that can be easily determined. Since this applies to each maximum traveling salesman problem under polyhedral norms,
tour, the length of a minimally spanning tree provides a lower Proceedings of the 6th IPCO Conference on Integer Programming
bound for the length of an optimal tour. and Combinatorial Optimization, 1998, p. 195-201.
[10] Barvinok, A. E. Gimadi, A. Serdyukov, The maximum
traveling salesman problem, in The Traveling Salesman Problem
and its Variations, G. Gutin and A. Punnan, (eds.), Kluwer,
VII. CONCLUSION Dordrecht, 2002, p. 585-607.
The largest instance of a (symmetric) round trip problem, which [11] Bianco, L. and A. Mingozzi, S. Ricciardelli, Dynamic
has so far been proven to be optimally solved, is a planning problem programming strategies and reduction techniques for the traveling
for the layout of integrated circuits with 33,810 nodes. This record salesman problem with time windows and precedence constraints,
was created in 2005 by William Cook and others using Operations Research, 45 (1997) 365-377.
a combination of different heuristics and the branch-and-cut [12] Charikar, M. and B. Raghavachari, the finite capacity
based Concorde program using previous partial results of various dial-A-ride problem, In Proceedings of the 39th Annual IEEE
university working groups as a basis. The hitherto largest optimally Symposium on the Foundations of Computer Science, 1998.
resolved instance consisted of 24,978 Swedish cities, dissolved in [13] Chiang, Y-J, New approximation results for the maximum
2004. With the help of special decomposition techniques and the use scatter TSP, Algorithmica, 41 (2005) 309-341.
of several parallel computers, William Cook u. a. Found solutions [14] Christofides, N., Worst-case analysis of a new heuristic for the
for a TSP of over 526 million stars, which are proven to be at most traveling salesman problem, Report 388, Graduate School of
0.798% off the optimum. Industrial Administration, Carnegie Mellon U, 1976.
[15] Clarke, G., and J. Wright, Scheduling vehicles from a central
However, the fact that a TSP of a certain size could be solved
depot to a number of delivery points, Operations Research 12 (1964)
optimally does not imply that every instance of this size can be
568-581.
solved optimally because, as with most combinatorial optimization
[16] Dantzig, G. and J. Ramser, The truck dispatching problem,
problems, the difficulty of the solution is greatly different from the
Management Science 6 (1959) 80-91.
input parameters (in this case the edge weights). For TSPs that arise
[17] Deineko, V. and G. Woeginger, The convex-hull-and-k-line
from practical applications, additional constraints, such as time
traveling salesman problem: a solvable case, Information
windows, often need to be considered. Therefore, usually the largest
Processing Letters, 59 (1996) 295-301.
optimally solvable problem instances of such variants are
[18] Deineko, V. and M. Hoffmann, Y. Okamoto, G. Woeginger,
significantly smaller than the classic problem of the traveling
The traveling salesman problem with few inner points, Proceedings
salesman, so that in practice often resorting to heuristic approaches
of the 10th International Computing and Combinatory Conferences,
to the solution. combinations heuristic methods using LP-based
LNCS Volume 3106, Springer-Verlag, 2004, 268-277.
methods such as branch-and-cut are used primarily in the research
[19] Deineko, V. and R. van Dal, G. Rote, The convex-hull-and-line
environment in order to be able to assess the quality of solutions and
traveling salesman problem: a solvable case, Info. Proc. Lett., 59
solution methods with the aid of lower barriers for the tour length.
(1996) 295-301.
[20] Fekete, S. Simplicity and harness of the maximum traveling
ACKNOWLEDGMENT salesman problem under geometric distances, Proceedings of the
10th ACM-SIAM Symposium on Discrete Algorithms, 199, p.
I would like to thank my wife Aşkım for standing beside me 337-345.
throughout writing this article. [21] Flood, M., The traveling-salesman problem, Oper. Res. 4
(1956) 61-75.
REFERENCES [22] Gamarnik, D., and M. Lewenstein, M. Sviridenko, an improved
upper bound for the TSP in cubic 3-edge connected graphs,
[1] Applegate, D., and R. Bixby, V. Chvatal, W. Cook, TSP cuts Operations Research Letters, 33 (2005) 467-474.
which do not conform to the template paradigm, In Computational [23] Garfinkel, R, Minimizing wallpaper waste, Part I: a class of
Combinatorial Optimization, Optimal or Provably Near-Optimal traveling salesman problems, Oper. Res. 25 (1977) 741-751.
Solutions, LNCS, Volume 2241, Springer-Verlag, 2001, p. 261-304. [24] Garfinkel, R. and K. Gilbert, the bottleneck traveling salesman
[2] Arkin, E., and M. Bender, J. Mitchell, S. Skiena, the lazy problem: algorithms and probabilistic analysis, J. Assoc. Comput.
bureaucrat scheduling problem, Proceedings of the 6th International Mach., 25 (1978) 435-438.
Workshop on Algorithms and Data Structures, 1999, p. 122.-133. [25] Garey, M. and D. Johnson, Computers and Intractability, W. H.
[3] Arkin, E., and Y-J. Chiang, J. Mitchell, S. Skiena, T-C. Yang, Freeman, New York, 1979.
On the maximum, scatter traveling salesperson problem, SIAM J. [26] Grigni, M. and E. Koutsoupias, C. Papadimitriou, An
Computing, 29 (1999) 515-544. approximation scheme for planar graph TSP, In, Proc. IEEE
[4] Arora, S., Polynomial time approximation schemes for Symposium on the Foundations of Computer Science, 1995,
Euclidean traveling salesman and other geometric problems, Journal 640-645.
of ACM, 45 (1998) 753-782. [27] Gutin, G. and A. Punnen, (eds.), The Traveling Salesman
[5] S. Arora, and M. Grigni, D. Karger, P. Klein, A. Woolsey, a Problem and Its Variations, Kluwer, Nowell, MA., 2002.
polynomial-time approximation scheme for weighted planar graph [28] D. Johnson and L. McGeoch, The Traveling Salesman
TSP, Proc. 9th Annual ACM-SIAM Symposium on Discrete Problem: A Case Study in Local Optimization, in Local Search in
Algorithms, 1998, p. 33-41. Combinatorial Optimization, E. H. L. Aarts and J.K. Lenstra (ed),
[6] Arora, S. and C. Lund, R. Motwani, M. Sudan, M. Szegedy, Wiley, 1997, p. 215-310.
Proof verification and hardness of approximation problems, Journal [29] Karuno, Y. and H. Nagamochi, T. Ibaraki, A
of the ACM, 45 (1998) 501-555. 1.5-approximation for single-vehicle scheduling problem on a line
[7] Ausiello, G. and E. Feuerstein, S. Leonardi, L. Stougie, M. with release and handling times, In Japan-U.S.A. Symposium on
Talamo, Algorithms for the on-line traveling salesman, Flexible Automation, July 1998, p. 1363-1366.
Algorithmica, 29 (2001) 560-581.
maadalnaimiy@yahoo.com
Maad M. Mijwel computer science, 2016
[30] Kruskal, J., On the Shortest Spanning Subtree of a Graph and [41] Reinelt, G. "TSPLIB--A Traveling Salesman Problem
the Traveling Salesman Problem, Proc. Amer. Math. Soc. 7 (1956) Library." ORSA J. Comput. 3, 376-384, 1991.
48-50. [42] Rosenkrantz, D. J.; Stearns, R. E.; and Lewis, P. M. "An
[31] Lawler, E., A solvable case of the traveling salesman problem, Analysis of Several Heuristics for the Traveling Salesman
Math. Programming 1 (1971) 267-267. Problem." SIAM J. Comput. 6, 563-581, 1977.
[32] Lawler, E., and J. Lenstra, A. Rinnooy Kan, D. Shmoys, (eds.) [43] Shmoys, D. and D. Williamson, Analyzing the Held-Karp TSP
The Traveling Salesman Problem: A Guided Tour of Combinatorial bound: A monotonicity property with the application, IPL 35 (1990)
Optimization, Wiley, New York, 1985. 281-285.
[33] Lewenstein, M. and M. Sviridenko, A 5/8-approximation [44] Toth, P. and D. Vigo, (eds.), The Vehicle Routing Problem,
algorithm for the maximum asymmetric TSP, SIAM J. Discrete SIAM, Philadelphia, 2002.
Math., 17 (2003) 237-248. [45] Trevisan, L., When Hamming meets Euclid: the
[34] Lin, S. "Computer Solutions of the Traveling Salesman approximability of geometric TSP and Steiner tree, SIAM J.
Problem." Bell System Tech. J. 44 (1965) 2245-2269. Computing, 30 (2000) 475-485.
[35] Martello, S. and P. Toth, Knapsack Problems: Algorithms and [46] Tsitsiklis, J., Special cases of the traveling salesman and
Computer Implementations, Wiley, Chichester, 1990. repairman problems with time windows, Networks, 22 (1992)
[36] Miller, C. and A. Tucker, R. Zemlin, Integer programming 263-282.
formulations and traveling salesman problems, J. of the ACM, 7 [47] Woeginger, G., Exact algorithms for NP-hard problems: a
(1960) 326-329. survey, in Combinatorial Optimization - Eureka! You shrink!
[37] Papadimitriou, C., The Euclidean TSP is NP-complete, Lecture Notes in Computer Science, Vol. 2570, 2003, p. 185-207.
Theoretical Comput. Sci., 4 (1977) 237-244. [48] Maad M. Mijwel. Genetic Algorithm Optimization by
[38] Papadimitriou, C., The complexity of the Lin-Kernighan Natural Selection. Augusts,2016.
heuristic for the traveling salesman problem, SIAM J. on
Computing, 21 (1992) 450-465.
[39] Papadimitriou, C., and S. Vempala, On the approximability of
the traveling salesman problem (extended abstract). Proceedings of
STOC 2000, p. 126-133.
[40] Platzman, L. K. and Bartholdi, J. J. "Spacefilling Curves and
the Planar Traveling Salesman Problem." J. Assoc. Comput. Mach.
46, 719-737, 1989.
maadalnaimiy@yahoo.com