in reply to Travelling problem
Please check if you really need all criteria!
Pick at most 2 of 3 and we might be able to help:
If it's just a theoretical question and you can't limit the requirements, then I suppose a branch and bound algorithm might be the best approach, but it won't be faster than brute force in some edge cases.
HTH! =)
Cheers Rolf
( addicted to the Perl Programming Language)
had a short glance at the WP article and it describes much better what I wanted to tell.
¹) almost
²) corrected, educated foo++
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Travelling problem
by educated_foo (Vicar) on Dec 22, 2013 at 00:54 UTC | |
by LanX (Saint) on Dec 22, 2013 at 01:00 UTC | |
by educated_foo (Vicar) on Dec 22, 2013 at 01:35 UTC | |
by LanX (Saint) on Dec 22, 2013 at 02:06 UTC | |
by educated_foo (Vicar) on Dec 22, 2013 at 13:40 UTC | |
|
Re^2: Travelling problem
by Dirk80 (Pilgrim) on Dec 21, 2013 at 21:12 UTC | |
by LanX (Saint) on Dec 21, 2013 at 23:04 UTC | |
by BrowserUk (Patriarch) on Dec 21, 2013 at 21:21 UTC | |
by Dirk80 (Pilgrim) on Dec 21, 2013 at 21:31 UTC | |
by BrowserUk (Patriarch) on Dec 21, 2013 at 22:01 UTC | |
by Dirk80 (Pilgrim) on Dec 22, 2013 at 00:23 UTC |