that is closest to the current path, to find near-optimal
solutions. The TSP-based method can provide good
results for document reordering, but it can not scale
to large datasets since solving the TSP using GNN
heuristic on a complete graph with n vertexes has a time
complexity of O.n2/.