Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Travelling problem

by LanX (Saint)
on Dec 22, 2013 at 01:00 UTC ( [id://1068072]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Travelling problem
in thread Travelling problem

> You mean "i.e. polynomial,"

yes, kind of "non-exponential" =)

Was a short night! :)

Cheers Rolf

( addicted to the Perl Programming Language)

update

> next time someone tells you to give up on your problem because it's NP-complete, ignore them.

Unfortunately well described problems are rare here.

Replies are listed 'Best First'.
Re^4: Travelling problem
by educated_foo (Vicar) on Dec 22, 2013 at 01:35 UTC
    Unfortunately well described problems are rare here.
    As are honestly thoughtful and helpful responses, and genuine discussion. As someone who has been here awhile (perhaps far too long), I know how to separate the wheat-y help from the karma-whoring chaff (I've contributed to both). New users, however, may not know how to filter out the mindless nostrums.
      > New users, however, may not know how to filter out the mindless nostrums.

      Or may be too lazy to express themselves properly, and never improve cause karma whores spoil them with answers? :)

      Anyway I learned new things again, I wasn't aware that the "NP-heuristics" are able to guaranty such good results like Christofides does.

      Thats impressive, especially cause NP-problems are transformable into each other.

      (Though it might not help much, if one needs to know for 100% if two graphs are isomorphic or not.)

      Cheers Rolf

      ( addicted to the Perl Programming Language)

        I wasn't aware that the "NP-heuristics" are able to guaranty such good results like Christofides does.
        I only knew because I took a course from a guy (EDIT: Bill Cook, who literally wrote the book on the TSP) whose research specialty was the TSP. Another cool thing about it is that you can find good lower bounds on the length (based on the minimum spanning tree length), so you can use those plus a heuristic (i.e. upper bound) to iteratively find the true solution.

        I have no idea whether "good-enough" solutions to the TSP can be translated to "good-enough" solutions to other NP-complete problems, but that's an interesting thought. Many of the ways of reducing one NP-complete problem to another are fairly bizarre, so solution quality might not translate.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1068072]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-28 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found