![]() |
Ivars Peterson's MathTrek |
Listing all possible routes, calculating the length of each one, and picking the shortest is one possible strategy for solving the problem. For a large number of cities, however, such a brute-force approach requires a huge amount of computation.
For example, to find the shortest possible route to visit 10 cities, a computer would have to evaluate 362,880 (9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1) possibilities. As the number of cities increases, the number of possible routes skyrockets.
This record tour was found by David Applegate of AT&T LabsResearch, Robert Bixby of Rice University, Vašek Chvátal of Rutgers University, William Cook of Georgia Tech, and Keld Helsgaun of Roskilde University.
Mathematician Robert Bosch and student Adrianne Herman of Oberlin College in Ohio have now developed a computer program that brings the traveling salesman problem into the world of art. They use the routes that result from solving the problem to create continuous-line drawings.
Art teachers are fond of asking beginning students to make such drawings. The idea is to look at an object, place the tip of your pencil on a sheet of paper, then make a drawing of the object without letting the pencil's tip leave the paper until the picture is finished. That's a lot like finding an optimal route that links a large number of cities.
Bosch and Herman start with a black-and-white digital image. Each pixel of the image has a grayscale value between 0 (completely black) and 255 (completely white). The picture is then divided into squares, each one consisting of a block of pixels. Next, the average darkness of each square is computed.
A blank digital "canvas" is then divided into squares to match those of the original image. The computer randomly places points (representing cities) within each square in such a way that the points are uniformly distributed within the square. The number of points placed in each square is related to the square's darkness. Distances between the points are then computed.
To find an approximate solution to the corresponding traveling salesman problem, Bosch and Herman use a method developed by the same group that recently found the record tour. The resulting tour is a continuous-line drawing of the target image.

So, the same sorts of techniques used for solving optimization problemswhich range from routing telephone calls and constructing schedules to allocating resources and designing networkscan also play a role in creating ingenious artworks.
Copyright 2005 by Ivars Peterson
References:
Becker, T.J. 2004. No accidental tourist. Research Horizons (Fall). Available at http://gtresearchnews.gatech.edu/reshor/rh-f04/tsp.html.
Bosch, R., and A. Herman. 2004. Continuous line drawings via the traveling salesman problem. Operations Research Letters 32(July):302-303. Preprint available at http://www.oberlin.edu/math/faculty/bosch/tspart.pdf.
Fowler, Y.G. 2004. One continuous line. Oberlin Alumni Magazine (Spring). Available at http://www.oberlin.edu/alummag/spring2004/ats.html.
Peterson, I. 2003. Constructing domino portraits. MAA Online (April 14).
______. 2000. Calculating swarms. Science News 158(Nov. 11):314-316. Available at http://www.sciencenews.org/articles/20001111/bob10.asp.
______. 1997. The traveling monkey. MAA Online (July 7).
Robert Bosch has a Web page at http://www.oberlin.edu/math/faculty/bosch.html. His domino artwork is featured at http://www.dominoartwork.com/.
Information about the traveling salesman problem is available at http://www.tsp.gatech.edu/.
<