The Traveling Thief Problem (TTP) [1] is a combination of two well-known problems in computer sciency: the Knapsack Problem (KP) and the Traveling Salesman Problem (TSP).
This project is trying to develop a Genetic Algorithm (GA) that solves instances of TTP (model 1) provided by [2].
- Gnuplot
- g++-5
- Qt Creator (Only to use the .pro file)
- Install Gnuplot:
sudo apt-get install gnuplot
- Install g++-5
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
- Install Qt Creator
Follow https://wiki.qt.io/Install_Qt_5_on_Ubuntu.
- Compile it
To compile the MCGA, just open the .pro file with QtCreator, set to the Release mode with g++-5 added and setted to the build kit. Now just build it.