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

The result is obtained after a long time #1

Open
karancode-singh opened this issue Mar 17, 2019 · 2 comments
Open

The result is obtained after a long time #1

karancode-singh opened this issue Mar 17, 2019 · 2 comments

Comments

@karancode-singh
Copy link

The result is obtained after a long time even with verbose=False. Any particular reason? Is there any way to obtain the results faster? Thanks.

@v-iashin
Copy link
Owner

v-iashin commented Mar 17, 2019

@karanjot21 thanks for your question. It's been a long time since I implemented this algorithm so I don't remember details, but I will try to answer anyway.

If I understand you correctly, you are asking how to speed up the calculations. Well, I am afraid, I don't know how to increase the speed of this particular implementation as I don't have time, but you can play with the parameter c for the price of accuracy though. For more, please see the 5th cell in the provided notebook or, better, the original paper itself.

CE = CrossEntropyTSP(costs=ft53, c=10, rho=0.01, d=5, alpha=0.7, seed=13)

Also, I don't think that the verbose parameter should slow down the process at all.

Anyway, please let me know how it goes.

@karancode-singh
Copy link
Author

Thanks for your reply. I'll try that.

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

2 participants