Let Nature Solves NP-Complete Problem 48
An Anonymous Coward writes: "Why not? Here's a start: Tourist Map Illuminates shortest route Light up a gas-tube graph with electricity to find the shortest path between two points. Can they extend this to multiple vertices to instantly solve the NP-Complete traveling salesman problem?"
Elegant solution (Score:2)
This would be excellent news ... (Score:2, Insightful)
shortest path IS np-complete (Score:1)
Re:shortest path IS np-complete NOT (Score:5, Insightful)
Second, if the number of operations increases polynomially, how does the problem get classified as NP complete? Never mind the fact that a lower bound alone is not enough to put a problem in a specific class, if the complexity is actually O(n^2), then the problem is clearly in P, not NP.
Other than a nice hack, this article does not describe any important breakthrough.
Re:shortest path IS np-complete NOT (Score:2, Informative)
Djikst
Re:shortest path IS np-complete NOT (Score:1)
The travelling salesman problem on the other hand, which is not what the article talks about, imposes additional constraints: the path must visit all nodes and it must form a cycle (ie end where it began). These additional constraints are what make this an NP-complete problem. But unless the article is missing critical information, they have not found a way to impose those constraints.
The links you mention are about the TSP, not the shortest path problem.
TSP is short for The Shortest Path (Score:1)
Re:TSP is short for The Shortest Path (Score:2)
Re:TSP is short for The Shortest Path (Score:1)
Re:TSP is short for The Shortest Path (Score:1)
then i agree (nt) (Score:1)
TSP means Travelling salesman problem (Score:2, Insightful)
let's reiterate - traveling salesman: np-complete
shortest path between two arbitrary points in a graph of n points - O(n^2)
/me should go get some more caffeine
Re:shortest path IS np-complete NOT (Score:2)
The Definition of NP completeness (Score:1)
WHAT? This has nothing to do with NP-Completeness. A problem A is NP complete iff it is NP and for all problems B in NP, B can be reduced to to A in polynomial time. (this means you can convert any problem in NP to an NP-Complete problem in polynomial time and the solution to B can be determined by running an input on A)
So unless you can show this your claim about np completeness is complete bull.
Re:The Definition of NP completeness (Score:1)
quoted reference (Score:2)
Number: 27
Name: Travelling Salesman [ND22] 3-4
Input: A set C of n cities {c1,...,cn}; for each pair of cities (ci,cj) (1
Question: Is there an ordering of the n cities such that the value sum from i=1 to n-1 dpi(i),pi(i+1)+dpi(n),pi(1) is no more than B?
Comments: In effect what this problem is asking is whether there is a tour of the given collection of cities that visits each city exactly once and takes up total distance no more than B. There is a huge volume of literature concerning approximation methods, search heuristics, special case methods, etc for this very well studied problem. A bibliography has been compiled.
Re:shortest path IS np-complete (Score:2)
Re:shortest path IS np-complete (Score:1)
Re:Great... (Score:1)
Why isn't there a moderation of "lazy"?
I tried... (Score:1)
that's it? (Score:1)
no mention of how this could apply to programmable MEMS or anything, and this is EE Times, odd.
Re:that's it? (Score:2)
Re:that's it? (Score:3, Funny)
I prefer the slime mould version... (Score:4, Informative)
Re:I prefer the slime mould version... (Score:2)
Not all that impressive. (Score:1, Troll)
This may be interesting, but I doubt it's all that revolutionary.
Shortest-path problems are easy ... (Score:4, Informative)
Neat, but not quite as useful as one might think. (Score:2)
Furthermore it doesn't solve the problem satisfactorily, for instance how do you make a one way street in a neon tube? How do you post speed limits for electrons?
There may be solutions to these questions, and more, but the computer will still solve all these problems more quickly than any person or group of people can build a device which can do so.
The larger question of whether nature can provide solutions to unsolved problems is, of course, a resounding yes. But we've known that for awhile, what's new? The problem is translating the question into a form nature can handle, then interpretig the results. As we come ever closer to biological computers we will have a better grasp of performing such experiments - the question is whether quantum computers will come first (which apparently solve every NP problem - according to the optomistic physicists, anyway
-Adam
Re:Neat, but not quite as useful as one might thin (Score:1, Insightful)
Diodes (allows current to flow only one way)
How do you post speed limits for electrons?
Resistors (regulates the flow of current more than the speed -- but you get the idea)
Re:Neat, but not quite as useful as one might thin (Score:2)
You couldn't model the map as a circuit since current would flow through as all of the circuit - you might be able to glean some information from the current in each road, but then you're still executing a search.
The helium tube is an instantaneous solution, but putting resistors and diodes in the tube wouldn't work since you're dealing with much higher voltages and lower currents.
-Adam
Question (Score:2, Interesting)
Now, this means at every crossroad, the electron flow will select the road with the least electric resistance.
This leads to a kind of greedy algorithm, that possibly leads to a good approximation of the shortest path, but still an approximation.
Or does the current flow path oscillate to find the absolute resistance minimum, so it does not get stuck in a relative minimum?
Or do I miss something?
Re:Question (Score:3, Informative)
Electrons do not select anything. The current flows from start to finish along all possible paths; but because the shortest path has the least resistance (there is less material to flow through) more electrons get through that path per unit time than other paths - hence the current is higher.
In this case, all paths will glow, the shortest path will glow the most. With the right balance of voltage and material, the shortest path can glow significantly more than other paths.
Not a new approach (Score:2)
I don't have the references any more (but here [cornell.edu] is a similar source), but here's the gist: They built strands of RNA with specific sites being mapped to parts of the travelling salesman solution, replicated those strands billions of times with PCR. and mixed well. The reactions that prevaled were logically the "shortest" path.
Nature abounds with massively parallel computing engines.
front loading problem exceeds solution difficulty (Score:1)
The example that sticks in my mind was sorting numbers with dry spaghetti, where the spaghetti was broken at a lenght that represented the size of the number. If you hold the spaghetti vertically in a column and touch the top you will have selected the largest number. Iterate until numbers are sorted from greatest to least. You have a linear time sorting algorithm.
They also had a factoring machine.
Unfortunately, all of these solutions lose big on setup time. Building the analog solving tools is generally difficult, and becomes difficult faster than standard mathematical methods. I suspect this may be universal.
Re:front loading problem exceeds solution difficul (Score:2)
Answering the question (Score:2, Informative)
This resistance-path method will only find the shortest path from one point to another -- a task for which there already exist solutions which can complete in polynomial time. A *full* path (which is required as a solution to the Travelling Salesman problem) is not directly solved by this method.
Re:Answering the question (Score:2)
Basically, you just do a breadth first search- no return to any node is required.
Re:Answering the question (Score:1)
Knotted String and Dijkstra (Score:4, Interesting)
There are several methods that can be used to solve this problem. One way is to make a model of the map by knotting together pieces of string whose lengths are proportional to the lengths of the roads. To find the shortest path, take hold of the knots corresponding to A and L - and pull tight!
-Introduction to Graph Theory, Robin J. Wilson
How can we find the shortest route from one location to another?... Dijkstra's Algorithm (Dijkstra [1959] and Whiting-Hillier [1960]) solves this problem quickly,...
-Introduction to Graph Theory, Douglas B. West
Check any book on graph theory or on algorithms for the details of Dijkstra's algorithm.
The setup with the tourist map is kind of cool but hardly a breakthrough for math or computer science.