APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Computer Program Detail Page

Item Picture
Simulated Annealing Method for the Traveling Salesman Model
written by Larry Engelhardt
The Simulated Annealing Method for the Traveling Salesman Model demonstrates the use of the "simulated annealing algorithm" to attempt to solve the "travelling salesman" problem. A text file containing longitude and latitude data for 120 cities in the US and southern Canada is loaded when this program begins.  Other data can be loaded instead, but the data file should have the same format as this text file (available under "source").  A "temperature" controls how much the results (in this case, the total distance traveled) are allowed to fluctuate.  In the process of annealing, the temperature is slowly lowered in an attempt to minimize the total distance traveled, and it can also be manually adjusted with a slider.

The Simulated Annealing Method for the Traveling Salesman Model was developed using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.   Double clicking the ejs_fmu_SimulatedAnnealing_TravelingSalesman.jar file will run the program if Java is installed.  You can modify this simulation if you have EJS installed by right-clicking within the map and selecting "Open Ejs Model" from the pop-up menu item.

Please note that this resource requires at least version 1.5 of Java.
1 source code document is available
Subjects Levels Resource Types
General Physics
- Computational Physics
Mathematical Tools
- Probability
Thermo & Stat Mech
= Random Walks
- Statistical Physics
- Upper Undergraduate
- Graduate/Professional
- Instructional Material
= Interactive Simulation
Intended Users Formats Ratings
- Learners
- Professional/Practitioners
- Educators
- application/java
  • Currently 0.0/5

Want to rate this material?
Login here!


Access Rights:
Free access
License:
This material is released under a GNU General Public License Version 3 license.
Rights Holder:
Larry Englehardt
Merlot:
pending
Record Cloner:
Metadata instance created November 12, 2011 by Wolfgang Christian
Record Updated:
June 12, 2014 by Andreu Glasmann
Last Update
when Cataloged:
November 12, 2011
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
L. Engelhardt, Computer Program SIMULATED ANNEALING METHOD FOR THE TRAVELING SALESMAN MODEL, Version 1.0 (2011), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=11538&DocID=2459).
AJP/PRST-PER
L. Engelhardt, Computer Program SIMULATED ANNEALING METHOD FOR THE TRAVELING SALESMAN MODEL, Version 1.0 (2011), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=11538&DocID=2459>.
APA Format
Engelhardt, L. (2011). Simulated Annealing Method for the Traveling Salesman Model (Version 1.0) [Computer software]. Retrieved October 8, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=11538&DocID=2459
Chicago Format
Engelhardt, Larry. "Simulated Annealing Method for the Traveling Salesman Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=11538&DocID=2459 (accessed 8 October 2024).
MLA Format
Engelhardt, Larry. Simulated Annealing Method for the Traveling Salesman Model. Vers. 1.0. Computer software. 2011. Java 1.5. 8 Oct. 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=11538&DocID=2459>.
BibTeX Export Format
@misc{ Author = "Larry Engelhardt", Title = {Simulated Annealing Method for the Traveling Salesman Model}, Month = {November}, Year = {2011} }
Refer Export Format

%A Larry Engelhardt %T Simulated Annealing Method for the Traveling Salesman Model %D November 12, 2011 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=11538&DocID=2459 %O 1.0 %O application/java

EndNote Export Format

%0 Computer Program %A Engelhardt, Larry %D November 12, 2011 %T Simulated Annealing Method for the Traveling Salesman Model %7 1.0 %8 November 12, 2011 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=11538&DocID=2459


Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource is stored in a shared folder.

You must login to access shared folders.

Simulated Annealing Method for the Traveling Salesman Model:

Is Based On Easy Java Simulations Modeling and Authoring Tool

The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Simulated Annealing Method for the Traveling Salesman Model.

relation by Wolfgang Christian

Know of another related resource? Login to relate this resource to it.
Save to my folders

Supplements

Contribute

Related Materials

Similar Materials

Featured By

Open Source Physics
Nov 30 - Jun 30, 2014

OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book