From charlesreid1

Line 6: Line 6:


Combinatorial optimization problem
Combinatorial optimization problem
==Problem Description==
One stop shop for all your Traveling Salesman Problem description needs.
Oh wait, we already did that.
==Populating==
Populating a graph with a few nodes and cities with a Python code


==Implementations==
==Implementations==

Revision as of 21:11, 26 March 2017

Traveling Salesperson Problem

Wolfram Mathworld: mathworld.wolfram.com/TravelingSalesmanProblem.html

Wikipedia: https://en.wikipedia.org/wiki/Travelling_salesman_problem

Combinatorial optimization problem

Problem Description

One stop shop for all your Traveling Salesman Problem description needs.

Oh wait, we already did that.

Populating

Populating a graph with a few nodes and cities with a Python code


Implementations

C++

Java Guava

An implementation of the traveling salesperson problem in Java using the Guava library (specifically, their Network object) is available on git.charlesreid1.com.

Link to Readme/explanation: https://charlesreid1.com:3000/charlesreid1/hello-data-structures/src/master/java/guava

The actual Java code is here: https://charlesreid1.com:3000/charlesreid1/hello-data-structures/src/master/java/guava/TSP.java