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

About the speed. #12

Open
yangco-le opened this issue Apr 17, 2023 · 3 comments
Open

About the speed. #12

yangco-le opened this issue Apr 17, 2023 · 3 comments

Comments

@yangco-le
Copy link

yangco-le commented Apr 17, 2023

Dear developers,

I have been using your tool for some time now and have found it to greatly help my work. However, I have recently noticed that the speed of the tool seems to be slower compared to the original version of LKH3 that was reported in papers. This has caused some delays in my work, and I was wondering if you could help me understand why this might be happening and whether there is anything that can be done to improve the speed.

@fikisipi
Copy link
Owner

fikisipi commented Apr 17, 2023

Can you try 'pip install .' on the lkh-3 branch in the meantime? It's not yet released.

I'll work on it next week.

@yangco-le
Copy link
Author

Hi @fikisipi, I greatly appreciate your continuous updates on the code. I think I may have identified the issue with the speed. The code is currently using the LKH algorithm for ATSP, which may result in slower performance for symmetry TSP. It may be more efficient to use an algorithm specifically customized for symmetry TSP instead.

@fikisipi
Copy link
Owner

Yes even symmetric matrices use the ATSP type. I'll add TSP as well, good idea.

@yangco-le

@fikisipi fikisipi reopened this Apr 19, 2023
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