I developed a software implementation of Ant Colony Optimization to solve the Traveling Salesman Problem, but due to ACO's stochastic nature, each execution of the ACO algorithm produces a different near optimal solution every time. Is there a way to make ACO more deterministic? I understand that it will never be 100% deterministic but I need it to be able to run multiple times on the same problem space and at least come up with a similar solution most of the time. I've tried tweaking α, β, ρ and number of iterations but I'm just shooting in the dark at this point.
How can Ant Colony Optimization be made to produce more consistent results?
635 Views Asked by Ray Saltrelli At
1
There are 1 best solutions below
Related Questions in ALGORITHM
- MCNP 6 - Doubts about cells
- Given partially sorted array of type x<y => first apperance of x comes before first of y, sort in average O(n)
- What is the algorithm behind math.gcd and why it is faster Euclidean algorithm?
- Purpose of last 2 while loops in the merge algorithm of merge sort sorting technique
- Dots and Boxes with apha-beta pruning
- What is the average and worst-case time complexity of my string searching algorithm?
- Building a School Schedule Generator
- TC problem 5-2:how to calculate the probability of the indicator random variable?
- LCA of a binary tree implemented in Python
- Identify the checksum algorithm
- Algorithm for finding a subset of nodes in a weighted connected graph such that the distance between any pair nodes are under a postive number?
- Creating an efficent and time-saving algorithm to find difference between greater than and lesser than combination
- Algorithm to find neighbours of point by distance with no repeats
- Asking code suggestions about data structure and algorithm
- Heap sort with multithreading
Related Questions in COMBINATORICS
- How to calculate efficient binominal coefficient or sum of these coeficients mod value?
- Minimum cases of n choose k with respect of n choose q
- Filter elements in the list A, based on the list B, such that for a in A there exists at least one element b in B, where a = (a&b)
- Is my logic correct? A bit string of n with more 0s than 1s
- Giving each student a set of questions so that any two would have minimal number of common questions
- All combinations 1 to n_1, 2 to n_2, ..., n to n_n in R as vectors in a list?
- Number of the binary strings that have the given number of occurrences
- Seeking Efficient Enumeration Strategies for Graph Partitioning
- How do I select a combination of two variables from a dataframe when each variable value can only be selected once?
- R: Creating all possible between group combinations without within group combinations
- Is it possible in SQL to generate all pairs of participants from a list of events and participants? If so, how?
- How to attach each row of a dataframe against all the other rows in a pairwise manner
- Finding paths covering all edges in complete digraphs
- Optimization Strategy for Data Retrieval from APIs with Row Limits
- Put n persons in x 2-Beds-Room and y 3-Beds-Room based on preferences
Related Questions in MATHEMATICAL-OPTIMIZATION
- Best way of finding KKT points for a Sympy polynomial
- CVXPY : Minimising with parameter set to 0 and minimising without parameter gives different answers
- Implementing Constraints in OPL Using CPLEX
- Assigning resources to consumers according lists of preferences
- Dynamic Pricing optimization with volume weighted price constraint
- About MATLAB intlinprog
- Trouble with Refinery Optimization Python Script
- How to handle nondeterministic objective function with scipy.optimization.differential_evolution?
- Non linear programming float decision variable in CPLEX
- If else then constraint to linearization
- How to write solution file for an LP problem with Coin-or Cbc Solver?
- Defining the value of one variable in a constraint in relation to another variable without making the problem nonlinear in Pyomo
- ortools solvers GLOP, PDLP instantly writes that the model is infeasible
- Is there a constraint to pieces of the stateFunction only go in ascending or descending order?
- issues with template <> during scip installation
Related Questions in ANT-COLONY
- ACO Implementation: what's the most efficient of these two (hereunder)
- Issues with Numpy initialisation
- Can I use different cost functions in prior( η) and posterior(τ) functiona in Ant Colony Optimization?
- Custom objective function for Stuart ant-algorithm - minimise latent correlation
- Ant Colony Optimization Pheromone Update problem
- Prevent that the ant visit a already visited vertex
- similarities and differences between ACO and PSO and Genetic algorithms
- Unusual behaviour of Ant Colony Optimization for Closest String Problem in Python and C++
- How to call a module object?
- reading dataset from text file for a TSP problem using ACO in python
- Webgl - can you write into arbitrary locations of a texture inside the fragment shader?
- On the implementation of a simple ant colony algorithm
- how to plot the ROC curve in Ant colony optimization ( Basic Ant miner)
- Ant colony optimization for TSP not getting the shortest path
- How can I simply use Ant Colony Optimization to find the minimum value of a function?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As Michael already stated as a comment: use a seeded pseudo random number generator (PRNG) and reuse the same all over your implementation.
In Java, do something like this:
There are a couple of other things you might need to disable (especially in multi-threaded implementations) to have 100% reproducibility, some of which I discuss in my implementation's docs section 4.4.3.4. REPRODUCIBLE (such as replacing
HashMapbyLinkedHashMapwhen needed).