marinimau / ds_travelling_salesman_problem_solved_as_max_flow

Implementation of an exact algorithm to resolve symmetric instances of the TSP problem using Maximum Flow for the constraints generation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[DS] Travelling Salesman Problem solved using Maximum Flow Problem

Implementation of an optimal algorithm to resolve symmetric instances of the TSP problem.

Instruction

  1. clone this repository
git clone https://github.com/marinimau/ds_travelling_salesman_problem_solved_as_max_flow.git
  1. create a virtual env and activate it
cd ds_travelling_salesman_problem_solved_as_max_flow
python3 -m venv venv
source venv/bin/activate
  1. install requirements
pip3 install -r requirements.txt
  1. run the code
python3 main.py

Author

Mauro Marini

About

Implementation of an exact algorithm to resolve symmetric instances of the TSP problem using Maximum Flow for the constraints generation.


Languages

Language:Python 100.0%