Replies: 1 comment
|
I apologize for the confusion in my previous post! I mistakenly stated that the search always starts from the initial terminal position, but I now realize that steiner_dct is updated upon acceptance, so the search origin does shift to the newly accepted terminal at each step. It seems the simulated annealing is working as intended after all. Thank you for your time. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am a student new to GitHub, so I apologize in advance if anything is unclear or incorrectly formatted.
I read the paper at https://arxiv.org/abs/2512.04169 and then studied the simulated annealing implementation in
util_routing.py— specificallyrun_annealingandperturbationinTeleportationRouter. My understanding of the flow is as follows:radiusof the initial terminal position.k_lookaheadlayers) is then evaluated.best_cost. Even if the cost worsens, the candidate may still be accepted as the new current solution with probabilityexp(-delta / T)— however, even when accepted, the search neighborhood does not shift to be centered around the newly accepted position. In other words, the next perturbation still samples from the neighborhood of the original terminal, not the accepted one.max_itersiterations, and the best solution found is returned.Based on this reading, it seems that even when a better solution is accepted, it is not actually exploited — the next iteration still samples randomly from the neighborhood of the initial terminal position. This means the algorithm effectively performs a random search over the neighborhood of the initial terminal for
max_itersiterations, rather than true simulated annealing where the current solution guides the next neighborhood to explore.In standard simulated annealing, accepting a new solution should shift the search to the neighborhood of that solution, allowing the algorithm to gradually move toward better regions of the search space. That directional property does not seem to be present here.
Could you clarify whether this is intentional? And if so, what design decision motivated sampling from the initial terminal's neighborhood rather than the currently accepted solution's neighborhood?
Thank you for your time.
All reactions