Skip to content

martin3398/tsp-self-organizing-maps

Repository files navigation

Traveling Salesperson Problem modelled with Self-Organizing Maps

In this repo, we will discover the approach of approximating the traveling salesperson problem (TSP) with self-organizing maps (SOM)

Install Prerequisites

pip install -r requirements.txt

Solve Given Examples

python main.py example/example_instance_0100.json

Output of example/example_instance_0100.json:

example_instance_0100.ong

Generate Random Examples

python generate_example.py 100 example.json

Tune Hyperparameters (may take a long time)

python tune_hyperparameters.py example/example_instance_0100.json

About

Traveling Salesman Problem with Self-Organizing Maps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages