Simulated Annealing for the Traveling Salesman Problem Summary
What is combinatorial optimization? In this application, researchers explored the tuning of parameters for a program that applies simulated annealing to the Traveling Salesman problem. The algorithm is implemented as a small FORTRAN program (with the SAPARAM.INC include file). Researchers explored two main parameters:
How did EnFuzion help solve the problem? How was EnFuzion used? The following plan file was used to control the experiment:
parameter tspfile label "TSP Problem Set" text select anyof
"berlin52a.tsp" "ch130.tsp" "ch150.tsp" "st70a.tsp" "pr76.tsp"
"att48.tsp" "bayg29a.tsp" default "st70a.tsp";
parameter runlength label "Run Length" integer
range from 1000 to 50000 points 80;
parameter seed label "Random Number Seed" integer
range from 1 to 10 points 10;
parameter trials label "Number of Trials per Run" integer
range from 1 to 20 points 5;
task nodestart
copy skel node:.
copy *_satsp_euclid node:.
endtask
task main
copy $tspfile node:.
node:substitute skel stdin
node:execute run_satsp_Euclid | grep Final output
copy node:output output.$jobname
endtask
task rootfinish
execute cat output.* | \
awk '{print $2 " " $3 " " $4 " " $5 " " $6}' output
execute post output st70a.tsp st70a.out
endtask
The nodestart task copies a skeleton skelfile (skel) to the computational node. This file contains formal parameter placeholders, which EnFuzion replaces at runtime. The task also copies to the node, the executable code and a small script, run_satsp_Euclid The run_satsp_Euclid script starts the application, ensuring that the correct binary image is run based on the type of node used. This script also allows the researchers to use a range of computer systems. The main task copies the required data files to the node before the application is run. The placeholders in the skeleton file are substituted and sent to standard input. The application is run; the output is filtered into the output file. These files are returned to the root machine. The output was post-processed using the simple filtering program, post, and the UNIX utility, awk. The researchers used the IBM Data Explorer product (DX) to visualize the output. This image shows the effect of varying the parameters on the cost of the solution. |
|||||||||||
![]() |
|||||||||||
Further Information |
|||||||||||