Skip to content

FelipeGuimaraes42/ti3-heuristics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Third Implementation Work

Heuristics and Metaheuristics

How to Run

To run this project, you need to first use the following command to compile the project (inside the src directory):

g++ -o main main.cpp InputFile.cpp TSPSolution.cpp VND.cpp GRASP.cpp

After compiling, you need to run the executable passing a file.tsp inside the testCases directory

./main ../testCases/berlin52.tsp

Response

The code response 3 fields:

  • the name of the file;
  • the distance method;
  • the heuristic response