Skip to content

Implementation of the traveling salesman problem using simulated annealing heuristics

Notifications You must be signed in to change notification settings

estevam96/Traveling-Salesman-Simulated-Annealing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Traveling salesman problem using simulated annealing

Implementation of the traveling salesman problem using simulated annealing heuristics to generate a solution. Developed for the discipline Artificial Intelligence at the Federal University of Ceará.


Getting started

# 1. Clone the repository.
git clone https://github.com/estevam96/Traveling-Salesman-Simulated-Annealing.git

# 2. open in your favorite IDE

# 3 run project

Run Project

When executing the project in your favorite IDE, the program will ask for the amount of traveling salesperson you want to use ( the option is limited between 1 and 3 travelers ). Then just inform the amount of cities that travelers can visit (limited between 30 and 100). The program shows the route that each traveler will follow.

screen-bash

If you want to change the cities

Inside the src folder there are two files: ncit30.bat and ncit100.bat, these files are the list of cities with the X and Y location for the algorithm to calculate the Euclidean distance between the cities

About

Implementation of the traveling salesman problem using simulated annealing heuristics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages