Advanced algorithms practice project of MLDM first year students for TSP problem ##Description The objective of this project is to implement some algorithms for solving Traveling Salesman Problem (TSP) and to provide an experimental study of their running time and the quality of the outputs as well. ##Alogorithms Included The algorithms developed for solving the TSP problem are:
- Brute-force approach
- Branch-and-Bound approach
- 2-opt (edge swapping)
- Minimum Spanning Tree approximation
- Greedy approach and Itrative greedy
- Randomized approach
- Genetic algorithm
- Evolutionary algorithm (Hillclimbing based)
##Installation Clone the repository at this link: https://github.com/thovo/aa_practice_project/
Run the command below to install the dependencies:
pip install setup.py
After finish installing, you can run with this command:
python TSP.py
Follow the instructions to run the test for every algorithms.
- XmlParserFinal: XML parser script for parsing TSPLIB95 xml files to python friendly input
- RandomGenerator: Random TSP data generator with different configuration available
- grahping: Automated graphing script using matplotlib APIs
- Experimenter: Automation script for running of tests on algorithms and logging of results
##Contact If you get any issues or ideas, don't hesitate to fire us an email:
- Ahmed Hassan ahmed.adel.hassan@hotmail.com
- Tho VO votuongtho@gmail.com
- Omar Samir omar.samir3000@gmail.com