conda activate acoenv
mpicc -lstdc++ -lm -lpthread parallel_acop.cpp
mpirun -n 4 ./a.out rl1889
To select a different tsp instance, modify MAX_NODES constant according to the instance size in ants.h. Also, the algorithm parameters (alpha, beta, rho, qval, iterations) can be modified in ants.h. Depending on the coordinate format of the instance you can configure the type of coordinate (x,y) in ants.h and in parllel_aco.cpp as int or double.