trevlovett / python-ant-colony-tsp-solver Goto Github PK
View Code? Open in Web Editor NEWSolves the TSP using multithreaded ACO method
License: BSD 3-Clause "New" or "Revised" License
Solves the TSP using multithreaded ACO method
License: BSD 3-Clause "New" or "Revised" License
Is there an optimal value for this? My code freezes for certain instances. Wondering if it has to do something with # of threads.
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?
For instances of even <= 14, specifically 10 nodes, using this code always returns the above exception. It seems for certain values which are quite small, the sum == 0 check for this exception is triggered even though the value is not 0. This is however not consistent, since I found that values such on the order of 10^-5 and 10^-6 do not trigger this, but values like 0.00017 do. Any suggestions?
Why don't add the LICENSE to this repository? like AGPL v3 or GPLv3?
Hello
Every time I run the program (anttsp.py) gives different best paths.....Can you clarify please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.