All Projects → lingz → LK-Heuristic

lingz / LK-Heuristic

Licence: other
Lin-Kernighan Heuristic Implementation for TSP

Programming Languages

C++
36643 projects - #6 most used programming language
shell
77523 projects

LK-Heuristic TSP

Implements the Lin-Kernighan Heuristic for solving the Travelling Salesman Problem

Problem 1 of Heuristic Problem Solving at NYU

Team: Codebreakers

Step 1

Compile Code

g++ LKMain.cpp LKMatrix.cpp -o LKSolver

Step 2

Run Code

./exec.sh <input_file> out.tsp

With Timing

./run_program ./exec.sh <input_file> out.tsp
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].