Slashdot Mirror


Bacterial Computer Solves Hamiltonian Path Problem

Rob writes "A team of US scientists has engineered bacteria that can solve complex mathematical problems faster than anything made from silicon. The research, published today in the Journal of Biological Engineering (abstract and provisional PDF), proves that bacteria can be used to solve a puzzle known as the Hamiltonian Path Problem, a special case of the traveling salesman problem. The researchers say that this proof-of-concept experiment demonstrates that bacterial computing is a new way to address NP-complete problems using the inherent advantages of genetic systems."

135 comments

  1. Summary is overrated by FooAtWFU · · Score: 5, Informative

    According to the abstract, the bacteria presently only solved the problem for a 3-node directed graph. Maybe someday it will be "faster than anything made from silicon", but... not right now.

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
    1. Re:Summary is overrated by Anonymous Coward · · Score: 1, Informative

      Also, the Hamiltonian path problem is not a special case of the traveling salesman problem, it is simply another NP-complete problem that is quite similar to the traveling salesman problem.

    2. Re:Summary is overrated by Anonymous Coward · · Score: 3, Funny

      It is a fucking special case of the fucking traveling salesman problem. Look, you fucking make a fucking edge of fucking infinite cost for any fucking edge not fucking present in the original fucking graph. Is the fucking shortest fucking tour finite? Fucking Christ on a fucking goddamn stick. Fuck!

    3. Re:Summary is overrated by Mr.Bananas · · Score: 1

      Yeah, in theory they could scale this to more cities with more bacteria, but they'd probably have to build something like Mother Brain to scale to thousands... and "silicon" of course can currently handle that just fine.

      Fine achievement though, despite the summary's smug sensationalism.

    4. Re:Summary is overrated by rubycodez · · Score: 5, Funny

      the traveling salesmen I know did a lot of fucking on their routes. You must be correct.

    5. Re:Summary is overrated by michelcolman · · Score: 4, Insightful

      Even worse, the colony does not even SOLVE the problem! If you let the bacteria grow enough, you have a pretty high probability of getting a solution. But no guarantee, because it's all probabilistic. If some of the bacteria happen to reach the correct solution, they turn the right color. Which is pretty easy to detect if you're just looking for a big patch of yellow bacteria, but not if there are millions of possibilities and only a few bacteria turned the specific color you are looking for. Sure, you could use resistance to antibiotics instead of colors, and kill off the bad solutions, but still, if no bacteria are left, that does not mean there's no solution. And since the number of possibilities grows exponentially with problem size, so will the required size of the bacterial colony. So forget about solving the HPP with 500 or so nodes. Then, on top of that, DNA is not exactly reliable. Already in this small and simple experiment, unexpected colors like pink etc. turned up.

    6. Re:Summary is overrated by kohaku · · Score: 3, Interesting
      Why is the GP modded over the parent? "Simply another NP-complete problem" and "not a special case" are just wrong. As can be found on wikipedia, the following text states that solving one NP-complete problem faster means they are ALL solvable faster. Come on slashdot! Computational complexity 101!

      In computational complexity theory, the complexity class NP-complete (abbreviated NP-C or NPC, with NP standing for nondeterministic polynomial time) is a class of problems having two properties

      • Any given solution to the problem can be verified quickly (in polynomial time); the set of problems with this property is called NP.
      • If the problem can be solved quickly (in polynomial time), then so can every problem in NP.

      Anyway, this article is about solving the problem in parallel with bacteria (which is totally cool, don't get me wrong.) It's not a faster algorithm, although I suppose you could argue that massively parallelizing it IS a faster solution.

    7. Re:Summary is overrated by juraj · · Score: 1

      There are lots of interesting algorithms, that are probabilistic. The definition is, that if you run it long enough, the solution will be found.

      Reliability is also backed up by the times you run experiment. You can easily discard pink colours, if you get yellow, you can check the result (remember, it's NP, so checking, if the answer is okay is deterministic polynomial, i. e. fast). So filtering out the wrong solutions is not a problem.

      The principial problem is, that it does not scale well. You need to enumerate all combinations in DNA. Only for a few hundred cities, you get enormous mass of DNA (earth-like weights and more).

    8. Re:Summary is overrated by thedrx · · Score: 1

      Your poststriptum is nicely put.

    9. Re:Summary is overrated by thedrx · · Score: 1

      *postscriptum

    10. Re:Summary is overrated by michelcolman · · Score: 1

      There are lots of interesting algorithms, that are probabilistic. The definition is, that if you run it long enough, the solution will be found.

      Indeed, and such algorithms are widely used in practice, but they are not theoretically considered a "solution" because you might (in theory) have to wait forever to get a path, and you will never really be sure that no path exists (which is an important element of the Hamiltonian Path Problem). If a probabilistic algorithm is considered to be good enough, they should at least compare the bacteria against a computer running a probabilistic algorithm as well, and find that the computer is probably a lot faster.

    11. Re:Summary is overrated by Anonymous Coward · · Score: 0

      It's a kdawson post. Throw in some exaggeration and something that sounds controversial and he'll post it in a jiffy without checking the facts, reading the article, and/or making sure that the links work.

    12. Re:Summary is overrated by rafaelolg · · Score: 1

      Just use image analysis to find if there is any solutions. Something very simple like Gonzalez et al.

    13. Re:Summary is overrated by agg-1 · · Score: 1

      Well, any problem in NPC is a "special case" of any other problem in NPC, up to polynomial reductions. That's what completeness means.

    14. Re:Summary is overrated by SleepingWaterBear · · Score: 1

      Even worse, the colony does not even SOLVE the problem! If you let the bacteria grow enough, you have a pretty high probability of getting a solution. But no guarantee, because it's all probabilistic.

      To be fair, current computation is also essentially probabilistic. Solid state electronics like those based on transistors depend on statistical thermodynamic effects for their operation - it just turns out that the probability of a random fluctuation that causes unpredictable behaviour is small enough to be essentially zero - in principle with enough bacteria you could achieve similar levels of confidence.

      The scale issue is a real one though, if your base unit is a bacterium instead of an electron you have a awful lot less units to work with a a given size. Still in principle for problems that can be parallelized, having millions of 'processors' might be enough to make up for the size of the units you're working with.

    15. Re:Summary is overrated by Anonymous Coward · · Score: 0

      they clearly don't post on /. then?

    16. Re:Summary is overrated by quakehead3 · · Score: 3, Funny
    17. Re:Summary is overrated by n2rjt · · Score: 1

      Also, imagine using this method to solve a problem for which you didn't already know the solution. What exactly are the characteristics of the "correct answer"? Unknown.
      In order to be useful, you must engineer a mapping of the possible solutions to genetics in a way where the solution is obvious without knowing what it will be beforehand. That sounds quite difficult. Maybe we could program some bacteria to find out how to do that.

    18. Re:Summary is overrated by rubycodez · · Score: 1

      not even my I.T. friends post on slashdot, must take an exception level of lameness to participate here

    19. Re:Summary is overrated by Hurricane78 · · Score: 1

      Will it have fucking Buddanaise to fucking dip it into?

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    20. Re:Summary is overrated by Anonymous Coward · · Score: 0

      *sigh*

      Let's make this clear once and for all -- any probability better than 50%, I can repeat the experiment and get the answer within any epsilon I choose. In parallel. A million times if need be. If the probabilistic algorithm is faster than the others, it's probably *better* for all intents and purposes on remotely modern architectures--although it may end up consuming more total energy.

      Even if I only have a 75% chance, I do the thing 256 times, and it's more likely that a random bit flipped due to cosmic rays introducing an error than that my epsilon/error event occurred.

      There is as much a guarantee that a decent setup gets solved as there is in any other engineered solution with faults and tolerances.

    21. Re:Summary is overrated by jmcbain · · Score: 1

      The article is incorrect in stating that the Hamiltonian Path problem concerns finding the shortest path. This is not right. The HP problem simply asks whether or not a path exists that goes through every vertex exactly once. The TSP is concerned with finding the shortest *cycle* that goes through every vertex exactly once (except for the starting and ending vertex, which must be the same). If you want to be precise, TSP asks if there is a Hamiltonian Cycle that has length less than some constant k (since they are all decision problems). Now, the solution that the authors devise is interesting. It appears to be nothing more than a stochastic algorithm that hopefully converges upon the solution. It is the real-genetic analogue of a Genetic Algorithm, which is well-known in the algorithms/complexity community as being a computer simulation of genetic evolution. The authors' approach is neat, but let's see if they can scale up to 500 vertices.

    22. Re:Summary is overrated by tobyvoss · · Score: 1

      WTF - traveling salesman with three points, one of which is the start and one of which is the end - what paths are there to choose from?

    23. Re:Summary is overrated by stuckinphp · · Score: 1

      That is how our brains work; however, I wouldn't use wikipedia to disprove anyone.

      --
      if only
    24. Re:Summary is overrated by RancidPeanutOil · · Score: 1

      Well, what we should do is engineer a form that will eliminate heterogenous forms from the medium, and then allow them to propagate using the raw materials of their surroundings. At high enough levels the error factor will approach electron-level - say, if the medium were about the size of the surface of earth. Then we'd have enough computing power to answer some big fat np-complete problems, as long as the solution-set color can be interpreted from the color gray.

    25. Re:Summary is overrated by Anonymous Coward · · Score: 0

      Fucking potty mouth.

    26. Re:Summary is overrated by TechnoChatter69420 · · Score: 1

      This sentiment seems awfully negative. It's progress, not some spectacular, worldchanging breakthrough. Not every scientist can emerge after 4 years in the desert with a nuclear bomb.

      --
      There are 10 types of people in the world: those who understand binary, and those who don't.

    27. Re:Summary is overrated by sjames · · Score: 1

      The problem is, even the least green computer solving the problem wouldn't be characterized as an ecological disaster. Choose the bacteria carefully!

    28. Re:Summary is overrated by lewiscr · · Score: 1

      The mice already did that.

  2. Next up... by sharp3 · · Score: 2, Funny

    Foot fungus solves graph coloring!

    1. Re:Next up... by Anonymous Coward · · Score: 0

      Then tell Stallman to stop eating it all

  3. the possibilities! by Brian+Gordon · · Score: 4, Insightful

    Wait, where's the advantage? OK so it's more efficient but can you run experiments over and over on the same hardware for a decade without repair? Is it scalable? I doubt it's feasible to have a Beowulf cluster of billion-dollar laboratories complete with post-grads to set up and write up reports analyzing each experiment. I'd like to see a schematic for a high-speed bacterial coupler before I start buying cycles on yogurt.

    1. Re:the possibilities! by Anonymous Coward · · Score: 2, Insightful

      The advantage? Self-replication. Bacteria are crafted, made to do what they do naturally (replicate to populations of millions or more), and then create answers as a by-product of that replication. This has serious possibilities for streamlining any massive iterative function. Essentially, a biological computer grows to meet the problem at hand, unlike static circuits that must slowly work their way through a potentially massive set of answers. The technology isn't even in its infancy yet, but it's yet another field of development with mind-blowing potential.

    2. Re:the possibilities! by Anonymous Coward · · Score: 0

      The advantage is, you don't need to run experiments over and over without repair. Humans are the best machines and they can't work without repair for ever. Humans are not scalable either. But still humans have best pattern recognition compared to any other work ever conceived.

      Bottom line is to think different and to believe (like X-files)

    3. Re:the possibilities! by Anonymous Coward · · Score: 0

      But... this way we can have REAL computer viruses! Like, you can infect people bacterial computer with an actual virus!
      [yes I understand it doesn't exactly work like that.]

    4. Re:the possibilities! by maxwell+demon · · Score: 1

      Well, given that a virus injects new DNA, it just may work like that. Imagine a virus which uses only a fraction of the infected bacteria for reproduction, but modifies the DNA in the others to alter the computation (in the case in question, a simple example would be to make the bacteria glow yellow unconditionally). Or maybe a virus which selectively kills bacteria with a certain DNA configuration.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    5. Re:the possibilities! by tacarat · · Score: 1

      Does that mean I'll be able to catch real STDs from bacteria internet porn one day?

      --
      "Common sense will be the death of us all"
  4. Misleading by Anonymous Coward · · Score: 1, Insightful

    I think this is quite misleading since the effort to genetically modify the bacteria is not included in the quantification of how fast the computation is being completed. If programmers are allowed to spend enough time to prepare input data for the fastest possible calculation, it may be just as fast or faster than the bacteria. Even if this is not the case, the overhead of preparing the bacteria should not be ignored.

  5. old. by Knoeki · · Score: 0, Troll

    I'm pretty sure I've seen this elsewhere yesterday.

    --
    [ irc.p2p-network.net -> #zomgwtfbbq ][ http://zomgwtfbbq.info ]
  6. So? by pushing-robot · · Score: 4, Insightful

    At best, this seems to be a novel form of analog computer. They have their uses, but calling them "faster than silicon" is very misleading; a soap bubble can solve the mean surface problem but I won't be replacing my Core 2 with one.

       

    --
    How can I believe you when you tell me what I don't want to hear?
    1. Re:So? by Anonymous Coward · · Score: 0

      Not really.

      http://arxiv.org/abs/quant-ph/0502072

    2. Re:So? by rjh · · Score: 4, Informative

      They can't. Soap bubbles can get misled by local minima just like naive hill-walking algorithms.

    3. Re:So? by pushing-robot · · Score: 2, Insightful

      We don't know these bacteria can't be fooled, either. That's not the point, anyway: An analog computer may be useful. But it will solve the problem by "brute force", taking advantage of the massive parallelism inherent in the real world in the form of molecules or bacteria. It may solve the problem "quickly" in our perception, but it's far from efficient in polynomial time, and it doesn't help in terms of P = NP.

      And like any analog computer, these bacteria need to be carefully designed to solve a specific problem. Which makes them utterly unsuited for the everyday tasks we perform on digital computers using general-purpose CPUs.

      --
      How can I believe you when you tell me what I don't want to hear?
    4. Re:So? by Bacon+Bits · · Score: 2, Interesting

      But it will solve the problem by "brute force", taking advantage of the massive parallelism inherent in the real world in the form of molecules or bacteria.

      If you've ever looked at a diagram of how a CPU implements DIV or MUL for floating point numbers, then you wouldn't think that the brute force approach would necessarily be so bad. Take a look at size, scale, and cost of ENIAC and then come tell me a Petri dish is "slow and inefficient". Silicon takes advantage of massive speed of serial operations inherent in electron flow and the basic ability to electrically flip switches. Electrical-silicon computers are *not* efficient. They're *not* smart. They're extremely stupid extremely quickly, and that's all.

      --
      The road to tyranny has always been paved with claims of necessity.
    5. Re:So? by SlashWombat · · Score: 1

      Electrical-silicon computers are *not* efficient. They're *not* smart. They're extremely stupid extremely quickly, and that's all.

      They are neither "smart" or stupid. They are just machines that blithely follow instructions.

    6. Re:So? by cp.tar · · Score: 1

      Electrical-silicon computers are *not* efficient. They're *not* smart. They're extremely stupid extremely quickly, and that's all.

      They are neither "smart" or stupid. They are just machines that blithely follow instructions.

      ... i.e. they are stupid.

      --
      Ignore this signature. By order.
    7. Re:So? by stephanruby · · Score: 1

      May be they could replace our Slashdot editors instead?

  7. Hmm by parallel_prankster · · Score: 5, Funny

    So next time I itch it means the bacteria on my skin is trying to prove Fermat's last theorem ?

    1. Re:Hmm by laejoh · · Score: 2, Funny

      Thank $diety we're all slashdotters! The bacteria don't have to worry about skin being too narrow to contain.the truly marvellous proof!

    2. Re:Hmm by TempeTerra · · Score: 1

      ...I have discovered a truly marvellous proof of this, which this scrawny geek is too narrow to contain

      --
      .evom ton seod gis eht
    3. Re:Hmm by inamorty · · Score: 1

      Trust thrush.

    4. Re:Hmm by Anonymous Coward · · Score: 0

      So next time I itch it means the bacteria on my skin is trying to prove Fermat's last theorem ?

      Fermat's last theorem was actually proven in 1995, but your bacteria might of course not be aware of that and try to do it again ;)

  8. Wonderful! by Quothz · · Score: 2, Funny
    So does this mean we're gonna have to re-educate the public and explain that they really can catch an infection from a computer virus? It wasn't that long ago that we were patiently explaining why that wasn't a concern.

    Also, e. coli, really? I hope that, if this technology reaches the stage of commercial use, they've found something better. Or we're gonna hear a constant litany of people complaining that their computer is a piece of crap. It'll be worse than the "cat with a computer mouse" cartoons.* It will.

    *Which is why I'm making the joke early and beating the rush.

  9. A-choo! by flatulus · · Score: 4, Funny

    Aha!

  10. Not a puzzle by Anonymous Coward · · Score: 0

    Correction: Hamiltonian Path is *NOT* a puzzle. With the problem statement, you can find the way to solve it very quickly. The only problem is, your best guess at how to solve it will take very very large time to find the solution (in general).

    Puzzle is, when you have to think hard, how to solve it, no matter how long it takes.

    -I don't want to be Anonymous, but "Creating an Account" at 100 different site sucks!

  11. cue terminator joke in five, four, three... by Anonymous Coward · · Score: 2, Funny

    The (bacterial computing) Funding Bill is passed. The (colony) goes on-line August 4th, (2017). Human decisions are removed from strategic defense. (The colony) begins to learn at a (exponential) rate. (They) become self-aware at 2:14 a.m. Eastern time, August 29th. In a panic, (humans) try to (feed them antibiotics.)

    1. Re:cue terminator joke in five, four, three... by Anonymous Coward · · Score: 0

      BacNet strikes back.

  12. And we thought... by Antony-Kyre · · Score: 1

    licking keyboards were bad.

  13. Ebola solves..... by stox · · Score: 5, Funny

    the population problem.

    --
    "To those who are overly cautious, everything is impossible. "
    1. Re:Ebola solves..... by Kingrames · · Score: 1

      The three-body problem, as well.

      --
      If you can read this, I forgot to post anonymously.
  14. Bacteria Driven Computers? - Slant by Jack9 · · Score: 1

    Greg Bear wrote a book called Slant that I read in the late 90's, featuring a biologically driven computer that met the claims of this experiment. While the reality is far from "faster than silicon", sci-fi has the fantasy covered.

    --

    Often wrong but never in doubt.
    I am Jack9.
    Everyone knows me.
  15. Evolution? by Anonymous Coward · · Score: 0

    The problem should take care of itself. It seems like they have a disadvantage in terms of natural selection...

  16. From what I hear by MLS100 · · Score: 1, Funny

    The hardware is really buggy.

    *ducks*

  17. geez. by binaryseraph · · Score: 1

    Talk about a computer virus. Norton Utilities now offering penicillin

  18. But... by Brickwall · · Score: 0, Redundant

    .. does it run Linux?

    --
    What was once true, is no longer so
  19. this still does not prove p == np by dawilcox · · Score: 1

    You slashdot editors need to look up a bit of what has already been solved.... Soap can solve the Steiner problem. Soap, in water, acts as a surfactant, which decreases the surface tension of the water. This acts to minimize the surface energy of the liquid. This should minimize surface area (graph weight), and solve the problem. However, there is a problem with saying that P == NP because of this. Reducibility is the issue. If you can't reduce all problems in NP to this, you're sunk. The article doesn't provide such a reduction. Until such a reduction is presented, I'll remain skeptical that these alternative formulations of the problem are really solving anything interesting.

    1. Re:this still does not prove p == np by Anonymous Coward · · Score: 1, Insightful

      The reductions we already have work.

      But this still doesn't say anything about P or NP, because those are defined with Turing machines, not soap bubbles.

    2. Re:this still does not prove p == np by rjh · · Score: 3, Interesting

      Soap bubbles can be misled by local minima just like hill-walking algorithms. The problem with soap bubble computation is that when it hits a stable state -- how do you know it's stable? For all you know it's going to collapse further in a few seconds.

      Repeat after me: the "soap bubbles can solve the smallest surface problem" meme is wrong as a matter of physics, and wrong as a matter of computer science.

    3. Re:this still does not prove p == np by call+-151 · · Score: 1

      Absolutely- the soap film computers are comparable to effective heuristic algorithms for the Steiner tree problem, but they come with no proof that their solution is optimal. And there are examples where they are demonstrably incorrect (suboptimal in total length) some fraction of the time. There are plenty of quick algorithms for problems if you drop the requirement to be correct all of the time!

      Nevertheless, playing with soapfilms and pegs can be interesting and a good illustration of some of the subtleties of algorithms. I've seen decent examples in some museum exhibits although usually their explanations are a little off, and I have a pair of plastic plates with some pegs that a student built for me for demonstrating, years ago, which has been a nice thing to have from time to time.

      --
      It's psychosomatic. You need a lobotomy. I'll get a saw.
  20. Damn it :( by Anonymous Coward · · Score: 0

    As if we didn't have enough problems with viruses already, and now they're introducing bacteria...

  21. My Computer Died by okmijnuhb · · Score: 3, Funny

    Now when you say that your computer died, you may be speaking literally...

  22. Good news for stinky nerds by Myrcutio · · Score: 2, Funny

    So all that bacteria growing on those unhygienic D&D nerds is actually helping them with pathing, i knew they were cheating somehow, i could smell it...

    1. Re:Good news for stinky nerds by PPH · · Score: 1

      It gets worse. Right now, they won't allow calculators in math class. Soon, when you get caught blowing a booger and wiping it on the underside of your desk, you'll get accused of cheating.

      --
      Have gnu, will travel.
  23. It has always been the case by juanergie · · Score: 1

    Let us remember that the entire world was created from microscopic life forms, not by computers. The life forms learned from the environment and evolved in ways which even the most sophisticated computer would have an impossible time understanding. Let us remember that computers are, by a long shot, not the most efficient problem solvers. For instance, no computer can recognize patterns as well as a human being. The control system governing a hummingbird flight is way more advanced than that of the greatest and mightiest fighter airplane.

    Computers are not problem solvers - they merely automate repetitive procedures or, at best, algorithmically apply a set of rules to a given problem -- Nature has always been more potent than computers.

    I am impressed they can solve a simple problem with bacteria though. Maybe I should stop brushing my teeth and let the bacteria in my mouth say something intelligent.

    Peace.

    --
    Aeroespacio.org
    1. Re:It has always been the case by Sir_Lewk · · Score: 1

      Nature can only follow the laws of physics, which just so happen to be definable mathematically.

      Hypothetically, all of this universe could be a simulation, running on some sort of computer. http://en.wikipedia.org/wiki/Simulated_reality/ It's not something I personally subscribe to but I think that asserting some sort of fundemental divide between nature and math/computing is quite foolish.

      Also, please keep on brushing your teeth ;)

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
  24. Turing complete? by noppy · · Score: 2, Funny

    Lets hype over it when it can run Linux

    1. Re:Turing complete? by Anonymous Coward · · Score: 0

      Bacterium are the new Linux.

    2. Re:Turing complete? by troll8901 · · Score: 1

      Will Bacterix use GNOME, KDE, or another window manager?

  25. Hamiltonian path != traveling salesman by Hitokiri+Battousai · · Score: 3, Insightful

    TFA oversimplifies by claiming that finding a Hamiltonian path solves the traveling salesman problem of finding the shortest path. The traveling salesman problem deals with variable edge lengths instead of just finite/infinte, and therefore requires a bit more complex implementation to solve (although they are both still NP-complete).

    I would be more impressed if they found the shortest path on an undirected graph with variable length edges.

    1. Re:Hamiltonian path != traveling salesman by Anonymous Coward · · Score: 0

      Well, given that Hamiltonian Path is NP-Hard and TSP is in NP, we can deduce that there is a polynomial-time algorithm for TSP using this machine in conjunction with a Turing machine.

    2. Re:Hamiltonian path != traveling salesman by dido · · Score: 2, Informative

      Well, Since both the Hamilton path problem and the traveling salesman problem are NP-complete, there exists a polynomial time reduction of one problem into the other. So if you could solve the Hamilton path problem efficiently, and wanted to solve an instance of the traveling salesman problem (or the satisfiability problem, or the integer programming problem, or the partition problem, or whatever other NP-complete problem you might imagine), all you'd have to do is use the polynomial-time reduction to convert the source problem instance you wanted to solve into the equivalent Hamilton path problem, and apply the reduction in reverse on the answers to get the answers you wanted for the problem you wanted to solve.

      --
      Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
    3. Re:Hamiltonian path != traveling salesman by ispeters · · Score: 1

      I didn't RTFA, and the other comments in the discussion make me skeptical anyway, but your post seems to contradict itself. If the Traveling Salesman Problem is NP-complete (which I know to be true) and the Hamiltonian Path Problem is also NP-complete (which I assume is true from this discussion), then solving one problem is isomorphic to solving the other and a solution to either can be transformed into a solution to the other in polynomial time. If you'd be impressed "if they found the shortest path on an undirected graph with variable length edges", then you should be impressed with this, too (assuming they have found a solution as the summary indicates).

      Ian

    4. Re:Hamiltonian path != traveling salesman by Hitokiri+Battousai · · Score: 1

      You are indeed correct. I was more trying to point out that the implementation of each problem is going to be different, as one problem requires the consideration of a few more details than the other. And while it may be fairly trivial to use the solution of one problem to solve the other—as you describe—in the silicon world, it may not be so for their bacteria-computer. It could be a big headache to set up a bacteria-solver for a problem of much greater complexity, with the intention of interpreting the result and converting it into the solution of a different problem. Moreover, it remains to be seen whether it's even possible to set up their computer in such a fashion (they only used 3 nodes with the computation taking place in two bits of information: glowing red and glowing green).

  26. Biological computing not new by Anonymous Coward · · Score: 0

    Biology has been used on many occasions to solve computationally difficult problems, including cryptographic, NP, NP-Hard, and NP-Complete (Non-Deterministic Polynomial Complete). Fortunately, finding Slashdot on the internet only requires Dijkstras shortest path algorithm (a special bidirectional graph), with routers and routing tables as nodes (and great distances of fiber or cable as edges). Its neat to see how really low-level computational elements like bacteria can be used in a massively parallel way to solve these problems though.

  27. parallel computations only half the battle by caseih · · Score: 3, Insightful

    Hmm. Deja vu here. DNA was used to solve this exact problem:

    http://www.jyi.org/volumes/volume8/issue2/features/srivastava.html

    It should be noted, however, that even though the DNA would be able to compute the routes in a massively parallel fashion, you still would have to search all the solutions to identify the shortest one, so that kind of defeats the purpose of it. Unless the DNA or the bacteria could compute all the results _and_ identify the correct and optimal answer, then as far as we are concerned the problem is still gotta be close to NP complete (IE strands of DNA to check go up exponentially with problem size). Sounds like these bacteria change color, so maybe that helps reduce the size of the answer set.

    1. Re:parallel computations only half the battle by Atmchicago · · Score: 5, Interesting

      I'm one of the co-authors of the paper. Indeed, we were aware of what Adleman had done, and were partly inspired by his idea. However, his method required much more manual labor to do the computing, whereas once we have assembled our genetic sequences, we let the bacteria do the thinking.

      The color changes were used to identify those bacteria which found a solution. Ideally other selective markers would also work, such as antibiotic resistance. The big issue is that our system can yield false positives, so depending on your setup some manual checking is required.

      The Guardian article is rather misleading and inaccurate. We never had the intention of replacing your desktop PC, nor do we claim that our 3-node implementation is faster than a computer (in fact, someone spending 10 minutes or less can figure out a 3-node problem). I'm more excited about the proof-of-concept: we can encode a mathematical problem by using a molecule, hand it to a living organism, and get a correct output. The work was also done by undergraduate students in under a year. We presented our work at iGEM 2007, for those interested.

      Cheers,

      Andrew Martens

      --

      You can lead a horse to water, but you can't make it dissolve.

    2. Re:parallel computations only half the battle by juraj · · Score: 1

      As I wrote, it still does not solve the mass of DNA required to enumerate all solution. It should be however noted, that a good solution of this particular problem is important, because as it's NP-complete, all other NP problems could be solved with cca the same complexity.

      So this is a good problem, because it can be easily represented in DNA sequences and if solved, any NP algorithm could be solved using the machine solving this problem.

    3. Re:parallel computations only half the battle by Scythal · · Score: 1

      Deja vu?
      Not quite, they cite his paper in the references and acknowledge Adleman's work as "seminal" (pp. 4-5). But where he used PCR to replicate DNA fragments (where nucleotides coded for data of the mathematical problem instead of actual amino acids), they use a living organism - the E. coli bacteria.
      The problem they claim to solve is the Hamiltonian path problem, so I'm not sure what you mean by "identify the shortest one". But clearly they left the problem of false positives out for a later study. As they say, DNA sequencing could be acceptable given the low rate of false positives, you need to do it to read the solution anyway (but yes... at what cost?).

    4. Re:parallel computations only half the battle by Anonymous Coward · · Score: 1, Insightful

      Now I remember why I still read slashdot. Despite all the "frist post", "hot grits", "in soviet russia", "goatse" and whatever other random bollocks goes on here, you still get real geeks, making real news, posting real insightful comments.

      Thanks Andrew for taking the time to read and post here..

      It sounds like incredibly interesting work, particularly so for me as a software engineer with a wife who works in the biomed industry. Congrats on the paper!

      Also, with reference to the gp post, I thought that the previous (DNA) version of the algorithm was using something like gel electrophoresis to sort the resulting DNA fragments by size (making it relatively easy to find the shortest path).. ??

    5. Re:parallel computations only half the battle by caseih · · Score: 1

      Awesome to have you post this, Andrew. Actually I'm a bit embarrassed since I'm a typical ignorant slashdotter who only read the guardian summary article and not much of the paper itself--never expected to draw the attention of someone who actually knows what they are talking about, someone who was one of the original investigators!

      In response to another poster who raised an eyebrow at my phrase "deja vu" I really meant that this article and experiment reminded me of the previous DNA experiment, which of course you are already familiar with.

      Anyway, this line of research sounds intriguing. Cross-disciplinary research is always very interesting and novel. Keep up the good work.

    6. Re:parallel computations only half the battle by Anonymous Coward · · Score: 0

      Awesome work, buddy. I *do* understand how groundbreaking your work is. Cheers, and best of luck for the future - because this IS the future :)

    7. Re:parallel computations only half the battle by cffrost · · Score: 1

      You can lead a horse to water, but you can't make it dissolve.

      Have you tried increasing the water temperature?

      --
      Thank you, Edward Snowden.

      "Arguments from authority are worthless." —Carl Sagan
  28. I for one... by cigawoot · · Score: 0, Redundant

    I for one welcome our new Bacterial Overlords.

    1. Re:I for one... by maxwell+demon · · Score: 1

      Yes, but do they run Linux?

      --
      The Tao of math: The numbers you can count are not the real numbers.
  29. Wow by Anonymous Coward · · Score: 0

    This project started at Missouri Western State University. I'm a computer science student there. It's strange seeing some of my friends names linked to a ./ article. The project started as part of the University's "summer research" program. Where undergrads get to do some really cool research projects. I joined the economics team that made a crappy NWN mod to teach principles of economics. Great choice that was... they took their project to a competition called iGem and now their names are in a peer reviewed journal.

  30. Press Release? by Anonymous Coward · · Score: 0

    Any word from the bacteria yet?

    1. Re:Press Release? by shentino · · Score: 2, Funny

      "Moar protein plz!"

      -- E. Coli

  31. Lewis Hamiltonian path? by Anonymous Coward · · Score: 0

    Does this mean Lewis Hamilton is going to start winning F1 races again, now they've solved the problem of which route he should take?

  32. Bacteria doing math? by Quantos · · Score: 1

    Are they getting that hard up for grants? What is it, flagellate for a one, don't flagellate for a zero? Everybody get in line so we can read the binary?

    --
    Some people are only alive because it's against the law for me to hunt them down and kill them.
  33. One last math problem? by hwyhobo · · Score: 1

    Wait. E.coli? As in a Escherichia The Killer Diarrhea Coli? Millions and millions and millions of reproducing E.coli bacteria? Not on my desk, thank you very much.

    --
    End anonymous moderation and posting on /.
    1. Re:One last math problem? by maxwell+demon · · Score: 1

      Wait. E.coli? As in a Escherichia The Killer Diarrhea Coli? Millions and millions and millions of reproducing E.coli bacteria? Not on my desk, thank you very much.

      I've got bad news for you: You already have millions and millions and millions of reproducing E.coli bacteria in your colon.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    2. Re:One last math problem? by asdf7890 · · Score: 3, Informative

      E.coli his a very common bacterium with a large family of strains, only a few of which are particularly dangerous to a healthy human (and few more are harmful only to people who are in not-so-good good condition such as the elderly or people with serious illness particularly those with an immune system targeting disease or those weakened by chemotherapy).

      Get ready to panic: you almost certainly have a couple of strains of e.coli throughout your intestine right now. Everyone does. As do most warm-blooded animals. It really is that common and generally harmless.

      The strain you are presumably most concerned about, as it is one that has hit the headlines a number of times in the last decade or so, is O157:H7 which is a common agent in food poisoning outbreaks. 157/7 is a nasty bugger, and a hardy one too, but I doubt the researchers in this story are using it when there are so many much less troublesome varieties to play with.

      E.coli is often use in research like this because its genetics relatively simple and so it is relatively well understood, meaning it is more predictable so experiments are less likely to misfire in surprising ways. It is also comparatively stable (unlike some bacteria and other organisms that mutate every second sneeze). I very much doubt they are working with a strain that is in any way dangerous to a human, and E.coli is not transmitted by air so even if some of the cells in a bacterial computer mutate into a more deadly type they are not going to harm you unless you eat the thing directly or your food comes into contact with it.

    3. Re:One last math problem? by autophile · · Score: 1

      ... E.coli is not transmitted by air so even if some of the cells in a bacterial computer mutate into a more deadly type they are not going to harm you unless you eat the thing directly or your food comes into contact with it.

      So... no food allowed in the computer center. :(

      --
      Towards the Singularity.
  34. Genetic systems by Anonymous Coward · · Score: 0

    bacterial computing is a new way to address NP-complete problems using the inherent advantages of genetic systems

    With actual genes, no less.

  35. No, they are extremely efficient by Sycraft-fu · · Score: 1

    That doesn't mean they are good at everything, but at what they ARE good at, they are exceedingly efficient. Digital computers are extremely efficient at crunching numbers. At their core, that is ALL they do, and they do it really, really well. Not only are they very quick at it, but they do it right, and they can show you their work. What I mean is that given a set of inputs, the produce a reliable set of outputs. You can also trace through all intermediate steps and watch the state at every step. They are the ultimate devices for begin able to see how they "think" and for being able to reproduce results anywhere.

    Now this is particularly useful because these are things humans are NOT good at. Computers compliment humans well.

    Where they start to look inefficient, in a manner of thinking, is when you try to make them solve problems that aren't really in their domain. Things like "fuzzy logic" and so on. This isn't how they work, so it takes a lot of power to make them do it well. Good news is that because they are so fast, they've got lots of power to spare.

    Now as for systems like this bacterial one, one of the problems is that though they get the answer, they don't know it is the right one. They get multiple answers, humans then have to go an look at them and figure out which one is right. That doesn't help much. This is not the case for a digital computer, when you have a program that does what it is supposed to do, it arrives at the result and it can tell you that is the correct result.

    So unless a way is found to make these analog computers capable of analyzing their own results and getting the one correct answer, they are a novelty more than anything else. Most people don't have labs full of grad students to sift through the results.

    1. Re:No, they are extremely efficient by maxwell+demon · · Score: 1

      So unless a way is found to make these analog computers capable of analyzing their own results and getting the one correct answer, they are a novelty more than anything else. Most people don't have labs full of grad students to sift through the results.

      You clearly didn't RTFA. The bacteria do analyze their own result: Those with the correct solution glow yellow.

      --
      The Tao of math: The numbers you can count are not the real numbers.
  36. quantum computer by shentino · · Score: 1

    Could a quantum computer be used to solve this?

    1. Re:quantum computer by maxwell+demon · · Score: 1

      Since a quantum computer can solve everything a classical computer can, of course a quantum computer can solve it (provided you manage to build one, of course).
      However, the real question is: Can a quantum computer be used to solve it efficiently? Well, it's generally assumed that quantum computers cannot efficiently solve NP-complete problems (there's no proof, but then there's no proof for classical computers either).

      --
      The Tao of math: The numbers you can count are not the real numbers.
    2. Re:quantum computer by Anonymous Coward · · Score: 1, Interesting

      Not in polynomial time.
      It is conjectured that quantum computers can't solve NP-complete problems in polynomial time.

  37. Support Bacteria! by naz404 · · Score: 1

    Support Bacteria! It's the only culture some people have!

  38. Count the mass of DNA! by juraj · · Score: 1

    This is not that important as it sounds. It would not be able to solve NP-complete problems for large inputs, because it enumerates all possibilities in DNA base-pair combinations. This has actually been done before with pure DNA and their manipulation (now they use bacteria for color-marking and thus selection of the right solution's DNA sequence).

    Anyways, this does not scale well, having only a few hundred cities would require DNA, that would weight cca the mass of our earth.

    So this result is nice as a genetic manipulation excercise, I like that they contribute to the "standard biological components database", but it has no implication for computational complexity.

    And it won't solve complex problems better than sillicon, because instead of time, you need mass. There's simply not enough material and space on this small planet for DNA solution of hamiltonian path for >500 cities.

  39. I Thought... by d'baba · · Score: 1

    Willy Loman solved this problem years ago.
    ---
    Free The Mouse

  40. Science Marches On by hyades1 · · Score: 1

    So now a dose of clap is better at math than the hooker that gave it to me. Or me, for that matter. Now I feel REALLY pathetic.

    --
    I've calculated my velocity with such exquisite precision that I have no idea where I am.
  41. A use for keyboard crumbs after all by cheros · · Score: 1

    OK, so if I translate this correctly I may actually be typing on the most powerful part of my PC?

    Thank God they didn't base this on swine flu - it's going at a rate as it is .. :-)

    --
    Insert .sig here. Send no money now. Owner may sue, contents will settle. Batteries not included.
  42. Where is PETA on this? by EmagGeek · · Score: 1

    PETA already objects to using bacteria to clean up oil spills... what do they think about using bacteria to do math?

  43. This is incredibly underwhelming by xZgf6xHx2uhoAj9D · · Score: 2, Insightful

    Len Adleman did a more impressive DNA computing experiment way back in 1994. Since then Adleman has stated that DNA computing is a dead end until someone comes up with a huge breakthrough. Well...it would be a huge understatement to say that this E. Coli experiment isn't a breakthrough.

  44. Meh. by tenco · · Score: 1

    And i thought this had something to do with the Hamiltonian Principle. Turns out it's only CS.

  45. Hex, is that you? by Acer500 · · Score: 1

    Once again, life imitating art: http://en.wikipedia.org/wiki/Hex_(Discworld)

    --
    There are three kinds of lies: lies, damned lies, and statistics.
  46. Cool, but not useful by EdMcMan · · Score: 1

    First, this is pretty cool. Enough said about that.

    Unfortunately, I don't think this will be useful for solving NP-complete problems. For those of you who don't know much about algorithms, NP-complete problems are hard to solve because they become much harder as you make the problem "bigger". It is perfectly possible for problems to be solvable in a reasonable amount of time for small problem sizes, like n=3 that the authors of this article solved.

    The paper explains that because bacteria can multiply exponentially, they can multiply until they have enough nodes to solve the problem. Well, there's a problem with that thinking. Bacteria, like computers, need resources. Presumably, if you double the bacteria's food/resources, you will not find an exponential growth in the number of bacteria that can be sustained. If this is true, then there is certainly a problem size that will make using bacteria intractable, which negates the benefits of using bacteria.

  47. My gut tells me... by Thad+Zurich · · Score: 1

    ... this could be the Next Big Thing, or a fart in the wind...

    1. Re:My gut tells me... by Anonymous Coward · · Score: 0

      That's what SHE said!

  48. Sorry, no. by Anonymous Coward · · Score: 0

    There are already polynomial algorithms that can solve NP-hard problems to within x% of the optimal solution, where the polynomial time depends on x. Using analog solutions to NP-hard problems is the same thing; let them run for long enough and you can be pretty sure that the solution is within y% of optimal.

  49. Can a bacterial computer ... by PPH · · Score: 1

    ... be used to download p0rn? Just asking.

    On second thought ..... Eeewwww!! That would be pretty nasty looking p0rn.

    --
    Have gnu, will travel.
  50. Well... by Anonymous Coward · · Score: 0

    Traveling salesman complicates the swine flu problem.

  51. One thing is that your computer can infect you by Sjefsmurf · · Score: 1

    Much more annoying is the fact that you will start flashing once the infection finds the answer!

  52. The Irony of It All by wahini · · Score: 1

    Keyboards are supposed to have more bacteria than a toilet seat. That means every time I start typing a program I have destroyed the solution to one of life's great problems. My keyboard solves problems I couldn't possibly program solutions too!!

    I guess I should just retire and each day take a picture of my keyboard to save the current solution to a problem, then piss on it to erase the current solution and start the new program running. I guess if it is not to complex a problem, I can take a picture of my toilet seat to solve it.

    Currently, the bacteria on my keyboard has the solution "42", but I don't know what the question is??? Oh piss on it.

  53. First bacterial computer virus? by dontmakemethink · · Score: 1

    Careful not to infect the bacterial brains with his STD's!

    --

    War as we knew it was obsolete
    Nothing could beat complete denial
    - Emily Haines
  54. Life, the Universe, and Everything? by JSBiff · · Score: 1

    Am I the only one who thought of Douglass Adams' Life, The Universe, and Everything when reading this article?

    For those few of you wondering what I'm talking about, this is one of the books in the Hitchhiker's Guide to the Galaxy series, and in it, it is revealed to us that the entire planet earth and all life on it was constructed as a large biological computer to find the right question which would make sense of the answer (which we're already given: 42) to the question of Life, the Universe, and Everything.

  55. JOHN CONNOR by Anonymous Coward · · Score: 0

    Anyone heard of SkyNet?