Basically my goal is to find the target node to solve the TSP. In order to find this target node I need to know the shortest path between two nodes, specifying only the starting point where:
- The minimum cost path visits all nodes in subset of nodes.
- Cost is minimum.
My return function would return a NodeId which would be interpreted as the target node ID.
Any pseudocode would be appreciated.