Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different result on different runs #1

Open
shakirak opened this issue Jan 20, 2013 · 2 comments
Open

Different result on different runs #1

shakirak opened this issue Jan 20, 2013 · 2 comments

Comments

@shakirak
Copy link

Hello

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

@JoaoGFarias
Copy link

Any meta-heuristic algorithm finds a close-optimal solution.
Probably, if you check the length of this paths, they will be:

  • Near equal;
  • Near to the optimal length

@topuchi13
Copy link

You can increase number of iterations in order to get more similar optimal solutions.

Bear in mind that starting points in every ACO type algorithm are chosen randomly, therefore two runs with exact same parameters can give different results.

@github-staff github-staff deleted a comment from p4u1d34n Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants