- Notifications
You must be signed in to change notification settings - Fork1
v-iashin/CrossEntropyTSP
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An implementation of an approximation to the solution of Traveling Salesman Problem using cross entropy approach on Python 3. This project was created in order to replicate the results presented in the following paper
This repository contains an.ipynb
in which you may find:
- A function (
read_atsp
) that returns anumpy
array that contains the costs of trips fromi
toj
cities given URL to one of the datasets fromZuse Institute Berlin. (The code has not been tested on other datasets). - A
Python
class
(CrossEntropyTSP
) that helps to optimize the costs of a traveling salesman. - An example of using both (with results).