Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
My OPE & the Euclicidean TSP
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Joshua Cranmer, post: 3614141"] The graph I gave is embeddable in 3 dimensions, but not 2. Pick an arbitrary point A on the y-axis, with B and C in the x-axis. F would be on the plane determined by the y and z axes, and D and E at the intersections of the spheres. If you tweak the numbers in the right way, you can push the graph into 2 dimensions. So let me give you a simpler one in 2 dimensions: A is at (0, 10) B and C at (+/- 1, 0) D is at (0, 9) Your algorithm gives A->B->D->C->A, a length of 2*[sqrt(11)+sqrt(10)] (~13), while the optimal is A->D->B->C->A, a length of 2+sqrt(11)+sqrt(10) (~8.5). Would you like me to scan this page in and send it to you? Here's some rough ASCII art: A / \ / D \ /_( )_\ B-------C [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
My OPE & the Euclicidean TSP
Top