Python-Ant-Colony-TSP-Solver icon indicating copy to clipboard operation
Python-Ant-Colony-TSP-Solver copied to clipboard

Solves the TSP using multithreaded ACO method

Results 5 Python-Ant-Colony-TSP-Solver issues
Sort by recently updated
recently updated
newest added

Hello, I find that if we remove all the print sentences in Ant class, it will cause deadlock. Is there something wrong about the multi-thread?

Added parameter for logs. known issues: - I can't disable the logs while printing this ``` print ("Ant %s : %s, %s" % (self.ID, self.path_vec, self.path_cost)) ``` In ant.py, if...

Hello Every time I run the program (anttsp.py) gives different best paths.....Can you clarify please?

Is there an optimal value for this? My code freezes for certain instances. Wondering if it has to do something with # of threads.