-
Notifications
You must be signed in to change notification settings - Fork 9
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
Question about testing ATSP #2
Comments
Hi, @wzever! Thank you for your interest in our paper. In terms of Q1, unfortunately it turned out to be a bug in my code for random insertion. (Sorry for the messy code. 😣) We are still evaluating its impact on the results reported in our paper. As for now, I'm sure that only the ATSP results (Table 4) can be affected by the bug. |
Regarding the modeling scheme for the equivalent ATSP of each ASHPP. We define the ATSP as follows:
You can also refer to how POPMUSIC utilizes the above modeling scheme to solve its subproblems [1]. In this case, [1] POPMUSIC for the travelling salesman problem |
We are fixing the bug, and we anticipate better performance after that. |
Thanks for your prompt response and helpful explanation. Anticipating your updates! |
We have fixed the bug and now the function returns the complete revised tour. Thank you @wzever ! |
Thank you for the insightful work! I have questions when running the ATSP solver, i.e., the GLOP-empowered MatNet to evaluate more ATSP instances:
1. There seems mismatch between the output tour and cost of your random insertion algorithm. I replace the result with manually calculated cost from the tour (to my conventional understanding) and find them different (specifically the following printed
cost1
andcost2
are different. Based oneval_atsp/test_glop.py
), though the improved amount remain almost stable.Here are the outputs on ATSP150 using the two different original costs, with all other setting and data identical to your instructions.
I checked your Cpp code of RI algorithm and find it somewhat complicated with the part of calculating total distance, thus wondering if there's any important design that I miss in either your implementation or the paper that may cause the above discrepancy.
2. Could you please further explain the modelling scheme you implemented for equivalent ATSP of each ASHPP (Line 134-139 in
eval_atsp/test_glop.py
)? Because I find the result changes as I adjustL
. So, should I change the value ofL
for my customized evaluation on different problem sizes/distributions? And how can I get a complete revised tour upon the MatNet-solved sub-results, for better clarity and reliability of evaluation?Thanks again! Looking forward to your reply.
The text was updated successfully, but these errors were encountered: