ACOTSP icon indicating copy to clipboard operation
ACOTSP copied to clipboard

Ant Colony Optimization for the Travelling Salesman Problem

Results 3 ACOTSP issues
Sort by recently updated
recently updated
newest added

A long int array is allocated as ints, not long ints, causing out of bound writes. From ls.c ``` long int *r; r = malloc(n * sizeof(int)); for ( i...

The version forked here causes core dumps on Linux when compiled gcc 7. These critical issues have been fixed in the latest version of the ACOTSP available from http://www.aco-metaheuristic.org/aco-code/

On executing make file lot of redefinition of variables gcc -ansi acotsp.o TSP.o utilities.o ants.o InOut.o timer.o parse.o ls.o -o acotsp -O -lm /usr/bin/ld: TSP.o:(.bss+0x100): multiple definition of `n'; acotsp.o:(.bss+0x8):...