Skip to content

DanielKneipp/GeneticAlgorithmTravelingThiefProblem

Repository files navigation

Genetic Algorithm for The Traveling Thief Problem

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].

Dependecies

Build Instructions

Ubuntu 14.04 x64 LTS

  • 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.

References

  1. The travelling thief problem: The first step in the transition from theoretical problems to realistic problems

  2. A Comprehensive Benchmark Set and Heuristics for the Traveling Thief Problem

About

Implementation of a Genetic Algorithm to solve the Traveling Thief Problem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages