Python-Ant-Colony-TSP-Solver
Python-Ant-Colony-TSP-Solver copied to clipboard
Solves the TSP using multithreaded ACO method
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.
For instances of even