Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.7K Views
|
7 Replies
|
1 Total Like
View groups...
Share
Share this post:

TSP Geometry conjecture

Posted 10 years ago
POSTED BY: Brian Davis
7 Replies
Posted 10 years ago

TSP Geometry conjecture: No crossed paths assertion.

not sure if it would be preferred to start another post, this is more or less a continuation of the same topic, and requires 2D points

I found my self asking the same question asked here, and they link to a good article on the topic. http://stackoverflow.com/questions/2444125/crossing-edges-in-the-travelling-salesman-problem the article: http://www.ams.org/samplings/feature-column/fcarc-tsp figure 5 shows that some edges can be excluded from the matrix that would be sent to the branch and bound algorithm.

some edges would always cause a crossed edge, for example if you were to find the convex hull of all the points, and the hull connected a-b, b-c, c-d, d-e then you can safely assert that a will never go to c because it would always cause a crossed edge for anything else to get to b, that does not mean that a will go to b, just that it will not go to c, so a-c can be pruned from the matrix.

but there are also edges that are merely mutually exclusive, as such they cannot be removed from the matrix entirely. for example: if F-G is known the cross H-I, then once the F-G is only pruned when H-I is part of the route, and vice versa, but both are possible options while neither is part of the route.

In wolfram's TSP solver, http://reference.wolfram.com/language/ref/FindShortestTour.html#114665653 does Wolfram already handle this internally? (is there a way to see the source to know what wolfram already accounts for?)

if not: is there a way to denote which parts of the matrix are mutually exclusive?

if not: I suspect my best bet would be to permutate the mutual exclusions into a (potentially large) set of matrices to solve that each have some of the mutually exclusive edges pruned out from the list of possible paths.

POSTED BY: Brian Davis

As best I can tell you want to take a matrix of valid planar distances and recover a set of points whose pairwise distances recover that matrix. This can be done using singular value decomposition. Details and Mathematica/WL code may be found in this recent TMJ article.

POSTED BY: Daniel Lichtblau
Posted 10 years ago

Wonderful and relevant article thank you very much for this! MDS is an existing method for converting the data I described into 2D points. It seems they have some margin of error, and i wonder how a circle intersect solution (something like what i proposed in the original post) would compare on accuracy and performance.

Anyway, it looks like MDS is built into Mathematica/WL already, that is terrific!

POSTED BY: Brian Davis

In this instance I think it is the PCA approach that would be of greater use. Assuming the distances came from actual points in a plane, one can use PCA to recover the relative placement of the points, that is, it will be correct up to translation and rotation/reflection.

POSTED BY: Daniel Lichtblau
Posted 10 years ago

PCA is a fairly common acronym so I would like to mention this link in the discussion to provide reference to PCA in this context: https://en.wikipedia.org/wiki/Principalcomponentanalysis

also a helpful quote from that link:

"Mathematica – Implements principal component analysis with the PrincipalComponents command using both covariance and correlation methods."

@Daniel Lichtblau: "it will be correct [with the exception of] translation and rotation/reflection." That is exactly what I am looking for, thank you again. Also thanks for this clarification about the accuracy of PCA, it was difficult to discern that fact from the article I read.

POSTED BY: Brian Davis
POSTED BY: EDITORIAL BOARD
Posted 10 years ago

Thank you, I have updated my post to be more compliant.

POSTED BY: Brian Davis
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard