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 anumpyarray that contains the costs of trips fromitojcities given URL to one of the datasets from Zuse Institute Berlin. (The code has not been tested on other datasets). - A
Pythonclass(CrossEntropyTSP) that helps to optimize the costs of a traveling salesman. - An example of using both (with results).