[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article
Free access

Integer Programming Formulation of Traveling Salesman Problems

Published: 01 October 1960 Publication History

Abstract

It has been observed by many people that a striking number of quite diverse mathematical problems can be formulated as problems in integer programming, that is, linear programming problems in which some or all of the variables are required to assume integral values. This fact is rendered quite interesting by recent research on such problems, notably by R. E. Gomory [2, 3], which gives promise of yielding efficient computational techniques for their solution. The present paper provides yet another example of the versatility of integer programming as a mathematical modeling device by representing a generalization of the well-known “Travelling Salesman Problem” in integer programming terms. The authors have developed several such models, of which the one presented here is the most efficient in terms of generality, number of variables, and number of constraints. This model is due to the second author [4] and was presented briefly at the Symposium on Combinatorial Problems held at Princeton University, April 1960, sponsored by SIAM and IBM. The problem treated is: (1) A salesman is required to visit each of n cities, indexed by 1, …, n. He leaves from a “base city” indexed by 0, visits each of the n other cities exactly once, and returns to city 0. During his travels he must return to 0 exactly t times, including his final return (here t may be allowed to vary), and he must visit no more than p cities in one tour. (By a tour we mean a succession of visits to cities without stopping at city 0.) It is required to find such an itinerary which minimizes the total distance traveled by the salesman.
Note that if t is fixed, then for the problem to have a solution we must have tpn. For t = 1, pn, we have the standard traveling salesman problem.
Let dij (ij = 0, 1, …, n) be the distance covered in traveling from city i to city j. The following integer programming problem will be shown to be equivalent to (1): (2) Minimize the linear form ∑0≦ijndijxij over the set determined by the relations ∑ni=0ij xij = 1 (j = 1, …, n) ∑nj=0ji xij = 1 (i = 1, …, n) ui - uj + pxijp - 1 (1 ≦ ijn) where the xij are non-negative integers and the ui (i = 1, …, n) are arbitrary real numbers. (We shall see that it is permissible to restrict the ui to be non-negative integers as well.)
If t is fixed it is necessary to add the additional relation: ∑nu=1 xi0 = t Note that the constraints require that xij = 0 or 1, so that a natural correspondence between these two problems exists if the xij are interpreted as follows: The salesman proceeds from city i to city j if and only if xij = 1. Under this correspondence the form to be minimized in (2) is the total distance to be traveled by the salesman in (1), so the burden of proof is to show that the two feasible sets correspond; i.e., a feasible solution to (2) has xij which do define a legitimate itinerary in (1), and, conversely a legitimate itinerary in (1) defines xij, which, together with appropriate ui, satisfy the constraints of (2).
Consider a feasible solution to (2).
The number of returns to city 0 is given by ∑ni=1 xi0. The constraints of the form ∑ xij = 1, all xij non-negative integers, represent the conditions that each city (other than zero) is visited exactly once. The ui play a role similar to node potentials in a network and the inequalities involving them serve to eliminate tours that do not begin and end at city 0 and tours that visit more than p cities. Consider any xr0r1 = 1 (r1 ≠ 0). There exists a unique r2 such that xr1r2 = 1. Unless r2 = 0, there is a unique r3 with xr2r3 = 1. We proceed in this fashion until some rj = 0. This must happen since the alternative is that at some point we reach an rk = rj, j + 1 < k.
Since none of the r's are zero we have uri - uri + 1 + pxriri + 1p - 1 or uri - uri + 1 ≦ - 1. Summing from i = j to k - 1, we have urj - urk = 0 ≦ j + 1 - k, which is a contradiction. Thus all tours include city 0. It remains to observe that no tours is of length greater than p. Suppose such a tour exists, x0r1, xr1r2, …, xrprp+1 = 1 with all ri ≠ 0. Then, as before, ur1 - urp+1 ≦ - p or urp+1 - ur1p.
But we have urp+1 - ur1 + pxrp+1r1p - 1 or urp+1 - ur1p (1 - xrp+1r1) - 1 ≦ p - 1, which is a contradiction.
Conversely, if the xij correspond to a legitimate itinerary, it is clear that the ui can be adjusted so that ui = j if city i is the jth city visited in the tour which includes city i, for we then have ui - uj = - 1 if xij = 1, and always ui - ujp - 1.
The above integer program involves n2 + n constraints (if t is not fixed) in n2 + 2n variables. Since the inequality form of constraint is fundamental for integer programming calculations, one may eliminate 2n variables, say the xi0 and x0j, by means of the equation constraints and produce an equivalent problem with n2 + n inequalities and n2 variables.
The currently known integer programming procedures are sufficiently regular in their behavior to cast doubt on the heuristic value of machine experiments with our model. However, it seems appropriate to report the results of the five machine experiments we have conducted so far. The solution procedure used was the all-integer algorithm of R. E. Gomory [3] without the ranking procedure he describes.
The first three experiments were simple model verification tests on a four-city standard traveling salesman problem with distance matrix [ 20 23 4 30 7 27 25 5 25 3 21 26 ]
The first experiment was with a model, now obsolete, using roughly twice as many constraints and variables as the current model (for this problem, 28 constraints in 21 variables). The machine was halted after 4000 pivot steps had failed to produce a solution.
The second experiment used the earlier model with the xi0 and x0j eliminated, resulting in a 28-constraint, 15-variable problem. Here the machine produced the optimal solution in 41 pivot steps.
The third experiment used the current formulation with the xi0 and x0j eliminated, yielding 13 constraints and 9 variables. The optimal solution was reached in 7 pivot steps.
The fourth and fifth experiments were used on a standard ten-city problem, due to Barachet, solved by Dantzig, Johnson and Fulkerson [1]. The current formulation was used, yielding 91 constraints in 81 variables. The fifth problem differed from the fourth only in that the ordering of the rows was altered to attempt to introduce more favorable pivot choices. In each case the machine was stopped after over 250 pivot steps had failed to produce the solution. In each case the last 100 pivot steps had failed to change the value of the objective function.
It seems hopeful that more efficient integer programming procedures now under development will yield a satisfactory algorithmic solution to the traveling salesman problem, when applied to this model. In any case, the model serves to illustrate how problems of this sort may be succinctly formulated in integer programming terms.

References

[1]
DANTZIG, FULKERSON AND JOHNSON On a linear-programming, combinatorial approach to the traveling salesman problem. JORSA, 7 (1959), 1.
[2]
GOMORY, R. E. An algorithm for integer solutions to linear programs. Princetonq IBM Math. Research Project Techn. Report No. 1, 1958.
[3]
~, All-integer integer programming algorithm IBM: Research Center Report RC-189, 1960.
[4]
TUCKER, A. W On directed graphs and integer programs, Princeton--IBh/I Math. Research Project Techn. Report, 1960.

Cited By

View all
  • (2025)On the feasibility of solutions to the split delivery vehicle routing problem represented as edge variablesOperations Research Letters10.1016/j.orl.2024.10720958(107209)Online publication date: Jan-2025
  • (2025)A new branch-and-Benders-cut algorithm for the time-dependent vehicle routing problemExpert Systems with Applications10.1016/j.eswa.2024.125996265(125996)Online publication date: Mar-2025
  • (2025)A multiple asset-type, collaborative vehicle routing problem with proximal servicing of demandsEuropean Journal of Operational Research10.1016/j.ejor.2024.10.009321:3(974-990)Online publication date: Mar-2025
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Journal of the ACM
Journal of the ACM  Volume 7, Issue 4
Oct. 1960
111 pages
ISSN:0004-5411
EISSN:1557-735X
DOI:10.1145/321043
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 1960
Published in JACM Volume 7, Issue 4

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2,125
  • Downloads (Last 6 weeks)255
Reflects downloads up to 19 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2025)On the feasibility of solutions to the split delivery vehicle routing problem represented as edge variablesOperations Research Letters10.1016/j.orl.2024.10720958(107209)Online publication date: Jan-2025
  • (2025)A new branch-and-Benders-cut algorithm for the time-dependent vehicle routing problemExpert Systems with Applications10.1016/j.eswa.2024.125996265(125996)Online publication date: Mar-2025
  • (2025)A multiple asset-type, collaborative vehicle routing problem with proximal servicing of demandsEuropean Journal of Operational Research10.1016/j.ejor.2024.10.009321:3(974-990)Online publication date: Mar-2025
  • (2025)Data-driven prediction of relevant scenarios for robust combinatorial optimizationComputers & Operations Research10.1016/j.cor.2024.106886174(106886)Online publication date: Feb-2025
  • (2025)Classification and comparison of integer programming formulations for the single-machine sequencing problemComputers & Operations Research10.1016/j.cor.2024.106844173(106844)Online publication date: Jan-2025
  • (2025)Optimization of warehouse picking to maximize the picked orders considering practical aspectsApplied Mathematical Modelling10.1016/j.apm.2024.06.037137(115585)Online publication date: Jan-2025
  • (2024)Seçici Kümelendirilmiş Gezgin Satıcı Problemi ve Matematiksel FormülasyonlarıAfyon Kocatepe University Journal of Sciences and Engineering10.35414/akufemubid.136837924:3(531-551)Online publication date: 8-Jun-2024
  • (2024)Mathematical Models of the Problem of Constructing Delivery Routes of Cargo in the Internal Zones of Trunk Nodes of a Hierarchical Transport NetworkCybernetics and Computer Technologies10.34229/2707-451X.24.2.2(11-30)Online publication date: 14-Jun-2024
  • (2024)Real-Time Multi-Robot Mission Planning in Cluttered EnvironmentRobotics10.3390/robotics1303004013:3(40)Online publication date: 28-Feb-2024
  • (2024)A Matheuristic Approach for the Multi-Depot Periodic Petrol Station Replenishment ProblemMathematics10.3390/math1203041612:3(416)Online publication date: 27-Jan-2024
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media