SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.19185 · 2026

AGDN: Learning to Solve Traveling Salesman Problem with Anisotropic Graph Diffusion Network

Zhiguang Cao, Yushun Dong, Ziwei Huang, Bolin Shen

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 11 functions out of this paper's own repositories and ran 9 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
LabRAI/AGDN — 9 of 11
FunctionStatusWhere it lives
AGDLayer_Edge Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("811c68def784e35d")
AGDLayer_Iso Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("bedc3db14caa214a")
PositionEmbeddingSine Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("20102ab800db2eb0")
ScalarEmbeddingSine Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("a5bd9551809bb7e3")
_preprocess Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("734290cde1547b4d")
_sparsify Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("49f2c05241836089")
_transition_rw Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("950ae2e9213f02a1")
_transition_sym Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("9215527e0949adae")
get_transition_matrix Ran LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("c4a31537a5723f0d")
AGDLayer_Node Not yet run LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("da6fd1cdb87db350")
Encoder_AGD Not yet run LabRAI/AGDN/supervised/models/agd.py
code served (permissive licence) · get_code("d70f14793befa098")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The Traveling Salesman Problem (TSP) is a cornerstone of combinatorial optimization and arises in many practical scenarios. Although graph-based learning approaches have been explored for TSP, the question of how to exploit graph structure more effectively remains open. We present the Anisotropic Graph Diffusion Network (AGDN), a new Graph Neural Network framework designed to solve TSP. Our method tackles two central difficulties: (1) the lack of informative topological prior in fully connected TSP graphs, and (2) losing connected nodes in the optimal solution after the commonly used graph sparsification techniques. To overcome these issues, we construct a MixScore transition matrix that merges node similarity with pairwise distance, and we develop an anisotropic graph diffusion strategy that supports efficient information exchange across multiple hops. Comprehensive experiments spanning diverse instance sizes and node distributions show that AGDN consistently outperforms existing methods while keeping computation time competitive. Furthermore, AGDN generalizes well to problem sizes and distributions beyond those seen during training. The implementation is publicly available at: https://github.com/LabRAI/AGDN. • Theory of computation → Shortest paths; • Computing methodologies → Neural networks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2606.19185")
get_code_for_paper("2606.19185")
have("2606.19185")

Connect an agent — have() is free.