Slashdot Mirror


Bees Beat Machines At 'Traveling Salesman' Problem

eldavojohn writes "Recent research on bumble bees has proven that the tiny bee is better than computers at the traveling salesman problem. As bees visit flowers to collect nectar and pollen they discover other flowers en route in the wrong order. But they still manage to quickly learn and fly the optimally shortest path between flowers. Such a problem is NP-Hard and keeps our best machines thinking for days searching for a solution but researchers are quite interested how such a tiny insect can figure it out on the fly — especially given how important this problem is to networks and transportation. A testament to the power of even the smallest batch of neurons or simply evidence our algorithms need work?"

394 comments

  1. great... by MagicMerlin · · Score: 5, Funny

    now you get a faster computer that makes honey!

    1. Re:great... by Anonymous Coward · · Score: 5, Funny

      No, you get a beeowulf cluster.

    2. Re:great... by Canazza · · Score: 1

      It's not Travelling Salesman either, It's BeeFS

      --
      It pays to be obvious, especially if you have a reputation for being subtle.
    3. Re:great... by gestalt_n_pepper · · Score: 1

      Sweet!

      --
      Please do not read this sig. Thank you.
    4. Re:great... by idontgno · · Score: 4, Funny

      Alas, it doesn't run Linux.

      It run BEE-Os.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    5. Re:great... by Toze · · Score: 5, Informative

      "Beowulf" is a kenning, a poetic analogy in Old English. It already means bee-wolf, a sort of pun for bear, which is what the name translates to in modern English.

      --
      No OS on the planet can protect itself from a user with the admin password. - Yvan256
    6. Re:great... by interkin3tic · · Score: 2, Funny

      Either way, this problem sounds like it will keep computers buzzy.

    7. Re:great... by Anonymous Coward · · Score: 0

      sick sick sick .. but awesome

    8. Re:great... by somersault · · Score: 2, Funny

      Just imagine what we could have accomplished in computing if we'd stuck with B instead of moving on to C!

      --
      which is totally what she said
    9. Re:great... by Anonymous Coward · · Score: 0

      Fascinating, really fascinating!

      No, really, I mean it!

    10. Re:great... by MrEricSir · · Score: 3, Funny

      I always knew BeOS was underrated.

      --
      There's no -1 for "I don't get it."
    11. Re:great... by RDW · · Score: 4, Funny

      Strangely enough, we also had a problem with a travelling salesman in my community, and we successfully used bees to deal with it:

      http://www.youtube.com/watch?v=-1GadTfGFvU

    12. Re:great... by mewyn · · Score: 2, Funny

      http://imgur.com/xhAvC - yeah, systems programming at 6AM can get kinda whacky.

    13. Re:great... by Chris+Burke · · Score: 2, Funny

      Huh, I didn't know that.

      So if a "bee-wolf" upgrades the wolf to a bear, would a "bee-bear" (beobeowulf I guess?) turn it into a Tyranosaurus? Or a raptor with an RPG riding a shark?

      --

      The enemies of Democracy are
    14. Re:great... by uninformedLuddite · · Score: 1

      don't forget the jelly!

      --
      The new right fascists are bilingual. They speak English and Bullshit.
    15. Re:great... by Anonymous Coward · · Score: 0

      Or a raptor with an RPG riding a shark?

      That's beobeobeobeobeobeobeobeobeobeobeobeobeobeobeobeobeobeobeobeobeobeobeowulf.

    16. Re:great... by g253 · · Score: 1

      +1 refreshingly appropriate use of tied old meme

  2. Bees have a guide by Anonymous Coward · · Score: 2, Interesting

    After the genetic vector is put in, all the bees have to do is keep track of the sun. What amazes me though is how they look at another bee and visualize it traveling to a set patch of flowers, by looking at its dance.

    1. Re:Bees have a guide by NatasRevol · · Score: 2, Insightful

      So, you're arguing it's the algorithm that's wrong and not a better set of neurons.

      --
      There are two types of people in the world: Those who crave closure
    2. Re:Bees have a guide by cindyann · · Score: 5, Informative

      What amazes me though is how they look at another bee and visualize it traveling to a set patch of flowers, by looking at its dance.

      Are we discussing bumble bees or honey bees? The summary says bumble bees.

      http://www.earthlife.net/insects/socbees.html states that bumble bees "...have not evolved any means of communicating information reguarding utilisable resources."

    3. Re:Bees have a guide by pheonix7117 · · Score: 1

      "...have not evolved any means of communicating information regarding utilisable resources."

      You know, I was going to fix that for you, but then I realized the source site was the true culprit, so instead I'll direct this towards the website:

      Fixed that for you.

    4. Re:Bees have a guide by cindyann · · Score: 1

      Didn't even notice that when I c-and-p'ed it.

      Just goes to show what a crutch spell-check is.

    5. Re:Bees have a guide by Anonymous Coward · · Score: 0

      have not evolved any means of communicating information reguarding utilisable resources

      No but they have evolved the ability to fucking spell "regarding". Stupid, lazy, or apathetic - which is it?

    6. Re:Bees have a guide by geekoid · · Score: 1

      Humans can solve the problem as well. All this shows is that a computer is not a brain. I'm shocked I tell you, simply shocked.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  3. Wait, whut? by MyLongNickName · · Score: 3, Funny

    quite interested how such a tiny insect can figure it out on the fly

    I thought we were talking about bees? I am so confused...

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    1. Re:Wait, whut? by fractoid · · Score: 5, Funny

      Oh, beehave.

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    2. Re:Wait, whut? by The+Archon+V2.0 · · Score: 1

      Oh, beehave.

      Thet's whare bies go efter vesiting tha fluwers?

    3. Re:Wait, whut? by fractoid · · Score: 1

      No, that'd be Hive. ;)

      --
      Rampant carbon sequestration destroyed the Dinosaurs' tropical paradise. I'm here to help repair the damage.
    4. Re:Wait, whut? by Monkeedude1212 · · Score: 2, Funny

      Looks like bees are the new buzzword.

    5. Re:Wait, whut? by Surt · · Score: 1

      That's because you're not as smart as the bumblebee, which can solve TSP while having inter-species sex.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
  4. Not for long... by colmore · · Score: 1

    Hah! They may be on top now, but thanks to CCD we won't have to be #2 for long. Goooooooooo humans!

    --
    In Capitalist America, bank robs you!
  5. Evidence by DarkKnightRadick · · Score: 0, Flamebait

    Simply evidence that our algorithms need work. God has worked out these issues long before we even thought of them. (:

    --
    "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    1. Re:Evidence by pitdingo · · Score: 3, Insightful

      who/what is god?

    2. Re:Evidence by revlayle · · Score: 1

      Kirk says he need a spaceship... also, I have no idea what this has to do with bees

    3. Re:Evidence by tverbeek · · Score: 5, Funny

      It's an abbreviation for Good Old Darwinism.

      --
      http://alternatives.rzero.com/
    4. Re:Evidence by Anonymous Coward · · Score: 1, Funny

      God has worked out these issues long before we even thought of them.

      You know he doesn't like to be called that.

    5. Re:Evidence by WrongSizeGlass · · Score: 1

      who/what is god?

      I think it's one of the security modes in Linux ... I know one of the user modes in Windows is called "damn!".

    6. Re:Evidence by Anonymous Coward · · Score: 4, Funny

      Thereby substituting one guy with a beard who must be worshipped for another.

    7. Re:Evidence by Anonymous Coward · · Score: 0

      Nooo, I don't require that you worship me. I only suggest that you observe some of my ideas, and think about how they might affect you and/or your offspring. No worship. I'm only to happy to be of assistance as mankind advances. Now, I strongly suggest that you get off your ass and develop a star drive, and get all your dead asses off this stupid rock. If you were really fit to survive, you'd realize that having all your eggs in one basket is a bad idea. Charles Darwin

    8. Re:Evidence by MrEricSir · · Score: 1, Insightful

      Sorry, I already substituted God for a different beard guy, Richard Stallman.

      --
      There's no -1 for "I don't get it."
    9. Re:Evidence by RollingThunder · · Score: 4, Insightful

      You mean millions of iterations of random chance have selected the most efficient pollen-gatherers.

    10. Re:Evidence by cindyann · · Score: 0, Offtopic

      Further proof of what I've suspected all along---

      Linux is, in fact, a religion.

    11. Re:Evidence by Rakshasa+Taisab · · Score: 4, Insightful

      Anyone who thinks the bees solved NP-hard problem here does not know what they're talking about...

      Those bees did not do an exhaustive search for the optimal path, only one that is 'good enough'. Computers can do the same with any decent algorithm. Only difference here i assume is that the bees have hardware that has gone through natural selection to produce a pretty good 'best effort' algorithm.

      If those bees can produce the optimal path for all corner-case setups then I'll be rather impressed.

      --
      - These characters were randomly selected.
    12. Re:Evidence by Maxo-Texas · · Score: 1

      Did the giant gorilla lesbian look out from her mountain beyond the horizon and create perfect bees to begin with a million years ago? Or have a million years of natural selection culled the perfect algorithm by providing a reproductive advantage?

      If it was the G-L, then how did the bees remain unchanged when so many other species have changed and when we observe natural selection every day.

      I can see why G-L let's humans die i such terrible ways tho. She favors animals over man.

      --
      She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
    13. Re:Evidence by DarkKnightRadick · · Score: 0

      I imagine they already have, given how important they are to the continued survival of most plants.

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    14. Re:Evidence by Maxo-Texas · · Score: 1

      It's just goofy thinking that even over a million years, slight advantages in reproduction would make any difference.

      Besides, the world was created last tuesday with everything in place as it is anyway. Some folks just talk crazy with this natural selection and evolution stuff. But since G-L created them this way last week, you have to assume it was for a purpose. Probably to test us.

      --
      She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
    15. Re:Evidence by MrEricSir · · Score: 1

      That's GNU/Linux to you!

      --
      There's no -1 for "I don't get it."
    16. Re:Evidence by Anonymous Coward · · Score: 0

      Faith, have a little faith will ya?

    17. Re:Evidence by operagost · · Score: 4, Funny

      I think Slashdot needs a "+1, Atheist" now.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    18. Re:Evidence by Jedi+Alec · · Score: 5, Insightful

      Question is...did the bees evolve to find the corner cases, or did the plants evolve so the damn bees could find them in the first place? After all, plants that are stupid enough to hide from bees while simultaneously needing them to reproduce would stand a good chance of not making it to the next generation ;-)

      --

      People replying to my sig annoy me. That's why I change it all the time.
    19. Re:Evidence by operagost · · Score: 1

      Exactly what straw-man are you arguing against, then?

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    20. Re:Evidence by BobMcD · · Score: 3, Interesting

      Those bees did not do an exhaustive search for the optimal path, only one that is 'good enough'.

      How do you know this? I'm not seeing that stated in the article. In fact,

      Scientists at Queen Mary, University of London and Royal Holloway, University of London have discovered that bees learn to fly the shortest possible route between flowers even if they discover the flowers in a different order.

      This seems to directly contradict what you're saying, so I'll assume you have access to more information and will be linking likewise shortly...

    21. Re:Evidence by GNUALMAFUERTE · · Score: 0, Flamebait

      Impossible, because there are no gods. Although, in your defense, we did invent god before we wrote the first algorithm. Once we reached the point in evolution where we could formally express an algorithm, god already sounded like a ridiculous idea to us. Only very primitive minds, like yours, can believe in such a ridiculous idea.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    22. Re:Evidence by GNUALMAFUERTE · · Score: 1

      That's a fucking awesome idea.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    23. Re:Evidence by lysdexia · · Score: 1

      . . .and can you have it bring me a chicken sandwich?

    24. Re:Evidence by blair1q · · Score: 3, Insightful

      That's a simple way of saying that evolution created a program in their brains that solves the TSP fairly efficiently under certain constraints.

    25. Re:Evidence by Locke2005 · · Score: 1

      I always thought it was an abbreviation of Game Overall Director...

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    26. Re:Evidence by Maxo-Texas · · Score: 1

      Hmm.. The idea that a mystical beeing hand crafted bees to bee efficient? The need for a supernatural strawman to explain things when we have perfectly good, rational explanations which do not need a G-L to explain why bees are efficient at collecting pollen?

      --
      She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
    27. Re:Evidence by Unequivocal · · Score: 2, Insightful

      Thanks - this is what I was thinking too. It seems like the hard part of TSP is to *prove* that the shortest solution is in fact shortest. I think it's relatively trivial to find a very short solution to the problem (even by hand for a reasonable # of nodes). Demonstrating that the proposed path is in fact the absolute best is where the headaches (NP time) come in?

    28. Re:Evidence by Shompol · · Score: 1

      He created us last Tuesday and then implanted false memories, so we would imagine have existed for the past 6000 years!
      I think you are onto something here.

    29. Re:Evidence by Surt · · Score: 1

      The critically missing corner case is that TSP is not typically a fully connected graph, whereas the open air typically is.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    30. Re:Evidence by Creedo · · Score: 1

      I'm a GNU-atheist.

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    31. Re:Evidence by Creedo · · Score: 1

      You can't even spell "atheism" correctly?

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    32. Re:Evidence by poopdeville · · Score: 1

      Anyone who thinks the bees solved NP-hard problem here does not know what they're talking about...

      Those bees did not do an exhaustive search for the optimal path, only one that is 'good enough'. Computers can do the same with any decent algorithm.

      Solving an NP-hard problem does not mean you do an exhaustive search. In fact, exhaustive searches are rather the bane of NP hard problems. If you could solve an NP hard problem without an exhaustive search, it would be strong evidence that P = NP.

      Solving an NP hard problem means you always find the optimal solution. If the bees' "good enough" solution is optimal, they have solved it.

      --
      After all, I am strangely colored.
    33. Re:Evidence by poopdeville · · Score: 1

      It's not a "missing case". The TSP just says to visit each of the nodes, in a Hamiltonian circuit. They are always connected graphs.

      --
      After all, I am strangely colored.
    34. Re:Evidence by tverbeek · · Score: 1

      Not "Darwin"... "Darwinism".

      Darwinism is not the worship of a guy called Darwin, but a scientific principle named after a guy called Darwin.

      I would have said "Good Old Natural Selection", but that wouldn't have spelled "GOD", so it wouldn't have been funny.

      --
      http://alternatives.rzero.com/
    35. Re:Evidence by m2shariy · · Score: 2, Funny

      Game Over, Dude!

    36. Re:Evidence by mopower70 · · Score: 1

      This seems to directly contradict what you're saying, so I'll assume you have access to more information and will be linking likewise shortly...

      You must be new here ;)

    37. Re:Evidence by agbinfo · · Score: 2, Funny

      Is that similar to an aGNUstic?

    38. Re:Evidence by scot4875 · · Score: 1

      This is the second time you've corrected someone with your misunderstanding.

      Over air, every node is connected, directly, to every other node. This is a much easier case to solve than a typical TSP where to get from node A to node C, you may have to go through node B .

      --Jeremy

      --
      Jesus was a liberal
    39. Re:Evidence by grolschie · · Score: 1

      ...or did the plants evolve so the...

      Huh? Plants can choose how they evolve?

    40. Re:Evidence by davev2.0 · · Score: 1

      But, judging from your other post, you don't believe that. You believe they were magically programmed by an invisible man in the sky for which there is no proof.

    41. Re:Evidence by Anonymous Coward · · Score: 0

      I don't understand why you think the GP implied that.

    42. Re:Evidence by Chris+Burke · · Score: 1

      "The plants evolved so bees could find them" does not imply intent or decision. It simply means it happened, and pollination by bees, and thus the need for the bees to find them, was the selective pressure that drove the evolution. Similarly, "giraffes evolved to graze from trees other animals couldn't" doesn't mean giraffes were looking longingly at the high up branches and wishing they had long necks. It means that's how they adapted to competition via natural selection.

      Similarly, statements like "Bee eyes are designed to see UV wavelengths that flowers reflect strongly in" does not imply a "designer", bee, alien, or god, actually designed their eyes. Their eyes have a design, and it has an apparent purpose.

      Sometimes words have implications in common English that do not apply to all situations.

      --

      The enemies of Democracy are
    43. Re:Evidence by Chris+Burke · · Score: 1

      No, that's simply not true. The basic form of the TSP consists of a fully connected graph of cities, i.e. you can get from any city directly to any other city.

      The non-fully-connected graph is a special case of TSP, and it is these cases that may end up simpler to solve (though often not, other than not being fully connected means there are fewer possible routes to check for the same number of cities).

      --

      The enemies of Democracy are
    44. Re:Evidence by Chris+Burke · · Score: 1

      Whether or not it "typically" is fully connected, the standard form wherein it is proven to be NP-hard is fully connected. It is not any easier to solve in that special case; in general it is harder. Any non-fully connected form can be converted to fully connected form by adding in the necessary connections with arbitrarily large lengths.

      --

      The enemies of Democracy are
    45. Re:Evidence by DarkKnightRadick · · Score: 0

      And you believe that by random chance we all evolved from goop, for which there is no evidence.

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    46. Re:Evidence by Scooter · · Score: 1

      I'm not sure if you mentioned "God" there in jest, or if you are a real believer. If you are, I'd like to know how you reconcile your sig. "Whoever loves instruction loves knowledge, But he who hates correction is stupid." with a blind belief in a doctrine (the whole divine creator thing) that has been "corrected" many times as we've discovered more about the universe. Faith abhors correction - you must believe - despite any evidence to the contrary, in whatever it tells you surely.

      If you were joking, and your sig is aimed at pointing this out to the faith guys - please accept my apologies for being a bit slow on the uptake. I don't have the answers around how the bees do this, but that doesn't mean the answer is automatically "There's a god, and he/she/it did it".

      Cheers,

      Scoot.

    47. Re:Evidence by Anonymous Coward · · Score: 0

      How do you know this?

      If the bees always found the optimal route, then they are solving an NP-complete problem. Since all NP-complete problems are equivalent, this means we can use bees to solve any NP-complete problem efficiently. Do you seriously think that the secret to unleashing vast computational efficiency, absolutely transforming the scope of computational problems that humanity can deal with, involves bee hives?

      Far more likely, the bees just get a "good enough" solution.

    48. Re:Evidence by Scooter · · Score: 1

      "He gives proof". As the whole problem with the belief in god or gods is the lack of any proof, I think we'd all be grateful if you could point us at this proof. It would certainly save a lot of debate!

      Your sig. "Athiesm is a religion like not collecting stamps is a hobby." In the words of Doctor Leonard McCoy "I think that's my line". Seriously: Isn't this one for the non-believers? It's a great summary of the way I feel about the term "atheist", which means a non-believer in the whole god thing. I don't believe there is any sort of creator or god, however I fail to see why that should define me as a person. I don't, for example believe refrigerators can be used to transform lead into gold, but I don't go around saying I'm an a-refrigoalchemist either. In fact there's a whole bunch of nonsense I don't believe. I'm a normal guy. It's the people who believe in the whacky stuff with no evidence that need the labels (if only so I can see em coming :P)

      Cheers,

      Scoot.

    49. Re:Evidence by DarkKnightRadick · · Score: 1

      A real believer and God has never been proven to not exist. Everyday we see evidence that He does.

      The evolutionist view is fairly flawed. The biggest thing they cannot explain is the gaps in the fossil records between those found in the fossil record.

      One of the arguments hinted at was that God somehow deceived us into believing that was millions of years old or whatever and that's pure hogwash, too. There is no deception on the part of God.

      There is, however, great flaws in human methods, huge assumptions in our dating methods (such as the rate of decay being constant (it isn't and is effected by stellar phenomenon), the amount of any particular element being used to make the measurement being constant even though no one witnessed it's deposit, only that there is some of it there along with some of the element it decays into, etc.), and huge assumptions in any number of subjects that just don't add up.

      Yet there is every evidence that a just and loving God does exist. Someone mentioned the Lovecraftian resemblance that Revelation takes on, with it's lake of fire (not blood, and definitely deeper than 6').

      They guffaw at God, and any hand He may have had in our creation, by pointing to our current state yet fail to take into account the affect that the corruption of sin has had on us humans as well as the rest of creation.

      You may find the idea of God to be foreign and simple-minded (as many on Slashdot apparently do), and that perhaps my sig is some sort of inside joke.

      I assure it is not a joke, inside or otherwise. The Bible is the inerrant word of God (2 Timothy 3:16-17). Of that there is no doubt (at least to me). There is also no doubt in my mind to the limitless nature of hubris that humans have built up over the years.

      I also generally don't respond because it's not a head-to-head battle, but a heart-to-heart. Either you will respond to the callings of the Spirit and repent, or you'll die and go to hell. I pray it's the former, but in the end God is the ultimate judge over all. (:

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    50. Re:Evidence by Creedo · · Score: 1

      Wait, I think I may be an "a-refrigoalchemist" as well!

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    51. Re:Evidence by Creedo · · Score: 1

      And you believe that by random chance we all evolved from goop, for which there is no evidence.

      Natural selection is non-random process. Only the input(varying genetic structures) is random. Thus, the result is non-random. Your statement reveals a severe lack of understanding. I suggest that, if you are truly interested in learning, you remedy this deficiency. Of course, if your goal is to shelter the particular brand of insipid delusion called "faith," then you are probably not inclined to actually study this area.

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    52. Re:Evidence by wierd_w · · Score: 1

      No, the aGNUstic does not know for sure if GNU really is or is not Unix.

      Common mistake. ;)

    53. Re:Evidence by Anonymous Coward · · Score: 0

      It's worth researching at least. It's worthwhile, if only because of possible gains in things like genetic algorithms, etc.

    54. Re:Evidence by wierd_w · · Score: 1

      I think it requires further analysis.

      Simply because human brains do not seem to make use of quantum relativistic effects (like entanglement) due to their size, does not mean that a 15 neuron setup with strong evolutionary pressure to do more with less cannot not do so. Many distantly related species make use of "exotic" bochemistries- Photosyhnthesis makes use of entanglement to help direct photonic energy through the molecule, for instance. (look it up!)

      Considering the highly specific evolutionary niche that bumblebees inhabit, (VS the hyper-generalized niche that humans inhabit) it is not that unreasonable to assume that they have evolved dedicated processes to solving this problem as efficiently as possible.

      Further analysis needs to be conducted to determine just how efficiently they have been able to satisfy this requirement, and if it can be adapted for human use via computing technology.

      Outright refusal without due dilligence is outright hubris.

    55. Re:Evidence by Creedo · · Score: 1

      I missed an article. Natural selection is a non-random process.

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    56. Re:Evidence by DarkKnightRadick · · Score: 0

      For there to be natural selection, there has to be life. Life does not come from non-life.

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    57. Re:Evidence by telomerewhythere · · Score: 1

      Bees and angiosperms are coeval. Just in case you wanted to know. ~100 million years old.

    58. Re:Evidence by theskipper · · Score: 1

      Well said. I strongly suspect that is what confuses the anti-evolution folks the most, not because of religious doctrine. Analyzing topics like this requires true observation without *any* type of invisible hand. Then rational thought can flourish.

      But for most people it's almost impossible to remove intent because of their worldview through life-long, every day conditioning. They interact with human endeavors constantly like buildings, computers and airplanes. All constructed from preprocessed materials all laid out on a blueprint.

      Then they "intuitively" conclude that life must be the same way; with ultimate intent. It truly is difficult to imagine complex systems assembled without a blueprint. Much less by what works best through adaptation and time, started by random molecular combinations. But of course we now know that's exactly what it was.

      Not much different than the flat-earthers but there's hope. It just took a long time for the reality to sink in, thereby changing the mindset.

    59. Re:Evidence by Neil+Boekend · · Score: 1

      who/what is god?

      He is a /. admin

      --
      Well, I might have a way, but it only works on a semi spherical planet in a vacuum.
    60. Re:Evidence by Anonymous Coward · · Score: 0

      Sorry, I already substituted God for a different beard guy, Richard Stallman.

      As did Stallman himself.

    61. Re:Evidence by drinkypoo · · Score: 2, Insightful

      What Slashdot needs is a write-in moderation option so you can moderate (-1, Wrong) or (+1, Fucking Awesome).

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    62. Re:Evidence by Creedo · · Score: 1

      For there to be natural selection, there has to be life. Life does not come from non-life.

      Life is not some magical property bestowed upon unliving matter. It is, at root, a chemical reaction. The entire history of life is that of a chemical reaction which started almost 3 billion years ago, and continues today in much greater sophistication due to the operation of natural selection. Calling some collection of molecules "alive" is simply shorthand for recognizing a group of molecules undergoing this chemical process.

      Natural selection will kick in automatically as soon as you have replication and a gradient of fitness. It has been proven time and again that replicating agents will spontaneously assemble in nature, and once such agents are in existence, what we call life is all but inevitable. Appeals to some anthropomorphic deity are quite unneeded to explain life, and in my view, childish in the extreme.

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    63. Re:Evidence by davev2.0 · · Score: 1

      I have literally tons of scientific evidence that says we evolved via natural selection, which is not a random process, and that life arose by non-mystical means.

      What do you have besides a self-contradictory book of bronze-age myths?

    64. Re:Evidence by Maxo-Texas · · Score: 1

      Cool!

      Tho even 10,000 years is said to be enough to evolve a mouse into an elephant sized creature given the right pressures, a hundred million years is such a long period it is difficult for the mind to conceive.

      --
      She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
    65. Re:Evidence by geekoid · · Score: 1

      Works out pretty good. I find it ironic that you hate factual correction.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    66. Re:Evidence by geekoid · · Score: 1

      Maybe, we don't know if that was the pressure the caused the giraffes to evolve long necks, or a frindly byproduct of the long neck.

      Humans can play the piano, that doesn't mean we evolved to play the piano.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    67. Re:Evidence by Chris+Burke · · Score: 1

      There's no "maybe" that that's what the statement means, and that it does not imply intent. :)

      As to whether it's true, it's a fair observation that we don't really know. However since the long necks provide no clear advantages other than reach, and provide many downsides that required significant other evolutionary adaptations to support (implying adaptations to support a long neck were selected for, vs not having a long neck), I think it's probably safe to say that while it may not have started as a food-reaching adaptation, that quickly became the dominant selective pressure.

      And if you replay "playing the piano" with the general "using tools", then I'd say we absolutely evolved in order to do just that. :)

      --

      The enemies of Democracy are
    68. Re:Evidence by DarkKnightRadick · · Score: 1

      I don't hate factual correction.

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    69. Re:Evidence by DarkKnightRadick · · Score: 0

      A chemical process that has not been proven to happen anywhere else not only in our own solar system, but in the entire visible universe. If the chances for life are that slim, seems like we either lucked out on the lottery or we were created.

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    70. Re:Evidence by DarkKnightRadick · · Score: 1

      For life to have arisen by non-mystical means, it would have had to come about by complete and utter random chance.

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    71. Re:Evidence by davev2.0 · · Score: 1

      Or, chemistry. Perhaps you should try keeping abreast of science.

    72. Re:Evidence by Creedo · · Score: 1

      A chemical process that has not been proven to happen anywhere else not only in our own solar system, but in the entire visible universe. If the chances for life are that slim, seems like we either lucked out on the lottery or we were created.

      You argument holds no water.

      1. We have barely begun to explore this solar system, and will not be in a position to study the larger universe in any great detail for many years, if ever. It has only been recently possible to detect extrasolar planets, let alone determine their atmospheric composition. The fact that we have not found an example of extraterrestrial life is meaningless in that context. However, even within this extremely limited context, we have found organic molecules being formed(such as on Titan). This proves that the requisite organic compounds can exist elsewhere.

      2. The fact that this chemistry has been proven to work here is sufficient to prove the case. There is nothing magical about the physics of the Earth as compared to the rest of the universe, regardless of what your adherence to a Bronze Age mythology might lead you to believe.

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    73. Re:Evidence by DarkKnightRadick · · Score: 0

      Sure, chemistry no one has been able to reproduce in the lab under any circumstances.

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    74. Re:Evidence by Creedo · · Score: 2, Insightful

      Sure, chemistry no one has been able to reproduce in the lab under any circumstances.

      No, it's based on basic biochemical reactions which are demonstrated on a daily basis in any number of labs. Are you completely ignorant of that field, and simply repeating dogmatic statements with no correlation to reality?

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    75. Re:Evidence by DarkKnightRadick · · Score: 0

      Actually no, I'm not. I'm also fully aware that no scientist (or group of scientists) have been able to get non-living matter to start doing the chemical reactions needed to create organic life from the chemical soup.

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    76. Re:Evidence by davev2.0 · · Score: 1

      As opposed to a mythical, mystic being for whom there is no evidence, right?

      But, wait, the chemistry is being reproduced in the lab.

      So, there is evidence for abiogenesis with experiments that are duplicating the chemistry. Where is the evidence of your invisible man in the sky? Where is your evidence that some god created the universe and/or Terra and/or life?

    77. Re:Evidence by Creedo · · Score: 1

      Actually no, I'm not.

      Indeed, it is evident.

      I'm also fully aware that no scientist (or group of scientists) have been able to get non-living matter to start doing the chemical reactions needed to create organic life from the chemical soup.

      You keep making the same mistake in pretending that there is some fundamental difference between chemistry depending on where it is taking place. Scientists can replicate proteins in the lab. They can create entirely new proteins. They can remove the DNA from a bacterial cell and insert an artificially generated DNA sequence, creating a new hybrid species.

      The idea that we need to replicate the original conditions of abiogenesis is ludicrous, and makes me suspect that you have no grasp of the scale involved in such a useless project. Work from people like Craig Venter is improving our understanding of cellular chemistry constantly, and the only people who think that we are not within a few years of replicating an entire organism from scratch are those attempting to prop up ancient mythologies.

      Oh, and I found your act of changing our relationship status to be "foe" quite amusing. It fits with the petulant and myopic nature of your posts. But, on the other hand, you are quite right. I am anti-theistic, and I am quite happy to do my little part helping to whittle away the various misconceptions and downright lies that keep your fellow theists in mental and moral slavery.

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    78. Re:Evidence by wickedskaman · · Score: 1

      +1 BSG reference!

      --
      Sand's overrated... it's just tiny little rocks.
    79. Re:Evidence by HyperQuantum · · Score: 1

      who/what is god?

      If the grantparent post is modded Flamebait, then the parent post should be as well. Both posts are about the same topic, but express opposing views towards the subject.

      --
      I am not really here right now.
  6. In Other ( Two ) Words: ( +1, Helpful ) by Anonymous Coward · · Score: 5, Interesting

    Simulated annealing.

    Yours In Akademgorodok,
    Kilgore Trout.

    1. Re:In Other ( Two ) Words: ( +1, Helpful ) by Anonymous Coward · · Score: 0
    2. Re:In Other ( Two ) Words: ( +1, Helpful ) by Sulphur · · Score: 1

      Simulated kneeling and sharing the latest buzz makes the modern beeowulf bee what she is today.

    3. Re:In Other ( Two ) Words: ( +1, Helpful ) by Anonymous Coward · · Score: 0

      Or genetic programming, or any "direct search" method. Note that it doesn't have to be a method that is proven to find the solution. You also can't prove that the bees find the optimal solution every time for any tour of any size.

    4. Re:In Other ( Two ) Words: ( +1, Helpful ) by buchner.johannes · · Score: 1

      I doubt the bees find a global optimum in all cases. The bees are, like other biology-inspired algorithms like ant-colony optimization, "only" doing a heuristic or approximation.
      It is unfair to compare it to a global optimizer; compare it to equivalent heuristics, e.g. greedy algorithms run in milliseconds rather than days.

      Nevertheless, that is not the point of the article I guess. It is the fact that algorithms happen in nature, and are very effective. Also, the appreciation that such a development happened/happens.

      The article is actually pretty decent: http://www.qmul.ac.uk/media/news/items/se/38864.html

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
  7. How a tiny insect can figure it out on the fly by Anonymous Coward · · Score: 0

    Anyone can look smart when they're cribbing notes from flies.

  8. Heuristic by Sonny+Yatsen · · Score: 4, Insightful

    Is it possible that the honey bees aren't really solving the Traveling Salesmen problem at all, but rather employ some sort of unknown heuristic that leads to solutions that's close enough to optimal for it to look like that they've solved it? Maybe that's what we should be looking at rather than pondering if bees somehow have some sort of superior calculating ability over a supercomputer.

    After all, when we're playing a game of baseball (right, right, I know, this is slashdot), and a ball is coming towards us, we aren't calculating in our heads the velocity, air resistance and other variables involved in catching the ball. We just reach out our arms and our brain makes its best guess based on some sort of heuristic or something to make the catch.

    --
    My postings are informational and does not constitute legal advice. Act on it at your risk.
    1. Re:Heuristic by SuperHighImpact · · Score: 1

      Good point. And I'd also like to know how many flowers we are talking about. Solving the traveling salesman problem for 5 flowers isn't really the same as solving it for 100 cities.

      --
      sHi
    2. Re:Heuristic by Anonymous Coward · · Score: 2, Insightful

      your just playing word games... if i've developed a method of figuring out how to catch a ball without using newtonian physics, I've still solved the problem.

    3. Re:Heuristic by Liquidrage · · Score: 2, Interesting

      That was pretty much my thought. Do the bees ever get it wrong or at least not perfect? Seems obvious they world. I'd imagine the power lies in "good enough" thinking vs "perfect" thinking. Kinda an analog vs digital approach. If bees are able to map out where they are and which flower is closest to them at the time and head to that one next, they won't always get the perfect route, but it'll be close enough and sometimes be the best route based on a few variables in the layout.

    4. Re:Heuristic by corbettw · · Score: 0, Troll

      Do the bees ever get it wrong or at least not perfect? Seems obvious they world. I'd imagine the power lies in "good enough" thinking vs "perfect" thinking.

      How apropos of the "good enough" thinking you seem to espouse!

      --
      God invented whiskey so the Irish would not rule the world.
    5. Re:Heuristic by thePig · · Score: 1, Informative

      Indeed - especially considering the fact that one of the major class of solutions based on simulated annealing is actually a heuristics based solution. It really doesnt matter how you solve it at all - any way is welcome - as long as it reaches close to the optimal solution.

      --
      rajmohan_h@yahoo.com
    6. Re:Heuristic by Anonymous Coward · · Score: 3, Interesting

      Nope. You've solved one small set of problems, which is related to the bigger problem. Does your method work for just balls? What about anvils? Churches? Very small rocks? How about when thrown through water, or over a hill? Can it be applied to every situation where Newtonian physics works?

      The travelling salesman problem is a very specific definition of a problem. Solving it for one specific set (a given graph, size, or even geometry) does not solve the whole problem. Similarly, I know of no non-euclidean bees, so this research still doesn't solve the traveling salesman problem. As the grandparent said, the bees are likely employing some new rule we haven't thought of yet. The research might lead to new insight, though, and for that it's valuable.

    7. Re:Heuristic by Anonymous Coward · · Score: 0

      No, you're just playing word games...

    8. Re:Heuristic by gumbi+west · · Score: 2, Insightful

      I beg to differ. If it takes a supercomputer 4 days to solve it for 5 flowers... we have huge problems.

    9. Re:Heuristic by Dutch+Gun · · Score: 4, Interesting

      After all, when we're playing a game of baseball (right, right, I know, this is slashdot), and a ball is coming towards us, we aren't calculating in our heads the velocity, air resistance and other variables involved in catching the ball. We just reach out our arms and our brain makes its best guess based on some sort of heuristic or something to make the catch.

      You should read "On Intelligence" if you're at all interested in that subject. Jeff Hawkins (Palm inventor) proposes a fascinating theory of the inner workings of the brain.

      --
      Irony: Agile development has too much intertia to be abandoned now.
    10. Re:Heuristic by Dunbal · · Score: 1, Funny

      Your tax dollars at work...

      --
      Seven puppies were harmed during the making of this post.
    11. Re:Heuristic by Sonny+Yatsen · · Score: 1

      Thanks, man, I'll check it out.

      --
      My postings are informational and does not constitute legal advice. Act on it at your risk.
    12. Re:Heuristic by Dunbal · · Score: 1

      I've still solved the problem.

            For yourself. However you are unable to break that problem down into tokens that can be taught to someone else or, say, programmed into a robot. Therefore although you might be good at catching a ball as an individual, you haven't solved the problem that those less adept than you face when put in the same situation.

      --
      Seven puppies were harmed during the making of this post.
    13. Re:Heuristic by bsDaemon · · Score: 1

      Unfortunately, when it comes to NP-complete, they world is not enough :-/

    14. Re:Heuristic by rhsanborn · · Score: 1

      I think the point of the GP is that you haven't really "solved the problem", but rather came up with a close approximation, whereas those super computers are solving the problem absolutely.

    15. Re:Heuristic by IICV · · Score: 3, Informative

      That's pretty much what I was going to post. The bees almost certainly aren't solving the Traveling Salesman problem, they're getting good enough approximations of a solution. Our computers don't chug for days trying to figure out the answer to TSPs, they chug for a couple of seconds and produce a close-to-optimal solution.

      And the thing is, not all instances of the TSP are necessarily NP-Hard (for instance: if there was only one road between each city + 1 extra road between the first and last cities, the optimal solution is obvious), and the cases of it found in practical applications are generally far easier to handle than the cases found in more esoteric theoretical constructs (for instance: if you move east, you move closer to all the flowers in the east; this is not necessarily true in the general TSP). Most real instances of the TSP can be handled well enough with simple, quick greedy algorithms; they won't necessarily give you the best answer, but it'll be pretty close.

    16. Re:Heuristic by smartr · · Score: 1

      You don't solve a NP-Hard or NP-Complete mathematical problem by using a heuristic. Good heuristics for the TSP have existed for quite some time, and I'm sure they're faster than bees. https://secure.wikimedia.org/wikipedia/en/wiki/Travelling_salesman_problem#Heuristic_and_approximation_algorithms I feel it's really deceptive that they claim this problem takes a supercomputer to solve the problem in days, when they certainly haven't proven the bees always get the best solution (I think at best, we could disprove this - not prove it). Anyhow, it is interesting that so little neural circuitry is needed to solve this kind of problem.

    17. Re:Heuristic by Anonymous Coward · · Score: 1, Insightful

      This seems likely to me. If the answer were simply the power of neurons, one might expect that -we- would be better at solving the traveling salesman problem than we are.

      Actually, the problem is probably that human salesmen over-think the problem. If only there was some form of zen-like meditations that would allow humans to stop trying to employ math and algorithms, I'm sure our salesmen would be breezing effortlessly from town to town in the shortest possible route just like the wise bees.

    18. Re:Heuristic by Liquidrage · · Score: 1

      http://en.wikipedia.org/wiki/Typographical_error

      Thanks for making the world a better place by taking your time to point out a typo. You are a man amongst men.

    19. Re:Heuristic by Anonymous Coward · · Score: 0

      This is not even a new idea in terms of heuristics! Ant colony optimization has been around for a while and is also based on the premise that ants solve optimization problems "on the fly".

      Also, the phrase:

      Such a problem is NP-Hard and keeps our best machines thinking for days searching for a solution

      is totally INCORRECT. There are very good TSP heuristics that run very fast. It takes years of computing power to essentially prove that you get the OPTIMAL solution. But a very good one can be obtained really quickly.

      A good reference if you want to know more is:
      http://www.tsp.gatech.edu/methods/index.html

      I highly doubt that the bees find the optimal solution to an 85,000 node instance of the TSP!

    20. Re:Heuristic by Nethemas+the+Great · · Score: 1

      What you're suggesting is actually a rather hot topic in AI at the moment. Traditionally computer algorithms have searched for the mathematically correct solution. It is believed that in most cases we don't require a mathematically correct solution but just one that is "close enough." Properly done we'd never notice the difference in output but we'd realize orders of magnitude improvement in time to solution. The algorithm would be able to put the mitt in the air at a reasonable spot and catch the ball either by a single "best guess' or a series of guesses refined each time by updated input.

      --
      Two of my imaginary friends reproduced once ... with negative results.
    21. Re:Heuristic by ubersoldat2k7 · · Score: 5, Funny

      It's called Ruby, and it's not a problem, it's a feature, a trendy one.

    22. Re:Heuristic by Anonymous Coward · · Score: 0

      I think at best, we could disprove this - not prove it.

      We could prove it by solving the problem ourselves and checking if it matches.

      You're right though that there's no easier way (unless P=NP), so at most we can say that bees are marginally faster than supercomputers, or get lucky a significant amount of the time with their heuristics.

    23. Re:Heuristic by mlts · · Score: 1

      That is exactly what I saw. When I was in college, I ran a program that would find the shortest path using SA/genetic algorithms. 100 cities? Let it chug on a sleepy old PC for about 60 seconds until it stabilized on a route. Maybe a little more time before it found something even better, but after a minute or two, it would find a short path and stay on it.

      Of course, this route can't be *proven* to be the shortest, but "good enough" applies here. The SA algorithm was O(N). Finding the true correct shortest path would be O(N!).

      The big question here: Is a path found by SA or genetic algorithms acceptable? Or does the absolute best path, found by brute force be the only thing that does the job?

    24. Re:Heuristic by Anonymous Coward · · Score: 0

      This is Slashdot, we do car analogies here, no sports related ones, people might leave their keyboards and go outside if you use the sports ones.

    25. Re:Heuristic by Syberz · · Score: 2, Funny

      [...] our brain makes its best guess based on some sort of heuristic or something to make the catch.

      Maybe your brain, but not mine. Mine generally makes me miss the ball by 3 feet or get hit in the nads. Maybe my brain works like old Intel processors?

      --
      ~Syberz
    26. Re:Heuristic by Mark+J+Tilford · · Score: 1

      It's possible to do better than O(N!); there's a straightforward O(N*2^N) algorithm.

      --
      -----------
      100% pure freak
    27. Re:Heuristic by dzfoo · · Score: 2, Funny

      Did you mean making the would a better place?

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    28. Re:Heuristic by russotto · · Score: 1

      Similarly, I know of no non-euclidean bees, so this research still doesn't solve the traveling salesman problem.

      Euclidean travelling salesman is still NP-complete.

    29. Re:Heuristic by Raenex · · Score: 1

      We could prove it by solving the problem ourselves and checking if it matches.

      The point was that you can't prove the bees always solve the problem, unless you reversed engineered their brain. Even if a bee solved 1,000 problems it wouldn't prove they would always be correct. Besides that, I'm sure there's a limit to the number of flowers that bees can handle, so by not scaling, they really can't solve the problem the way a scalable algorithm could.

    30. Re:Heuristic by tchi.keufte · · Score: 1

      After all, when we're playing a game of baseball (right, right, I know, this is slashdot), and a ball is coming towards us, we aren't calculating in our heads the velocity, air resistance and other variables involved in catching the ball. We just reach out our arms and our brain makes its best guess based on some sort of heuristic or something to make the catch.

      How do you know you're not calculating in your head all the variables involved ? If calculating is taking variables into account and producing a result, then you're definitely calculating, except variables aren't expressed anywhere as numbers (neither are they in microprocessors, since they're electrical impulses, by the way). The bumblebees are moving, and then the scientist interpets their movement as calculus. Nature doesn't need numbers. Seeing numbers is a human-specific way of thinking (dividing and measuring things) that comes from conciousness (me vs around me, which means I am separated from other things, things can be separated, individualized, counted, etc...). We can see numbers in anything, so, when you're catching a ball, you're calculating in a way... It's both calculating (from a human point of view), and not calculating (from a holistic point of view). That's my point of view...

    31. Re:Heuristic by TheLink · · Score: 1

      One of my theories is each single neuron is actually very smart. Problem is each neuron can't say or do very much as it is. Of course this is more of a joke theory :).

      But another of my theories is similar to Jeff's. e.g. the brain constructs models of the outside world and tries to predict stuff. And consciousness might be what happens when the brain tries to recursively predict itself.

      Thing is, how do these models get constructed? I suppose it is stuff similar to the mirror neurons: http://en.wikipedia.org/wiki/Mirror_neuron

      Maybe the first mirror is "self", once that is sorted out the rest follows. e.g. "mirror" the outside world via your first order senses (sight, touch etc - similar to pixels, voxels, lines etc- smell is very interesting though :) ). You also mirror the world on the perception level, interpretation level, predictive level and so on.

      --
    32. Re:Heuristic by Anonymous Coward · · Score: 0

      Right. The set of solutions to the Travelling Salesman Problem have the significant computational disadvantage of having to give the right answer every time. I would wager substantial sums that there are configurations of flowers for which the bees pick a non-optimal route. Good-but-not-best only costs them the difference between that good answer and the best. Good-but-not-best makes a solution to the Travelling Salesman Problem wrong. In actual applications, where the computational complexity climbs above what we can handle, we do what the bees are almost certainly doing - use heuristics and settle for "good" (or "best we can find reasonably easily").

    33. Re:Heuristic by Anonymous Coward · · Score: 1, Informative

      But that's just it - finding "close to the optimal solution" for the Travelling Salesman Problem is not NP-hard.

    34. Re:Heuristic by smartr · · Score: 1

      Even if you could reverse engineer their brains, you would still have to overcome the hurdle of dealing with a NP-Hard problem - which means discovering that the problem is in fact not NP-Hard, that P=NP, that bees are able to match results from hard sets that took exponential time to run, or somehow mathematically reducing the reverse engineered bee's brains to show that it is an actual polynomial time algorithm (or some magic black box machine). I suspect you would just end up with an interesting heuristic by codifying their brains. I suppose my point was more that it's an unreasonable observation to think the bees are solving the problem unless you are giving the bees difficult sets. It might be enlightening to work at creating environments where the bees fail to get an optimal solution to understand what they are doing.

    35. Re:Heuristic by mopower70 · · Score: 1

      Probably one of the best summaries of the fundamental problem with the history of most AI research I've read yet.

    36. Re:Heuristic by mopower70 · · Score: 1

      If you've developed a method of figuring out how to catch the ball each and every time and for every possible permutation without fail, THEN you've solved the problem. What the poster is implying is that perhaps the observed behavior is not solving the same problem at all, but another problem similar enough to appear that way.

    37. Re:Heuristic by corbettw · · Score: 1

      http://en.wikipedia.org/wiki/Humor

      Though to be fair, I should not have expected someone with the word "rage" in their handle to have much of a sense of humor.

      --
      God invented whiskey so the Irish would not rule the world.
    38. Re:Heuristic by dominious · · Score: 1

      someone mod this up. don't underestimate your intuition.

    39. Re:Heuristic by kgskgs · · Score: 1

      I agree, we are overlooking something here.

      I have one more question. In traveling salesman problem, there is generally a condition that the salesman must visit all the cities. That makes the problem much harder. A bee is not operating under that constraint. It can visit as many flowers as it likes, then simply decide to fly away. It might have visited one of the most optimum paths for the flowers it touched. But there is no way to claim that that was the objective it was trying to achieve from the beginning. So it is not really a traveling salesman problem.

      Nature is smart, but not because it can do complex things. It's because it keeps things simple.

    40. Re:Heuristic by Pragmatix · · Score: 1

      After all, when we're playing a game of baseball (right, right, I know, this is slashdot), and a ball is coming towards us, we aren't calculating in our heads the velocity, air resistance and other variables involved in catching the ball. We just reach out our arms and our brain makes its best guess based on some sort of heuristic or something to make the catch.

      This is known as the gaze heuristic : http://en.wikipedia.org/wiki/Gaze_heuristic

    41. Re:Heuristic by Anonymous Coward · · Score: 0

      And now I beg to differ.

      What would you say of an algorithm that did TSP in 4 days for 5 nodes, but was linear in the number of nodes?

      I'd be bloody impressed.

    42. Re:Heuristic by HungryHobo · · Score: 1

      Ya, I'd question if they're really solving the travelling saleman.
      The bees get to select their own flowers where the salesman has to visit that one city out in the middle of nowhere.

    43. Re:Heuristic by Anonymous Coward · · Score: 0

      If the problem is collecting nectar from the flowers in the shortest path possible. I'm betting super computers can't do that no matter how hard they compute.

    44. Re:Heuristic by AthanasiusKircher · · Score: 1

      Is it possible that the honey bees aren't really solving the Traveling Salesmen problem at all, but rather employ some sort of unknown heuristic that leads to solutions that's close enough to optimal for it to look like that they've solved it? Maybe that's what we should be looking at rather than pondering if bees somehow have some sort of superior calculating ability over a supercomputer.

      Despite other responses, I don't think you're playing word games here. I think people tend to easily confuse "problems" created by or framed within a particular model with natural phenomena that do not necessarily operate under that model.

      Just because we can apply the Traveling Salesman model to the bees' behavior does not mean that the bees are necessarily operating under the assumptions of the problem, which requires us to impose a bunch of specific constraints upon the bees' behavior. If the bees only ever behave in a way that appears optimally to solve the Traveling Salesman problem, we might be able to make other assumptions, but in reality, I'd bet bees only appear to "solve" the problem under particular conditions, with particular constraints (number, location, distribution of flowers, etc.), and in particular chosen time-slices.

      Which is to say that they probably operate under some practical heuristic approach that works well under specific conditions.

    45. Re:Heuristic by TapeCutter · · Score: 1

      You don't have to watch a bee for very long to see that it does not simply go to the nearest flower. It will hop from flower to flower for a while and then fly up and hover (or slowly circle). Sometimes it goes back down and hops around some more flowers, other times it increases its hovering altitude in a series of steps (as if to get a wider view). It will repeat this process until its hovering altitude reaches about six feet, at this point it seems to decide its done and will suddenly fly away at high speed.

      I like supercomputers and elegant algorithims as much as the next geek but I also realise their capabilities don't even come close to the wetware technology of the blind watchmaker.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    46. Re:Heuristic by Liquidrage · · Score: 1

      But if the route isn't perfect then the TS isn't solved by a bee. I'd like to see more details because saying bee's do amazing things with their routes is one thing. I doubt many would disagree and life always seems to amaze. A simple cell is amazing. If they are perfect routes then that's another.

      But there's no reason to assume they are actually solving a specific problems just because the end results are similar, especially since similar in this case is easy to do. It's only the exact perfect route that's an issue.

    47. Re:Heuristic by pwnies · · Score: 1

      4 days for 5 flowers? A brute force approach to the traveling salesman problem is a n! growth rate. For 5 flowers, you only have 120 combinations. That'll take a few microseconds to solve on my phone. You wont start seeing time being measured in days until you hit 14 flowers or so. Not saying you're wrong about the fact that we have problems, but just that 5 flowers isn't going to stress anyone.

    48. Re:Heuristic by TapeCutter · · Score: 1

      I don't know if they can find the optimal solution for the TSP, and even if they could I'm sure they would screw up from time to time. I was just trying to point out that from my own observations there is definitely something more complex than "go to the nearest flower" going on.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    49. Re:Heuristic by uninformedLuddite · · Score: 1

      You should read "On Intelligence" if you're at all interested in that subject. Jeff Hawkins (Palm inventor) proposes a fascinating theory of the inner workings of the brain.

      Definitely, seconded

      --
      The new right fascists are bilingual. They speak English and Bullshit.
    50. Re:Heuristic by Anonymous Coward · · Score: 0

      Is there? AFAIK the dynamic programming algorithm is O(N^2*2^N) because the dynamic programming state has to include the last visited city (for one factor of N) and then you have to iterate over all successor cities (for another factor of N).

  9. Particle Swarm Optimization by Anonymous Coward · · Score: 0

    I took a class with one of the inventors of particle swarm optimization (PSO) at Purdue. He claimed that PSO could could finish the traveling salesman problem faster than more traditional algorithms. The problem is that PSO is so random (as it attempts to emulate flocking behavior) that you really can't prove that it's faster. Similarly, you really couldn't formally prove that a bee is faster besides just doing empirical testing.

  10. I doubt it by MozeeToby · · Score: 2, Insightful

    First and foremost, how many nodes are we talking about here? I highly doubt that the bees are keeping track of hundreds of feeding spots from one trip out to the next but the article doesn't say.

    The second problem is this "Computers solve it by comparing the length of all possible routes and choosing the shortest." Who on earth would try to solve the traveling salesman this way? Yeah, a brute force solution will get you the guaranteed best path, but the performance is horrible. There's lots and lots of shortcuts that can save a huge amount of time, things as simple as eliminating crossed paths can make a big difference. You can even use techniques like genetic engineering successfully on such a problem (though you might not reach the absolute best path that way).

    1. Re:I doubt it by wed128 · · Score: 4, Insightful

      I think you mean genetic algorithms. Genetic engineering is...something else.

    2. Re:I doubt it by Anonymous Coward · · Score: 5, Funny

      Hulk smash traveling salesman!

      (I assuming we can engineer Hulks.)

    3. Re:I doubt it by Anonymous Coward · · Score: 0

      It may also be worth noting that many of the current TSP computer algorithms work like bees. They leave virtual pheromones and the solution is the most traveled paths. Thats a gross oversimplification, but I find it funny (ie, wrong) that the bees are better than computers doing the same thing that bees do.

    4. Re:I doubt it by revlayle · · Score: 1

      You're just jealous that bees are getting smarter than human and really and truly figure this stuff out when we are still stumped by this problem.

      I, for one, welcome, our mathematically superior bee overlords.

      (Help me! The bees have me prisoner, there are three workers, each with a stinger at my neck, telling me what to type. Luckily, due to a problem with their "odd" vision organs, they cannot see ANYTHING in parenthesis. Send help, and maybe some Raid or at least some Off.)

    5. Re:I doubt it by Anonymous Coward · · Score: 0

      In a field full off wild flowers, there could be tens of thousands if not millions of nodes.

    6. Re:I doubt it by Anonymous Coward · · Score: 0

      Yeah, I'm working on a GA to solve the TSP for a graduate course right now, and the first thing I wondered when I read this was how they would fare against a genetic algorithm.
      GA's don't guarantee optimality (unless they're paired with other techniques such as simulated annealing), but they converge at good solutions in large search spaces much faster than traditional search methods.

      -Adam
      (my first post, I should really create an account)

    7. Re:I doubt it by uigrad_2000 · · Score: 1

      It's pretty clear that the bees are solving a different problem than the computer, and you don't really need to understand much theory to know why.

      The Traveling Salesman Problem is only interested in finding the one absolute best solution. A solution that is 0.5% slower is not "close", but "wrong". This is the reason that it is NP-complete.

      The bee is looking for a "good solution", which is an entirely different problem. Some readers may think that I'm splitting hairs here, but that's ridiculous. Getting a machine to make a "good solution" is pretty freakin' easy too. How this made slashdot is beyond me.

      --
      Free unix account: freeshell.org
  11. Traveling Salesman?? by Anonymous Coward · · Score: 0

    Actually I worked this problem years ago, despite having not found a solution, I was able to determine the problem is fundamentally far simpler than traveling salesman as the nodes are distributed on a sheet with simple calculations.

    1. Re:Traveling Salesman?? by boristdog · · Score: 1

      Actually I worked this problem years ago, despite having not found a solution, I was able to determine the problem is fundamentally far simpler than traveling salesman as the nodes are distributed on a sheet with simple calculations.

      So what is the solution? Do you sleep with the farmer's daughter or sleep in the barn?

      Maybe I'm thinking of a different "traveling salesman" problem.

    2. Re:Traveling Salesman?? by Dachannien · · Score: 2, Funny

      So what is the solution? Do you sleep with the farmer's daughter or sleep in the barn?

      Why choose? Haven't you heard of a "roll in the hay" before?

    3. Re:Traveling Salesman?? by MaskedSlacker · · Score: 1

      So long as it's not the Crushinator, you ALWAYS sleep with the farmer's daughter.

  12. The answer is obvious by eln · · Score: 4, Funny

    We need to expend more effort to recruit bees into computer science. Too many bees are wasting their lives solving these problems on the fly for a little nectar when they could be solving these problems in exchange for tenure at our nation's finest universities.

    1. Re:The answer is obvious by alta · · Score: 0, Troll

      Yeah, and unfortunately they would deserve that tenure more than many that already have it.

      --
      Do not meddle in the affairs of sysadmins, for they are subtle, and quick to anger.
    2. Re:The answer is obvious by G-Man · · Score: 1

      I foresee discrimination against Apian American students by college admissions offices - they are known overachievers (e.g., "busy little bee"), and will be penalized for having little in the way of extracurricular activities and being seen as clannish and hanging out with their own kind. If admissions were based strictly on merit, our universities would be overrun with swarms of them...

    3. Re:The answer is obvious by RealGrouchy · · Score: 1

      Only if you can get them to pass the entrance exams. They always answer "B" for each question.

      - RG>

      --
      Hey pal, this isn't a pleasantforest, so don't waste my time with pleasantries!
    4. Re:The answer is obvious by Frequency+Domain · · Score: 1

      There are already enough sons of bees in the field.

    5. Re:The answer is obvious by bigdavex · · Score: 1

      Don't be ridiculous.

      What we need is to attach a captive bee as a co-processor. The main processor would transform any NP-hard problem into a flower problem. Electrodes would connect to the bee's brain to simulate the sensations of the flower-domain problem and communicate back the solution to the computer through intercepted motor control messages.

      --
      -Dave
    6. Re:The answer is obvious by Anonymous Coward · · Score: 0

      We need to expend more effort to recruit bees into computer science.

      What about the bee-hornet gap in compsci?
      What social stigmas could be preventing hornets from pursuing engineering careers?

  13. Shortcuts by Imagix · · Score: 4, Interesting

    Was the Travelling Salesman presented with the completely connected graph the way the bees were? The bee isn't constrained to fly along predefined paths between nodes, the travelling salesman is.

    1. Re:Shortcuts by MozeeToby · · Score: 5, Insightful

      Which makes the problem more difficult, not less. The way it is usually presented in CS the distance between the nodes is the minimum cost path, the bees would also have to 'calculate' that in addition to solving for the correct order. Think about it this way, imagine trying to solve the traveling salesman path between 100 cities, but you can take any route you want between cities. You could take all the back roads, the freeway, you could hop on a train or an airplane, you could kayak down the river between two cities. It doesn't make the problem any easier, in fact it adds a ton more variables to the mix, effectively increasing the number of routes that would need to be checked using a brute force solution.

    2. Re:Shortcuts by Anonymous Coward · · Score: 0

      The bee isn't constrained to fly along predefined paths between nodes, the travelling salesman is.

      TSP only defines that fact that links exist between nodes. The general TSP is a fully connected graph. A bee flying from Node 1 to Node 5 can follow an arbitrarily complex path in between, but still arrives at Node 5 after some time (i.e. cost). The same is true of the TSP. So no, it's not different.

    3. Re:Shortcuts by Anonymous Coward · · Score: 0

      Geeze. What would you imagine the shortest path between two flowers to be for a bee?

    4. Re:Shortcuts by T+Murphy · · Score: 4, Funny

      Well duh that makes the problem harder. It would take years just to train the bees how to kayak, not to mention refitting airport body scanners- in 100 cities even! Can't we just simplify things and teach these bees how to send viagra spam so they don't have to travel to play salesman?

    5. Re:Shortcuts by brusk · · Score: 1

      It's not obvious, for example, if there are trees blocking a straight line path, if there are elevation differences, etc.

      --
      .sig withheld by request
    6. Re:Shortcuts by MaskedSlacker · · Score: 5, Funny

      I dunno. If only we had a word for this....something like the line that a bee would travel...

    7. Re:Shortcuts by NatasRevol · · Score: 1

      Heck, just accounting for wind is more problematic than anything else. And not accounted for at all in the traveling salesman problem. ie minimum cost changes frequently, unexpectedly, and can push you off the map.

      --
      There are two types of people in the world: Those who crave closure
    8. Re:Shortcuts by bluefoxlucid · · Score: 1

      Oh, you know, disappears from here, reappears there.

    9. Re:Shortcuts by turkeyfish · · Score: 1

      It could be the one that keeps the bee's energy budget low, which would probably be relatively straight between nodes, taking into account the bee's ability to compute the probability of feeding on a separate nearby that would favor a deviation from linearity, taking the caloric differences among the flowers constant unless there is evidence to treat them differently.

    10. Re:Shortcuts by Timothy+Brownawell · · Score: 1

      I'd expect it to be related to knowing that the graph follows ordinary plane geometry and has straight paths between the nodes.

    11. Re:Shortcuts by fandingo · · Score: 1

      Actually, it doesn't. Yes, it takes "time" for humans/bees/whatever to calculate the lowest cost route, but when studying algorithms, it doesn't add anything to the complexity. Since finding the quickest route is really like sorting, you get O(n Log(n)) which is contained in P.

      Back to TSP, the additional routes don't even matter, because it's illogical to ever take an inefficient path.

    12. Re:Shortcuts by Anonymous Coward · · Score: 1, Funny

      how about 'as the bee flies', orpossibly a, 'crow-line'?

    13. Re:Shortcuts by nfk · · Score: 1

      I don't think it would be more difficult, because If you are flying, a straight line is always the minimum path. It doesn't add a whole lot (if it adds anything at all) to the complexity of the problem. You're right though, it also wouldn't be less difficult. And of course, if some expert bees can collect nectar as they fly by, the baseball paths from a previous story could apply.

    14. Re:Shortcuts by blair1q · · Score: 1

      The "minimal interfloral apiarial traverse".

    15. Re:Shortcuts by Locke2005 · · Score: 1

      "As the crow flies"?

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    16. Re:Shortcuts by boojum.cat · · Score: 2, Informative

      A "bee-odesic"?

      --
      Lost: one sig, witty, 120 chars, sentimental value. Reward offered.
    17. Re:Shortcuts by Anonymous Coward · · Score: 0

      As the crow flies?

    18. Re:Shortcuts by Anonymous Coward · · Score: 0

      Have you ever seen a bumble bee in a suit? Adorable.

    19. Re:Shortcuts by ignavus · · Score: 1

      Flight path?

      --
      I am anarch of all I survey.
  14. p=np by Anonymous Coward · · Score: 1, Insightful

    Maybe P=NP and the solution is easy?

    1. Re:p=np by Anonymous Coward · · Score: 0

      P is indeed = NP,

      when N = 1, or P = 0.

  15. Well... by Kufat · · Score: 5, Funny

    Does this mean that B >= NP?

    1. Re:Well... by blair1q · · Score: 1

      No, but I'm pretty sure it's related to

      2B | (2B)' = ?

  16. Entomoengineering? by schmidt349 · · Score: 4, Interesting

    We have a lot yet to learn from our six-legged colleagues, from the sound of it. Recently some work was done on optimizing machine vision using an algorithm derived from the way the house fly's vision works. The termite's wood-digesting gut is a prime object of study for those seeking to manufacture fuel from biomass efficiently and cleanly. An insect virus (the baculovirus) is the new hotness for gene transduction in mammalian cells because it can't actually cause disease.

    I think this might be the next step in bioengineering. We've been grabbing genes out of various organisms and sticking them in bacteria to produce useful biomolecules like insulin and factor VIII. Maybe the insect is our next stop.

    1. Re:Entomoengineering? by $RANDOMLUSER · · Score: 5, Funny

      Many researchers are worried that the baculovirus isn't as benign as first thought. Some even claim it killed the Star Trek franchise.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    2. Re:Entomoengineering? by kvezach · · Score: 3, Funny

      You must have it confused with the Bermagavirus.

    3. Re:Entomoengineering? by Anonymous Coward · · Score: 0

      The next step is obviously SPIDERMAN!

    4. Re:Entomoengineering? by blair1q · · Score: 1

      All of this is pretty indicative of the fact that we're not nearly as smart as we think we are.

      At this point in our knowledge of chemistry and light we should be able to invent these processes from first principles rather than having to reverse-engineer them by ripping body parts off randomly evolved pests.

    5. Re:Entomoengineering? by blair1q · · Score: 1

      The franchise died shortly into the run of TNG. It's been a show about zombies ever since.

    6. Re:Entomoengineering? by blahplusplus · · Score: 1

      Not quite, Voyager started getting good after a few seasons, it took a while to ramp up their stilted acting but probably about halfway through everything starts coming together a lot better.

      I was one of the ones that really disliked voyager at first as well.

  17. Oh, really? by SoapBox17 · · Score: 3, Interesting

    First TFS and TFA both make reference to problems which "keep super computers busy for days." That's pretty misleading since the bees are only dealing with "a few hundred" flowers. At brute force that would take your cell phone maybe a couple minutes to solve.

    But really no details are given. Do the bees still travel to all of the flowers? I'd imagine they might just decide to skip one or two if they don't fall close enough to the path to be worth it. They don't say what they did (probably nothing) to validate that the bees actually found the shortest path. Did the "graph" that they gave the bees include a section where a greedy algorithm would fail? What is more likely is the bees haven't solved it, but found a decent approximation.

    I think this is what you get when you let bee researchers write math/computer science articles.

    1. Re:Oh, really? by Anonymous Coward · · Score: 0

      The real discovery here is that bees can write front-page Slashdot articles!
      Something apparently relevant science is not capable of doing.

    2. Re:Oh, really? by Anonymous Coward · · Score: 0

      [quote]First TFS and TFA both make reference to problems which "keep super computers busy for days." That's pretty misleading since the bees are only dealing with "a few hundred" flowers. At brute force that would take your cell phone maybe a couple minutes to solve.[/quote]

      A brute force approach to the travelling salesman problem would look at all the different orderings for visiting the nodes. That's essentially n! (ignoring optimisations). 100! is 9.3e157. Your cell-phone is not going to be solving that, by brute force, in a couple of minutes.

    3. Re:Oh, really? by gumbi+west · · Score: 5, Insightful

      100 flowers=100! possibilities. Using brute force on a 1 GHz processor and computing one solution per cycle (quite optimistic), it would take you 3 times 10 to the 141 years to complete. Even if your cellphone had a helaflop processor, it would still take longer than the age of the universe to compute this way.

    4. Re:Oh, really? by tibit · · Score: 1

      That's pretty misleading since the bees are only dealing with "a few hundred" flowers. At brute force that would take your cell phone maybe a couple minutes to solve.

      Iterating over a "few hundred" factorial in a couple minutes? I want your cellphone. Heck, better not, I think that quite a few of world's intelligence organizations are looking for you just now, maybe I'll let you see how it pans out first ;)

      --
      A successful API design takes a mixture of software design and pedagogy.
    5. Re:Oh, really? by bluefoxlucid · · Score: 1

      First TFS and TFA both make reference to problems which "keep super computers busy for days." That's pretty misleading since the bees are only dealing with "a few hundred" flowers. At brute force that would take your cell phone maybe a couple minutes to solve.

      Are you fucking kidding me?

      Start with one flower. I guess the closest. Now you have 99 flowers to chose from.

      Now ignoring the one you've been to, you now have 98.

      Now 97.

      Including starting point selection, there are 9.33262154 × 10^157 potential paths. With a dedicated logic circuit capable of iteratively computing one path per second and comparing it against the currently stored path (and then discarding whichever is higher cost), at 1 million THz clock, this takes 10^139 seconds or 3.17 x 10^131 years. The GPC is using one hell of a specialized algorithm; and the bee is doing it better.

    6. Re:Oh, really? by Anonymous Coward · · Score: 0

      So what? Nobody that knows anything about the TSP would try a brute force approach!

      By your logic, there is no way anyone would be able to solve a TSP instance with around 86000 "flowers" even given 1 million years!
      (just try to compute 86000 factorial)

      FYI: It has been solved to optimality using years of computing time. http://www.tsp.gatech.edu

    7. Re:Oh, really? by Anonymous Coward · · Score: 0

      You could "brute force" a tsp without actually checking *every* possible solution, yet get the best possible one. Thus it isn't impossible for a cellphone to figure out 100! in a decent amount of time.

      In 2005 a solution to a 33 810 city-problem was solved using a program called Concorde(Apparently I can't get copy-paste to work so you have to google for it, just add TSPLIB). The biggest solved yet is 85 900 cities/nodes.

    8. Re:Oh, really? by canajin56 · · Score: 1

      His mistake was calling it "brute force". But, you can find the optimal path in a lot less than the theoretical MAXIMUM required time of n factorial. In 2001 they solved it for 15,000 nodes in 75 days (using 110 500MHz Alpha processors, so 22.6 CPU years). One 150th of the size, with a CPU twice as fast. I'm not so sure it would take a cellphone too long, really. You can find web apps out there that solve 24 nodes in a few minutes, in your browser, USING JAVA SCRIPT.

      The thing to remember is that 2^n (not n!) is the worst case upper bound. Meaning, there exist instances that require (at most) that much time to solve. This measure makes no judgment on whether or not such instances are particularly common. In fact. remember how I said somebody solved 15,000 nodes in 22.6 CPU years? (based on a real map). Years later somebody solved it for 88,000 nodes in about 100 CPU years. 5 times the CPU time, 5 times the nodes. Seems more like linear than it does factorial. That's what the OP was talking about, does the graph include sections designed to trip up a greedy algorithm. The reasons the problem in general is so hard is because there CAN be instances that are very hard. They are NOT common. I mean, honestly, if you can do 24 in a few minutes in JavaScript, pulling distances from the Google Maps API, you really thing that most instances are that impossibly hard to do for 100 nodes?

      Further, you can approximate to within 1% in a few SECONDS on a Cellphone. (Not all instances, but again, the tricky ones are not common, and possibly never occur in real maps, especially not a bee's flight map where the distances are very close to euclidean)

      --
      ASCII stupid question, get a stupid ANSI
    9. Re:Oh, really? by gumbi+west · · Score: 1

      Yes, obviously you can't use brute force. Where do you get O(n^2) for brute force? First you pick city 1 (100 possibilities) then city 2 (99 possibilities)... = 100!.

      But your logic that "someone wrote a paper once that was A speed and then later someone wrote a paper that was B speed so I can ratio them to get the order of the algorithm" is horse hoey. Using logic like that during the time of research into sorting we might conclude sorting is O(log(n)) by switching algorithms between papers.

      BTW, just because someone claims to have solved such and such many nodes doesn't mean that they did. A reasonable fraction of papers are overturned upon further scrutiny.

    10. Re:Oh, really? by Anonymous Coward · · Score: 0

      Yes, but using Iterated Lin Kernighan can be performed on a cell phone and will generally provide the optimal solution to smallish TSP problem (i.e. 100 nodes or so). Your solution is the brute force method which no one with an once of sense would attempt because, as you so aptly show, it's too big.

    11. Re:Oh, really? by gknoy · · Score: 1

      I don't think that is correct. How would you know it was the optimal solution, unless you've exhausted all the contenders? It's like saying you can verify that something is prime without having tried all of its potential factors.

      [note: I am not a mathemetician, so it's possible that both of the above are possible ... but it would greatly surprise me if that were the case.]

    12. Re:Oh, really? by gumbi+west · · Score: 1

      Pretend you have a path that you think is optimal and then you are considering a path where the travel time to the first 50 cities cost already exceeds your answer, you can then rule out the 50-factorial cases for all possible ways of dealing with the remaining cities 50 cities.

      But, this isn't brute force. Generally, brute force means that you write a really stupid but guaranteed method of solving something. Speedups and short cuts are generally not used. This is VERY useful for test cases to know if your speedups are working or incorrectly excluding correct answers but of limited use for large problems.

    13. Re:Oh, really? by Anonymous Coward · · Score: 0

      yeah, but doing a brute force search is the dumb way to do it.

      The easy way to do it, which is what the bees are no doubt doing, is to follow this cute little algorithm:

      while the sun isn't setting, Look for flowers you haven't finished with yet. Head towards the nearest ones first. As you finish each group, look for the nearest NEXT group, moving generally outward from the hive. Don't go too far from home, and periodically go home to drop off pollen. When the sun starts to set, proceed home along your most recently traveled path, navigating by scent, magnetism, or whatever else bees are using these days.

      Not really a traveling salesman situation at all.

    14. Re:Oh, really? by TheAlgebraist · · Score: 2, Interesting

      According to the abstract there were 4 flower patches incrementally revealed to the bees so that the order they discover them makes for a long suboptimal route. The bit about bees picking an minimal route through hundreds of flowers does not appear to be substantiated by the paper, unless they wrote their abstract so as to seriously understate their results. The abstract does not indicate they tracked bee paths by flower, only by flower patch. Not beeing idiots, with only 24 possible routes, the bees usually follow the optimal route. They follow the optimal route more frequently with experience, occasionally taking a novel route. From the abstract, the article appears to discuss why the bees sometimes take a suboptimal route. There is one mention of the travelling salesman problem in the abstract at the very end and it feels like they threw it in there as a buzzword to get more funding/attention. This research may lead to something interesting if they do track flower to flower movement, but as of now there is nothing to see. If anyone has access to the actual article maybe they can provide some more info.

    15. Re:Oh, really? by Anonymous Coward · · Score: 0

      I saw your parent's post and thought of pouncing on it, but if you read your GP post, you'll see that GP said "At brute force that would take your cell phone maybe a couple minutes to solve" with n in the 100s, which is bogus and deserved a response.

    16. Re:Oh, really? by Anonymous Coward · · Score: 0

      In order to determine if a prime is indeed a prime, you don't have to check every number up to the prime.

      Given k as a prime number greater than 2, you only have to check to see if it is divisible by 2, 3, ..., n, where n is the square root of k. In order to determine whether or not k is indeed a prime(The proof is left as an exercise to the reader). Yet, by what you said, I have to check every number from 2 up to k(Disregard other primality tests, acquire mod points).

      While the TSP is a different problem, you don't have to check every possible path in order to find the most optimal route.

    17. Re:Oh, really? by angel'o'sphere · · Score: 1

      Erm,
      At brute force that would take your cell phone maybe a couple minutes to solve.

      A cellphone would not even calculate the number resulting from 100! in a couple of minutes, not to talk about generating a few 1000 variations of pathes.

      angel'o'sphere

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  18. hierarchical models by allawalla · · Score: 2, Informative

    I imagine that the hierarchical models proposed by Scott Graham would be a pretty good candidate. If you break the TSP problem into a series of sub-problems of increasing complexity you get pretty good accuracy with reduced computations. Basically instead of trying to figure out how to move through all the towns in the US you first plan a route through all the states. You could probably derive a few simple heuristics that would give you that sort of behavior from a swarm...

  19. Wild Guess by Tsiangkun · · Score: 1

    They leave a trail of hormones, the shortest paths get more travelers, over time, it becomes obvious which path to use, it has the strongest scent.

    1. Re:Wild Guess by Anonymous Coward · · Score: 0

      A trail of hormones in the wind? That would a hilarious path to watch anything follow.

    2. Re:Wild Guess by Sarten-X · · Score: 1

      Like ants with wings!

      Of course, the ant solution still isn't very fast, or reliable, and is usually far slower than algorithmic solutions. Nice try, though.

      --
      You do not have a moral or legal right to do absolutely anything you want.
    3. Re:Wild Guess by bob0the0mighty · · Score: 1

      That's Ant Colony Optimazation. Why would bees stoop to such levels?

    4. Re:Wild Guess by smoothnorman · · Score: 3, Interesting

      ...or even simpler, the scent of the flowers themselves. those antennae on the bees' heads aren't just for a sense of fashion. so to all you NP-mathematicians out there: suppose our traveling salesman had a means to follow a concentration gradient to the nearest sales point?

    5. Re:Wild Guess by gumbi+west · · Score: 1

      Just a suggestion: you could try coding that up and see if you can solve the problem in seconds.

    6. Re:Wild Guess by 19thNervousBreakdown · · Score: 1

      Through the air?

      --
      <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
    7. Re:Wild Guess by Anonymous Coward · · Score: 0

      It's *bees*. They *fly*. Hence no *trails*. These ain't ants!!

    8. Re:Wild Guess by Anonymous Coward · · Score: 0

      Ant colony TSP. It still doesn't find the shortest path, but it does find reasonably good solutions.

  20. Euclidean TSP is easier by Anonymous Coward · · Score: 0

    Presumably, bees take advantage of the triangle equality. In this case, they are solving an easier problem, one for which computer scientists already have very fast approximation schemes.

    1. Re:Euclidean TSP is easier by markov_chain · · Score: 1

      Also, there is a constrained version of the problem called Bitonic Tours which is solvable in poly time, which might match the flower scenario well.

      --
      Tsunami -- You can't bring a good wave down!
    2. Re:Euclidean TSP is easier by gumbi+west · · Score: 1

      equals/not equals or equality/inequality. What is the difference, right?

    3. Re:Euclidean TSP is easier by NatasRevol · · Score: 1

      Hmmm, I don't see any accounting for wind in there.

      --
      There are two types of people in the world: Those who crave closure
  21. Different Spaces by eldavojohn · · Score: 4, Insightful

    After all, when we're playing a game of baseball (right, right, I know, this is slashdot), and a ball is coming towards us, we aren't calculating in our heads the velocity, air resistance and other variables involved in catching the ball. We just reach out our arms and our brain makes its best guess based on some sort of heuristic or something to make the catch.

    I think the problem with your analogy that there are an unlimited number of dimensions and responses where you could put your arm out to make the catch (well, not unlimited if you consider Planck distances to be the smallest possible distance). But when we are talking about computerized flowers with nectar, you pretty much can only go to one of the flowers next. I think they used RFID to track the bees (or at least this researcher has written about doing that before)? So we can sit there and do a star search on all paths of the 50 flowers and find the shortest one to connect all of them in three dimensions in a particular order (we assume the flight paths are straight lines). The difference is not that we have so many fewer things to search than in the ball catching example but that you take a very finite deterministic path (i.e. 2, 34, 23, 6, 18, etc) and the bees seem to be able to find and learn this very quickly. According to the researcher:

    "In nature, bees have to link hundreds of flowers in a way that minimises travel distance, and then reliably find their way home - not a trivial feat if you have a brain the size of a pinhead! Indeed such travelling salesmen problems keep supercomputers busy for days. Studying how bee brains solve such challenging tasks might allow us to identify the minimal neural circuitry required for complex problem solving."

    If this holds true for hundreds of flowers, I think we're talking about a serious search space with a definite path that is far more specific than the heuristics of moving your arm and hand around dynamically in space to collide with a ball. You could have tons of error when trying to catch a ball and still catch it. You (frequently) only have one optimal path in shortest distance problems. It's probably true these traveling salesman problems look obvious to a bee like catching a ball does to us but something particularly interesting is going on there if it is.

    Let's say it is an unknown heuristic. I'd wager the network folks would kill to know how that heuristic is so cheaply computed.

    --
    My work here is dung.
    1. Re:Different Spaces by Sonny+Yatsen · · Score: 1

      Good point, but what I meant by the baseball analogy isn't about the unrestrictedness or complexity of the problem so much as simply an example of a heuristic that we naturally have (although dependent on our personal levels of coordination). We're descended from tree-living ancestors who naturally developed the ability to judge an object's distances and movement (otherwise, our ancestors would've just fallen out of trees or failed to grab a branch as it jumps). Likewise, a mountain goat will be able to naturally able to make very complicated jumps on steep terrain without needing actual calculation of variables. And, of course, likewise the bees with their ability to go from flower to flower in efficient ways.

      --
      My postings are informational and does not constitute legal advice. Act on it at your risk.
    2. Re:Different Spaces by Americano · · Score: 2, Insightful

      I'd be interested to read the full paper... looks like it won't be published until this week.

      I have to wonder if it's simply local optimization that the bees are using - i.e., "Fly to a close flower not yet visited" - that starts looking like they're solving a much more complex problem? Are they visiting *every* flower on the "map"? Are they ever skipping some? Do they visit the flowers in exactly the same order, or is there variance from bee to bee (or between two trips from the same bee?)

      It seems to me that a few simple rules ("visit closest flower from current flower that you haven't visited yet") might approximate the correct TS solution for small maps & limited nodes, but that it would become quite a bit harder to generalize that solution to larger sets of nodes & longer distances.

    3. Re:Different Spaces by bluefoxlucid · · Score: 1

      I think the problem with your analogy that there are an unlimited number of dimensions and responses where you could put your arm out to make the catch

      No, the problem with his analogy is that he's analogizing solving a problem ahead of time versus solving a problem in real time as it occurs. Adjusting slightly to catch a baseball as it gets closer eventually ends in the perfect position for catch; adjusting your path as you travel eventually ends in "oh shit, if I went to Dallas before Austin my total distance traveled would be shorter."

    4. Re:Different Spaces by TheLink · · Score: 1

      You've left out an important problem: figuring out which branches wouldn't break when you jump and grab them, and how far from the trunk can you grab them and still be safe, what speeds can you be travelling at etc.

      Now, program a computer to do better than a human, under variable daylight conditions :). Bonus points if your system beats a gibbon at it.

      Anyway, to me it's not so much calculation as of simulation. I believe we (including many animals) create mental models of stuff we have to predict.

      Yes it's still calculation in a way, but that's like saying building a scale model to predict something is calculation.

      Once you've got a good model you can do all sorts of stuff and still get results very quickly.

      Consciousness might be the result of fancy recursive self-modeling, throw in quantum parallel computing (which might be useful for running simulations in parallel) for extra buzzword goodness :).

      --
    5. Re:Different Spaces by Anonymous Coward · · Score: 0

      "In nature, bees have to link hundreds of flowers in a way that minimises travel distance, and then reliably find their way home - not a trivial feat if you have a brain the size of a pinhead! Indeed such traveling salesmen problems keep supercomputers busy for days. Studying how bee brains solve such challenging tasks might allow us to identify the minimal neural circuitry required for complex problem solving."

      But then again, there are heuristics that apply such that given the triangle inequality (which is a given for the bee), a P-time algorithm can solve for a route that will be at worst twice the distance of optimal. It seems likely the bees are doing something similar.

    6. Re:Different Spaces by Anonymous Coward · · Score: 0

      Not to mention what will be an ideal solution in one case may not be so in another. Since a bee is flying, a simple change in wind direction would have a large impact on finding the best route and locations to stop at. There's probably even a simple rule when starting like opting for the longest flight outbound from the hive to the first flower, and the shortest flight from the last flower back because of pollen and nectar payload.

      If you wanted to be a little closer to the bees, you'd also use an evolutionary algorithm to create your Traveling Salesman solver. Bees have just had a few million years head start, and like you said, are likely breaking the problem down into very simple components.

    7. Re:Different Spaces by Anonymous Coward · · Score: 0

      well, not unlimited if you consider Planck distances to be the smallest possible distance

      This made me actually laugh out loud.

    8. Re:Different Spaces by Anonymous Coward · · Score: 0

      Let's say it is an unknown heuristic. I'd wager the network folks would kill to know how that heuristic is so cheaply computed.

      The thing is that there are a lot of unimpressive algorithms (including brute force) that work great in the real world because they exploit massive parallelism and/or the laws of physics.

      Poured water finds local minima in a 3D topology, but the kind of "algorithm" behind those billions of moving molecules isn't one I'd want to use.

    9. Re:Different Spaces by Solandri · · Score: 1

      I have to wonder if it's simply local optimization that the bees are using - i.e., "Fly to a close flower not yet visited" - that starts looking like they're solving a much more complex problem? Are they visiting *every* flower on the "map"? Are they ever skipping some? Do they visit the flowers in exactly the same order, or is there variance from bee to bee (or between two trips from the same bee?)

      This. I suspect their "solving the traveling salesman problem" is just an artifact of the researchers re-defining the problem after the fact to only include the flowers the bee visited on that particular trip. If you watch bees as they fly around a flowering bush, they do not visit each flower. Unless you're positing that bees somehow know ahead of time which flowers they will or will not visit on the entire trip, all that's going on is a shortest route to/from the hive with a small allowance for deviation to visit flowers slightly off that path.

    10. Re:Different Spaces by Americano · · Score: 2, Interesting

      Since a bee is flying, a simple change in wind direction would have a large impact on finding the best route and locations to stop at.

      That's true, although you could still reduce it back to the TSP easily enough - optimize for 'minimal energy expenditure' instead of 'minimal distance,' since distance traveled factors into the energy expended. Of course, even that still varies in 'real world' conditions - breezes come and go and change direction, birds come by looking for a snack, a lawnmower destroys a dozen of the flowers you were 'planning' to visit; turns out that what looked like an optimal route 20 minutes ago may put you facing a hurricane-force headwind on the return trip, with half the flowers you planned to visit initially destroyed and no longer options for stopping.

      If they're somehow choosing each leg in an attempt to visit a consistent set of nodes every time, in the same order, then I'd say there's some basis to say they're 'solving' this problem; if they're not doing that, it would be more like telling the Traveling Salesmen, "visit some cities until you get tired, and skip some if you just don't feel like going to them, or if a nuclear attack destroys them while you're en route."

      My initial impulse is to say that it sounds like researchers are angling for a little crossover press & grant money by using a buzzword like "biomimetics." Doesn't mean there's nothing to the story, but I'm skeptical that it maps as well to the problem domain as TFS & TFA suggest.

    11. Re:Different Spaces by Americano · · Score: 1

      just an artifact of the researchers re-defining the problem after the fact to only include the flowers the bee visited on that particular trip

      This is my first take on it as well. But we'll see... I'd definitely be interested to see the paper, I just suspect that it won't be as clear of a 'solution' to the TSP as the biology researcher suggests

    12. Re:Different Spaces by Mike610544 · · Score: 1

      I'd wager the network folks would kill to know how that heuristic is so cheaply computed.

      I don't know if you can really call a bee brain "cheap." It's small, but animal brains aren't that well understood. Maybe if we could harness its power it could render 3D better than the latest nVidia card or beat Deep Blue at chess. That pinhead sized brain is controlling flight, processing input from compound eyes, integrating itself into a relatively complex social system, and apparently kicking our ass at traveling salesman.
      br> Computers suck at most of those things, so I'd say the heuristic would be as hard to do as any of the others.

      --
      ... also, I can kill you with my brain.
    13. Re:Different Spaces by uninformedLuddite · · Score: 1

      You also have to factor in whether or not the biologist hasn't got a point to try and prove to the CS graduate boinking his wife

      --
      The new right fascists are bilingual. They speak English and Bullshit.
  22. What this really shows by Anonymous Coward · · Score: 1, Funny

    What this really shows is how efficient society would be if we sterilized all workers.

  23. Nearest Neighbor? by wandazulu · · Score: 1

    I read TFA and it seems more focused on the excitement that the bees can solve the TSP, but the researchers never seem to indicate how the bees are doing it, and given the nature of the problem, how do they know it really is the "optimum" solution. Based on my limited work with the TSP, the only algorithm that, for my purposes, has worked the best is Nearest Neighbor, which is also, I believe, the simplest but also most naive.

    Would be interesting to know what the bees' algorithm is.

  24. I'd mod you up if I could. by Anonymous Coward · · Score: 0

    It was at least an interesting read.

  25. The numbers are a nice touch by countertrolling · · Score: 1

    In the number 8 bee... Yaritza Burgos!

    Gentlemen, we have a race

    --
    For justice, we must go to Don Corleone
  26. Not the TSP by sco08y · · Score: 5, Interesting

    Is it possible that the honey bees aren't really solving the Traveling Salesmen problem at all, but rather employ some sort of unknown heuristic that leads to solutions that's close enough to optimal for it to look like that they've solved it?

    This article is fundamentally misstating the TSP. If it were the TSP, the bees wouldn't get to choose their route.

    As other bees come in and report their route taken and pollen collected, another bee will put bits of those routes together. (Which would be the surprisingly difficult part to me, since the bees are doing some pretty complicated vector algebra.) But a bee is going to have a budget of so much daylight and will attempt to maximize the amount of nectar it collects in that time, given the bits of routes collected by other bees and its own scouting. But it's not given a list of points it has to hit, it picks its list from a larger list of points. That's fundamentally different from the TSP, even solving it by heuristic.

    1. Re:Not the TSP by brownerthanu · · Score: 2, Insightful

      Daylight is not what a bee is trying to conserve, it's flight distance. Bees minimize the distance flown to minimize the amount of energy they expend. The ratio they try to minimize is (energy expended)/(pollen collected). Pollen is turned into energy. When bees leave the hive they have a certain amount of energy they can expend. If a bee gets blown too far off track, or expends to much energy in some other way, it will run out of gas and die. But, it's better to see the problem from the perspective of the hive. The hive wants to gain as much energy as possible, while expending as little as possible.

      So, actually the problem is fundamentally the same as TSP. It's a distance minimization problem. And just because they use a 'heuristic' doesn't mean that they don't have a solution to the TSP problem. An biologically-based genetic algorithm is no less valid than a computer algorithm.

    2. Re:Not the TSP by medlefsen · · Score: 2, Insightful

      In fact it's much closer to one of the other classic NP-Complete problems
      http://en.wikipedia.org/wiki/Knapsack_problem

    3. Re:Not the TSP by sco08y · · Score: 1

      Strictly, it's flight distance, but I've always heard pilots talk about flight time since most flying is at cruising speed and consumes a relatively constant amount of fuel. A bee is probably measuring blood sugar. Either way, they still get to choose their route and that's not in the TSP description.

      And heuristics (whether biological or not) produce non-optimal solutions, so they don't count. Non-optimal, even close to optimal, simply isn't allowed in the problem specs. It's extremely useful to rewrite TSP as TSP' to allow heuristic solutions, but TSP' is fundamentally different from TSP as it's not an NP-complete problem any more.

      That's another reason to be cautiously skeptical of this article: if a bee can really find *optimal* solutions, we need to start taking their brains apart because solving an NP-complete problem so quickly would be a total revolution in computer science. We don't know that it can't be done, but we've certainly had no luck so far.

      And if you really want to look at what the bees are doing, they have to account for flowers with more or less nectar, and they're considering energy spent flying rather than simple distance, so their problem is: given this budget of energy, and this list of known routes and amounts of nectar, construct a sortie that will find the most nectar possible. That's sounding less and less like the TSP.

    4. Re:Not the TSP by NatasRevol · · Score: 1

      Well, the bees have to deal with wind.

      Imagine in the knapsack problem if the weight kept changing randomly, including exceeding the limit of the knapsack.

      --
      There are two types of people in the world: Those who crave closure
    5. Re:Not the TSP by Americano · · Score: 3, Insightful

      The questions this raises are:

      1) Do bees always visit every flower (node) on the map?

      2) Once they've calculated their "optimal" route, do they ever vary it?

      3) If it's a heuristic - does it scale? Will it work for more than 100 flowers spread across something the size of my backyard? Or is the heuristic going to break down or become completely unworkable once the number of nodes reaches a certain point?

      What we can say so far is that they "appear" to be solving the problem, for some limited subset of the problem space. In actuality, they may be using some very simple rules that approximate the solution for small numbers of nodes and distances, but which would result in inefficient or sub-optimal solutions on a larger scale.

      In other words - I can catch a pop-fly to right field. Does that mean I can also use the same heuristics I'd use to catch a small object at low speeds over small distances to accurately launch a Patriot Missile to intercept an ICBM? The physics are the same, but a little jitter of a couple millimeters in my calculations when applied to a distance of several hundreds or thousands of kilometers will result in a pretty big miss.

    6. Re:Not the TSP by Mikey48 · · Score: 1

      Yes, that's what I was thinking too.

      Another problem is that the bees aren't constrained to follow our roads, which are non-direct. Based on the distance travelled and the turns made, the bee can quickly deduce there must be a shorter path and then just fly a more direct route. This won't work for a salesman because he may take what he believes to be a shorter road and find that it’s actually longer. Because of these path limitations the travelling salesman problem is a more difficult to solve.

    7. Re:Not the TSP by ResidentSourcerer · · Score: 1

      Having WATCHED bumblebees at work, I am doubtful about the paper's claim.

      Example: We have a stand of delphinium. For those of you who are not gardeners, and individual plant will have 3-8 spikes of flowers. Each spike has blooms on about a 2 foot segment.

      Bee will typically do 2-3 flowers on one spike, then move to another, not necessarily the adjacent. Then move to another, perhaps back to the first. The only decision making seems to be, "Does this flower have enough pollen to plunder" as visits are usually either 1-2 seconds long, or 5 seconds long. I've seen bees revisit the same flower.

      --
      Third Career: Tree Farmer Second Career: Computer Geek First Career: Teacher, Outdoor Instructor, Photographer.
  27. Grass seed? You mean CORN? by SmallFurryCreature · · Score: 4, Funny

    Gosh, that is one hell of a bee if it has the brain of a piece of corn... or is corn not a grass anymore? At least when you take some idiotic comparison, take one that has a non-changing size. Penny is okay because all pennies at least within a country tend to stay the same. But grass seeds?

    Next up is "brain the size of a pinhead". Oh okay, so there are many sizes of pin but at least we can assume some kind of standard. And that is FAR smaller then most grasses I know and see seeds of in Holland.

    Otherwise intresting stuff but I loathe this "make it easier" by obuscating the facts.

    Number of neurons in honey bee brain = 950,000 (from Menzel, R. and Giurfa, M., Cognitive architecture of a mini-brain: the honeybee, Trd. Cog. Sci., 5:62-71, 2001.)

    Now THAT is a fact. We? We got 100 billion. So, while a bee has a tiny brain compared to ours, it is HARDLY simple. And because it is far smaller and far more primitive it doesn't need as as much intelligence to deal with things it doesn't need to. Listening and producing speech is complex, but bees don't bother with that. Living for half a century and remembring everything is complex. But bees don't do that.

    This why computers can do math so fast despite being so stupid, because they only do math.

    How can the bee do route calculation with close to a million neurons? I have no idea but didn't research show that far fewer rat neurons could fly a plane? I think some people fastly underestimate the complexity of the brain even small ones. We already know that a neuron is far more then a simple transistor so 1 million super transistors would make for a hell of a complex computer. Suddenly it doesn't seem to odd that a bee can do computations far more complex because THAT is what it is designed to do. You could just as easily marvle at the fact that the bee with its tiny brain can fly, while I with my large brain can't. And no I don't just mean I don't have wings, I mean that if you put me in a helicopter you would have a horrible crash in seconds and that is in the passenger seat.

    Marvle at nature, learn from it but don't belittle it. It takes us year to program a robot to walk very very slowly. A deer learns it in minutes and this includes learning to control legs locked up in a womb for months. We can either accept that nature is amazing or we are very very poor programmers... as a developer, I choose to believe that nature is amazing.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

    1. Re:Grass seed? You mean CORN? by Anonymous Coward · · Score: 0

      Gosh, that is one hell of a bee if it has the brain of a piece of corn... or is corn not a grass anymore? At least when you take some idiotic comparison, take one that has a non-changing

      I hear your area was forecasted to receive "pea-sized hail" this week. Someone should go inform them of their error.

      Don't worry about us. We'll hold all discussions here until you get back. Honest.

    2. Re:Grass seed? You mean CORN? by geekoid · · Score: 1

      IF the idiotic comparison didn't change in size, it wouldn't be an idiotic comparison.
      OTOH: applying common sense to a general article is probably something you should learn to do.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  28. Well... by rlanctot · · Score: 0, Redundant

    I suppose we finally have the proof that Bee = NBee.... /ducks algorithm analysis text

  29. The computer isnt going to die by 192939495969798999 · · Score: 2, Insightful

    The computer isn't going to die if it doesn't get the right path, the bee might. Death is a remarkably strong motivator to be efficient.

    --
    stuff |
    1. Re:The computer isnt going to die by Bob-taro · · Score: 4, Funny

      The computer isn't going to die if it doesn't get the right path, the bee might. Death is a remarkably strong motivator to be efficient.

      Don't tell my boss.

      --
      Prov 9:8 Do not rebuke mockers or they will hate you; rebuke the wise and they will love you.
    2. Re:The computer isnt going to die by Anonymous Coward · · Score: 0

      So the solution is self-aware computers so we can threaten to turn them off. That will teach them to behave and compute faster for us.

      HAL: Just what do you think you're doing, Dave?

    3. Re:The computer isnt going to die by Anonymous Coward · · Score: 0

      "The beatings, having proven a poor motivational tool, have now been replaced by hangings."

      At some point, you'd hope OSHA would get involved. Then again, maybe not. Government = bad. Four legs better!

    4. Re:The computer isnt going to die by dzfoo · · Score: 1

      By the same token, the bee will not crash into the floor as a result of an exception if the algorithm fails to be optimal by say, re-visiting the same flower twice, crossing paths with another bee, or skipping a flower.

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
  30. Natural selection at work by gmuslera · · Score: 1

    The bees that didn't knew how to somewhat "solve" that are the dead ones.

    1. Re:Natural selection at work by BobMcD · · Score: 1

      The bees that didn't knew how to somewhat "solve" that are the dead ones.

      This is the part of evolutionary theory that just doesn't seem to mesh. I realize you used the word 'somewhat', but I disagree that it is impossible that mediocrity would cause an entire species to die off. The best processes certainly don't hurt, but there are bound to be millions upon millions of other factors deciding which species make it and which do not. Anyway, I only mean to say that there could be bees that are both better and worse at this, and the fact that they're not dead isn't information of much at all.

    2. Re:Natural selection at work by gmuslera · · Score: 1

      I know that humans had their own crisis, and could had go down to less than 10k like 70k years ago, and what saved them could had been more an ability (i.e. more resistence to cold) than a geographical location. With bees could be the same, just that you have more time, and more crisis (i bet most ice ages had a share here), to put them thru a test. All the times that something kills almost everyone makes the advantages that could help you to survive to be more common.

  31. Any colony optimisation by comcn · · Score: 1

    Or just use Ant Colony Optimisation, which has been doing this for 18 years.

  32. It don't matter what you call it by SmallFurryCreature · · Score: 1

    The travelling salesman problem is the problem of finding the shortest route between a set of points. It doesn't matter HOW you solve it. You could time all possible journey's, you could do a sorting routine or god knows what. But if you solve it, you solved it.

    That is what the bee does. And maybe if we can learn HOW the bee does that, we might learn something from it. It might be a smarter way of solving things. Or maybe Bees have an additional variable from an unknown input that helps solve it.

    And as for your brain just GUESSING? Jezus, do you know how FUCKING difficult GUESSING is? Been trying to get computers to make a best guess for ages. It is advanced computer science.

    Calculating the path of a ball in flight is actually pretty easy. All I need is a couple of accurate measurements of its position in time and space. Trivial stuff. But GUESSING from in complete and missing data were a ball is going to be AND being right most of the time or at least have moved an appendage in time so that when more accurate data is available I already got the appendage in roughly the right area? THAT is NOT easy. And yet our brain and the brains of many an animal does it. And does it VERY fast indeed. Throw a bouncy ball at a cat and watch it chase it (or in the case of my cat decide in a pico second that "you threw it, you catch it" is the wisest course of action and fall asleep), control a body and CATCH it. Meanwhile we marvel at a robot because it managed to stand upright...

    Now if a machine could duplicate the brains method for catching a ball, that would be very handy indeed. Because SOMEHOW our brain does do it. And yes, this DOES include wind velocity correction. We are aware of the wind and we correct for it. Thanks to our brain. It doesn't matter that we don't use a laser ranger finder or dopler radar, that is just details. It is the logic that can use incomplete, unreliable data that results in accurate results that scientists are interested. It would allow for computers to keep functioning even when sensor data goes missing. An essential for computers/robots to come out of the production halls and into our daily lives. If a spell checker could guess as accurately what I meant to write as YOU can read over my mis spellings and lousy grammer, Clippy would be a lot more usefull.

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

    1. Re:It don't matter what you call it by gnasher719 · · Score: 2, Insightful

      The travelling salesman problem is the problem of finding the shortest route between a set of points. It doesn't matter HOW you solve it. You could time all possible journey's, you could do a sorting routine or god knows what. But if you solve it, you solved it.

      That is what the bee does. And maybe if we can learn HOW the bee does that, we might learn something from it. It might be a smarter way of solving things. Or maybe Bees have an additional variable from an unknown input that helps solve it.

      That's not what the bee does. That is what someone _claims_ the bee does. Big, big difference. I imagine they found that the bees visit flowers faster than in random order, or faster than the order in which they were told about the flowers. I think a simple algorithm like "always visit the nearest flower that wasn't visited yet" would probably impress these "scientists" no end.

      BTW. Bees shouldn't even try to solve the travelling salesman problem. Assume a single flower very far away - the best solution may not be to figure out the quickest path to visit is, but to ignore it.

      As a programming exercise: The "Realtime Travelling Salesman" problem: Give the computer a list of places to visit, with a list of travelling times from each place to each other place. Then the computer starts calculating. As soon as it tells you the first destination, you go to that destination. The computer can continue calculating while you travel, but if it doesn't give the next destination when you arrived at the first destination, you have to wait. Obviously the total time from the start of the calculation until all places are visited needs to be optimised. That means optimising the calculation time as well, and picking a goal when further calculations likely waste more time than they could save.

  33. Kinda reminds me by Anonymous Coward · · Score: 1, Interesting

    Kinda reminds me of the Geek shopping team. If you want perfect you'll never get close enough to pull the trigger but shoot for close enough and you're off to the races.

  34. Not really news by Thyamine · · Score: 1

    Don't we already know that babies can pick out shapes/voices/etc that take computers all sorts of processing power to figure out. Or how we are still trying to refine things like recognizing a face or depth or whatever, when people just 'know'. The brain is still amazing despite all the power computers now have, regardless of human or insect species.

    --
    I will shred my adversaries. Pull their eyes out just enough to turn them towards their mewing, mutilated faces. Illyria
  35. 165 million years of evolution, anyone? by grikdog · · Score: 1

    I think computer algorithms fail to appreciate the cost-benefit of their suboptimal solutions, and need about 70 million years of evolution to get it right. It's probably also true that these vespids had another use for the algorithm before they evolved into co-adapted pollinators, possibly dating back another 100 million years or so. The earliest honeybees in amber, dating to the Cretaceous, are obviously honeybees, which makes their clade and its adaptations immensely old.

    --
    ``Tension, apprehension & dissension have begun!'' - Duffy Wyg&, in Alfred Bester's _The Demolished Man_
    1. Re:165 million years of evolution, anyone? by grikdog · · Score: 2, Interesting

      Also, why assume that ganglia are the progenitors of such an unexpected result? In insects, as in shrimps and crabs, those densely packed ommatidia provide a ready made neural net suitable for extraordinary in-flight calculations, such as reaction times 10x greater then human reflexes in hunting dragonflies. Just because they're called "compound eyes" doesn't mean they function ONLY as "eyes."

      --
      ``Tension, apprehension & dissension have begun!'' - Duffy Wyg&, in Alfred Bester's _The Demolished Man_
  36. What makes you think by turkeyfish · · Score: 1

    an ordinary honey bee only visits 5 flowers over the course of a day? Its probably on the order of hundreds, usually one ever 50-120 seconds, when not spending time in the hive.

    1. Re:What makes you think by Surt · · Score: 1

      I'd love to see the scientists' evidence that the bees solved a large, difficult TSP problem. If the bee is really optimal on 100 flowers, for example, how did they verify that optimality? I don't think there's a computer around that can verify the bee's solution, nor can we discredit it.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    2. Re:What makes you think by eggnoglatte · · Score: 1

      Well, traveling salesman is an NP hard problem. That means you can VERIFY whether a proposed solution is optimal in polynomial time. FINDING the optimal solution is slow (basically you have to try all possible solutions and verify them individually until you find the best).

    3. Re:What makes you think by gphilip · · Score: 1

      Well, traveling salesman is an NP hard problem. That means you can VERIFY whether a proposed solution is optimal in polynomial time.

      No, it doesn't mean that.

    4. Re:What makes you think by eggnoglatte · · Score: 1

      Yes. I had a brain fart and wrote "NP hard" rather than "NP complete". TS is NP complete and therefore can be verified in polynomial time, so the basic gist of my original message stands.

  37. Re:Bee Spam! by TaoPhoenix · · Score: 1

    I want it!

    Hello Man.
    I am Bee #32653. Do you want better flowers for your mate?
    Click here!

    --
    My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
  38. Solving a different problem by goombah99 · · Score: 5, Informative

    The canonical traveling salesman problem usually is states that all cities must be visited. The bee is not under this constraint. This changes the problem from a do-or-fail NP hard problem to a more simple approximate optimization problem. The latter have many many many many many good solution paths in computers. Perhaps the newest and best approach that resembles the bee's agent based learning approach is called Probability Collectives (google it). You'll want to learn it since it works well on parallel computers, distributed computing, and most of all on systems composed on many dumb subunits on a sparsely connected network with no central command and control (think mobile devices).

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:Solving a different problem by blackfrancis75 · · Score: 1

      ..it since it works well on parallel computers, distributed computing, and most of all on systems composed on many dumb subunits on a sparsely connected network with no central command and control (think mobile devices).

      or, alternatively, think Borg

    2. Re:Solving a different problem by Anonymous Coward · · Score: 0

      Exactly, in the traveling salesman problem all cities must be visited and the existing road network must be utilized. The bees fly directly to their end destination and don't have the same constraints as the salesman. Now if the salesman was given a helicopter to move like the bee does, the problem would be reduced to a basic optimization problem.

    3. Re:Solving a different problem by timeOday · · Score: 4, Insightful
      Exactly! The take-home lesson from nature is that worst-case analysis of exact algorithms (i.e. most of what we traditionally studied in CS) is pretty useless. Nature doesn't optimize, it satisfices.

      I suppose the exception is when competing against an intelligent adversary, who constantly strives to give you worst-case problems and where a small margin of victory is a victory nonetheless.

    4. Re:Solving a different problem by avandesande · · Score: 1, Interesting

      Yes, it's easy to solve outside of a computer- tie a bunch of strings together representing your routes.
      Any two points are easily resolved by picking holding the points in each hand and pulling it taught.
      The taught strings are your route.

      --
      love is just extroverted narcissism
    5. Re:Solving a different problem by Dr.+Gamera · · Score: 1

      Yes, it's easy to solve outside of a computer- tie a bunch of strings together representing your routes. Any two points are easily resolved by picking holding the points in each hand and pulling it taught. The taught strings are your route.

      Congratulations, you just solved the shortest-path problem, which is also solved by several known polynomial-time algorithms.

    6. Re:Solving a different problem by lysdexia · · Score: 1

      Great, now I have to go buy thumb tacks and string. If this actually works like I think you think it works, then I think I have a lot of thinking to do.

      Thanks.

    7. Re:Solving a different problem by blair1q · · Score: 1

      The canonical TSP also starts with a random set of cities to visit. The bee starts with a set that are already nearly sorted by the route on which they were discovered. I'd bet a CUDA-based program could solve most of these in a few milliseconds, while it could take a bee several trips.

    8. Re:Solving a different problem by Java+Pimp · · Score: 3, Interesting

      I believe the bee's have an advantage over the typical traveling salesman problem in that the bee's are finding the shortest path on a fully connected or complete graph. The traveling salesman problem is hard because the graph is not necessarily fully connected so all paths have to be examined individually. The bee presumably also has a predetermined starting node, the one closes to where it is released.

      I believe the shortest path on a fully connected graph is found by always choosing the closest non-visited neighbor from the current node. The difference in calculation is O(n!) vs. O(n^2).

      --
      Ascalante: Your bride is over 3,000 years old.
      Kull: She told me she was 19!
    9. Re:Solving a different problem by Anonymous Coward · · Score: 0

      It has been so long since I fooled with this problem, I don't exactly remember my solution but I do remember that in college I was not doing too well in a class which involved this math. I went to the teacher and asked if I could solve the problem in 2 iterations (showing him the method) would he give me an A. He said yes. I showed him and produced the results. On the final there were 2 5x matrix of these. It took most people about 2 hours to get a solution. I was done in 2 minutes. The teacher reneged on his deal and I got a C. There is I know a very good simple solution to this problem. Basicically if I remember correctly it involved reducing a list or possible routes and ordering them Greatest to Least and then linking based upon that. I will confess that I had exceptional practice with the algorithm at the time as I was doing cabinet making and this was how we reduced waste on wood. This would fit with the natural system because natural systems are differential calculators.

      It does illustrate how inanely stupid the math types are though. They work and work at a problem by a "known method" and refuse to look at another method until humiliated by it.

    10. Re:Solving a different problem by somersault · · Score: 1

      Now if the salesman was given a helicopter to move like the bee does, the problem would be reduced to a basic optimization problem.

      Or he could start running drugs - risky, but with much more potential reward!

      --
      which is totally what she said
    11. Re:Solving a different problem by somersault · · Score: 1

      I suppose the exception is when competing against an intelligent adversary, who constantly strives to give you worst-case problems and where a small margin of victory is a victory nonetheless.

      You mean like when using Windows?

      --
      which is totally what she said
    12. Re:Solving a different problem by avandesande · · Score: 1

      Sorry, I got the description wrong (senior moment)

      Just pinch your starting point in one hand and let the rest of the items hang below- the knots will be ordered correctly top to bottom solving the traveling salesman problem.

      --
      love is just extroverted narcissism
    13. Re:Solving a different problem by poopdeville · · Score: 1

      Now if the salesman was given a helicopter to move like the bee does, the problem would be reduced to a basic optimization problem.

      TSP is a basic optimization problem. It just happens to be hard. And moving to helicopters doesn't change the mathematical content of the problem. Guess what: helicopters travel in paths too! And you still need to run a circuit between multiple cities.

      --
      After all, I am strangely colored.
    14. Re:Solving a different problem by poopdeville · · Score: 1

      I believe the bee's have an advantage over the typical traveling salesman problem in that the bee's are finding the shortest path on a fully connected or complete graph.

      The TSP handles disconnected components very simply: you don't visit them. How could you? They aren't connected to the road network.

      --
      After all, I am strangely colored.
    15. Re:Solving a different problem by mopower70 · · Score: 1

      Completely OT, but I read your sig as "trannies". It was much funnier that way.

    16. Re:Solving a different problem by Anonymous Coward · · Score: 1, Insightful

      I doubt this works, otherwise computers could map cities or whatever to "points" and "tie strings" around them, then do a physics simulation to solve the problem. You could then use the physics simulations to build a system of formulas that find the answer to the problem directly without having to use a sort of analogy.

    17. Re:Solving a different problem by Java+Pimp · · Score: 1

      I didn't say anything about disconnected graphs.

      The TSP deals with connected graphs in which there is at least one path from any one node to any other node.

      A fully connected graph is a connected graph where there is a single edge connecting every node to every other node. The fully connected graph makes the the shortest path much easier to find simply using a greedy algorithm.

      The difference in this case is that the starting point presumably is not arbitrary but predetermined. (closest to where the bee is released) The shortest path then does not necessarily have to be the actual shortest path through the graph but the shortest path from the given start point. The greedy algorithm will work for a complete graph but not the connected but not complete graph.

      --
      Ascalante: Your bride is over 3,000 years old.
      Kull: She told me she was 19!
    18. Re:Solving a different problem by Anonymous Coward · · Score: 0

      Fail. The taut strings are the shortest absolute paths. There's no guarantee that they connect in any way--in fact, it's almost certain that somewhere along the line, they don't connect..

      Function Pull_Taut() //Only use this algorithm if you really, really hate whoever's traveling this week.

    19. Re:Solving a different problem by Anonymous Coward · · Score: 0

      Nature doesn't optimize, it satisfices.

      I beg to differ. Evolution seems to be pretty good at achieving efficiency - I guess bees optimize the tradeoff between being able to fly efficient paths and having a too big and heavy brain to carry around (that would cost energy)

    20. Re:Solving a different problem by skelterjohn · · Score: 1

      This seems like nonsense, but it's hard to prove it since you left it severely under-described.

    21. Re:Solving a different problem by Anonymous Coward · · Score: 0

      Also... TSP is a graph-theoretic problem, and does not have the restriction of Euclidean distance. When TSP is restricted to Euclidean-distance problems (generally what you see in the "real world"), it's no longer NP-hard. So any "real-world" solution does not solve the original TSP problem.

    22. Re:Solving a different problem by Chris+Burke · · Score: 1

      . The traveling salesman problem is hard because the graph is not necessarily fully connected so all paths have to be examined individually.

      No, sorry, the Traveling Salesman Problem is often presented as a fully-connected graph, and is NP-Hard in that form. It's difficulty does not rely on the possibility that the graph is not fully connected (and is slightly easier if it isn't, because there are fewer possible paths, though this obviously doesn't affect the big-O).

      I believe the shortest path on a fully connected graph is found by always choosing the closest non-visited neighbor from the current node. The difference in calculation is O(n!) vs. O(n^2).

      Sorry, that doesn't work for some trivial examples. Consider cities A, B, C, D, E, and their pairwise distances as so:

      A-B: 2
      A-C: 4
      A-D: 5
      A-E: 7
      B-C: 2
      B-D: 1
      B-E: 3
      C-D: 5
      C-E: 7
      D-E: 2

      The optimal route is A-B-C-D-E (10). Your algorithm would take A-B-D-E-C (12). Yours would come up with the optimal answer if you started at E (so you have to run the algorithm for each starting point, so it'd be N^3), but I could easily add another instance of the same type of fork so you'd always encounter this hole in your algorithm regardless of where you started.

        Basically, by always visiting the nearest city, you can end up putting yourself very far away from the next city when you run out of close ones, when visiting a more distant city could possibly save you time on subsequent trips.

      It's what makes this a difficult problem -- that you can't arrive at an optimal global solution by solely making local decisions.

      --

      The enemies of Democracy are
    23. Re:Solving a different problem by Garridan · · Score: 2, Insightful

      Epic NP fail. You just described the classical greedy algorithm. Try that on the following:

      A-B: 1
      A-C: 2
      A-D: 3
      B-C: 10000000000000
      B-D: 5
      C-D: 5

      Pinch at A. The vertices will hang in the order ABCD. Your algorithm gives an "optimal" route of weight 10000000000006. A drunken bee with a single wing would beat you there, choosing the path ABDC of weight 11.

    24. Re:Solving a different problem by agbinfo · · Score: 1

      That reminds me of the time I was able to produce electricity through cold fusion but my teachers wouldn't even look at the results. If only I could remember the procedure again.

    25. Re:Solving a different problem by zkp · · Score: 1
      Besides this, there are several other problems with the claim that bees can solve the Traveling Salesman Problem (TSP). The experiments actually show that bees can solves some 'average' instances Euclidean Traveling Salesman Problem (ETSP).
      1. 1. Euclidean Traveling Salesman is probably not NP-Complete.
      2. 2. In fact there is a PTAS (polynomial time approximation scheme) for ETSP so the bees could be computing approximate solutions to ETSP.
      3. 2. Even if we were solving the standard TSP we are only solving it for 'average' case instances. Just because you can solve 'average' case instance doesn't mean you can solve arbitrary instances. With a few exceptions 3-SAT solvers tend to work well for many 'average' case instances.

        I propose a new experiment:
        1. 1. We can pick a hard cryptographic problem (say factoring a number N). We can take our specific instance N from some large public RSA key.
        2. 2. We can easily reduce factoring to TSP to get some specific TSP instance T. This ensures that we pick a hard TSP instance (either that or factoring N and breaking RSA wasn't that hard in the first place). Note that these distances are not necessarily Euclidean!
        3. 3. Add a flower for each vertex in T
        4. 3. Artificially constrain the pathways between flowers so that only direct path between two flowers has distance corresponding to the length of this edge in T.
        5. 4. See what solutions the bees find now.
        6. 5. If the bees do actually find the optimal TSP solution to T then we can use this solution to easily recover the factors of N.
    26. Re:Solving a different problem by Chris+Burke · · Score: 1

      1. Euclidean Traveling Salesman is probably not NP-Complete.

      It provably is. Or specifically, it's NP-hard, and the decision version ("is there a solution of less than length x") is NP-complete, just like the general TSP problem.

      2. In fact there is a PTAS (polynomial time approximation scheme) for ETSP so the bees could be computing approximate solutions to ETSP.

      Seems by far the most likely, yeah.

      I propose a new experiment:

            1. 1. We can pick a hard cryptographic problem (say factoring a number N). We can take our specific instance N from some large public RSA key.
            2. 2. We can easily reduce factoring to TSP to get some specific TSP instance T. This ensures that we pick a hard TSP instance (either that or factoring N and breaking RSA wasn't that hard in the first place). Note that these distances are not necessarily Euclidean!
            3. 3. Add a flower for each vertex in T

      How are you going to add physical flowers if the distances between them do not follow Euclidean geometry?

      I can think of lots of experiments to conduct, but it's hard to know what are worthwhile without knowing exactly what they did. But their experimental setup (having a variety of computer controlled artificial flowers) seems general enough that it would have been pretty easy to set up cases for which well-known heuristics don't provide the optimal solution. That still means the most likely case is just that they're using a different, maybe better heuristic. But it still means we could learn a lot, aside from the basic neurology questions.

      --

      The enemies of Democracy are
    27. Re:Solving a different problem by zkp · · Score: 1

      Whoops, you are correct. Euclidean Traveling Salesman is NP-Complete. I missed an important reference (http://portal.acm.org/citation.cfm?id=290179.290180) when I was reading about the Euclidean Traveling Salesman Problem.

      I had been thinking of a scheme where you essentially would add a tunnel between each pair of flowers, and artificially constrain the paths so that the bees have to travel through the tunnels. You could then artificially make the lengths of some of the tunnels longer than others. However, because ETSP itself is NP-Complete we could reduce factoring to ETSP directly.

      I would agree that there could potentially a few useful heuristic's for ETSP that we could learn from the bees, but I highly doubt that any of these heuristics will actually allow us to solve the really hard instances.

    28. Re:Solving a different problem by Java+Pimp · · Score: 1

      Damn, I love these kinds of brain teasers!

      Of course... you are right.

      The more I think about this the more I think it's not the traveling salesman problem at all. Instead, it is more an optimization problem as the OP suggested. While it appears to be TSP, there are artificial restrictions imposed such that the weights on the edges are dependent on each other. More specifically, they are constrained by the triangle inequality theorem.

      Assuming the graph consists of flowers for nodes and a straight (as the bee flies) line between them are the edges, the weights of the edges being the distance from one node to its neighbor, for any nodes a, b and c, the distance between a and c <= distance between a and b + the distance between b and c. This also assumes the optimal route (to a bee) between neighboring nodes is in fact a straight line. :-)

      In your example, nodes a, b and c fit this theorem, however, the edge between b and d cannot be 1 and still fit. Since a-b is 2 and a-d is 5, b-d can be no less than 3. (a-d <= a-b + b-d) and also no more than 7...

      Given the triangle inequality constraint, I'm thinking the greedy algorithm will still suffice to find the shortest path from a specific starting node to every other node in O(n^2) time. O(n^3) to find the shortest path from an arbitrary starting node. I think this constraint is what differentiates this problem from the typical TSP which has no such restriction. What are your thoughts?

      --
      Ascalante: Your bride is over 3,000 years old.
      Kull: She told me she was 19!
    29. Re:Solving a different problem by Ginsu2000 · · Score: 1

      Good point, this constraint is not kept in the case of the bee. Further, I have read that bees can communicate flying distances and directions very effectively between each other, and as such may infact be solving the problem collectively (or in a distributed fashion) in which case it's not just one bee crunching this problem.

    30. Re:Solving a different problem by chocapix · · Score: 1

      The latter have many many many many many good solution paths in computers.

      Woah, yes there is a lot of good approximation algorithms out there but, really, five many is two many too many.

    31. Re:Solving a different problem by Xest · · Score: 1

      Glad someone posted this, I was beginning to lose faith in the ability of Slashdot to question the conclusions of articles when those conclusions do not seem correct.

      As you say, we can quite easily mimic nature if all we want is a good solution (rather than the optimal solution), this is precisely what things like Ant Colony Optimisation amongst others do.

      It should be simple to simulate an entity that travels about randomally, or based on some trivial heuristic (i.e. in the direction of the sun or whatever) and which is pulled towards attractors (flowers) with the strength of said attractors being presumably based on the amount of some value (pollen?) that remains tied to those attractors. I may not have a full picture of what bees do here, it's just a guess, but bees are not complex creatures, what I am pretty sure of is that we have a strong enough understanding of their behaviour to simulate pretty precisely what they do, but as you say, what they do is not solve the TSP.

    32. Re:Solving a different problem by dido · · Score: 1

      False. The Euclidean traveling salesman problem is just as NP-complete as its more general form. You're not just looking for the shortest path on a fully connected graph, to solve the TSP you're looking for the shortest path on a fully connected graph that links all of the nodes. Big, big difference. Without the latter constraint, Dijkstra's algorithm suffices to give you a solution in O(n^2). Add it in, and you're NP-complete.

      --
      Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
    33. Re:Solving a different problem by Chris+Burke · · Score: 1

      While it appears to be TSP, there are artificial restrictions imposed such that the weights on the edges are dependent on each other. More specifically, they are constrained by the triangle inequality theorem.

      That's true in that they are not in the base statement of the problem, but the Euclidean TSP is still a version of the TSP, and is still NP-Hard and NP-Complete in the decision problem version.

      In your example, nodes a, b and c fit this theorem, however, the edge between b and d cannot be 1 and still fit. Since a-b is 2 and a-d is 5, b-d can be no less than 3. (a-d <= a-b + b-d) and also no more than 7...

      Given the triangle inequality constraint, I'm thinking the greedy algorithm will still suffice to find the shortest path from a specific starting node to every other node in O(n^2) time. O(n^3) to find the shortest path from an arbitrary starting node. I think this constraint is what differentiates this problem from the typical TSP which has no such restriction. What are your thoughts?

      My thoughts are that while my half-assed example generated specifically to foil your algorithm while occupying a minimum amount of my time may not follow the triangle inequality, it is still trivial to generate a similar set of nodes that would obey the triangle inequality and still make a greedy algorithm suboptimal. :)

      The basic observation here is that the greedy algorithm, by always taking the shortest hop at any given step, does not guarantee that subsequent hops from which it has to choose are not much longer than they would be otherwise. Whereas taking longer hops at a given step may provide for better choices of path in the future. The long chain of nearby cities which ends far away from any other city and thus should be the end of the tour is such an example, and doesn't require non-Euclidean space to be set up. You can't arrive at a globally optimal route simply by making local decisions.

      The Euclidean Traveling Salesman (and Manhattan TSP) decision problem is in fact NP-Complete, which I know both because I had to prove it in my algorithms class, and because smarter people than me have proven it. So if the greedy algorithm was an actual solution, and not just a heuristic, then it would be proof that P=NP. But, sadly, it's not. :)

      --

      The enemies of Democracy are
    34. Re:Solving a different problem by Java+Pimp · · Score: 1

      Ok, so the nearest neighbor is still an approximation and not necessarily the optimal solution.

      I'll shut up now and learn from the masters. :-)

      --
      Ascalante: Your bride is over 3,000 years old.
      Kull: She told me she was 19!
    35. Re:Solving a different problem by Chris+Burke · · Score: 1

      I would be concerned that constraining the bees in that way might hinder their navigation ability, and just generally throw another variable into the experiment. It's quite possible to construct hard instances of the TSP where distances between nodes are "as the bee flies" in Euclidean space. Not that it couldn't potentially be an interesting experiment. :)

      --

      The enemies of Democracy are
    36. Re:Solving a different problem by Garridan · · Score: 1

      Oops, I was wrong. You didn't describe the greedy algorithm. You described an algorithm to compute a minimal spanning tree. Greedy algorithm would've optimized my example just fine.

  39. More like swarm intelligence problem solving... by gestalt_n_pepper · · Score: 1

    must be isomorphic to genetic algorithm problem solving, which can also solve the traveling salesman problem quickly, if slightly imperfectly. I'm guessing the same imperfections will show up in the bee's solution to this problem.

    --
    Please do not read this sig. Thank you.
  40. No I for one? by Stargoat · · Score: 2, Funny

    No "I for one welcome our new insect overlords"? Who are you and what have you done with Slashdot?

    --
    Hoist Number One and Number Six.
    1. Re:No I for one? by gestalt_n_pepper · · Score: 1

      I for one welcome the media buzz about our new nectar sucking overlords.

      There, happy now?

      --
      Please do not read this sig. Thank you.
    2. Re:No I for one? by BobMcD · · Score: 1, Offtopic

      The new crop's memes are more along the lines of atheism and Fox-bashing. Gone are the 'in Soviet Russia's, 'I for one's, and 'insensitive clod's. Long live the 'get off my lawn'.

    3. Re:No I for one? by dominious · · Score: 1

      omg! for a minute there I forgot that I was reading /. and I actually thought some interesting points for improving maybe some algorithms...

      Thanks for bringing me back to reality.

  41. Algorithms by abbynormal+brain · · Score: 1

    (A) Bee algorithms - worked out by God (done)
    (B) Human (bigger than bees but afraid of them - worked out by God (done)

    (A) + (B) = Dead Bee (and order in my universe)

    --
    L'esperienza de questa dolce vita (The experience of this sweet life) - Dante Alighieri, The Divine Comedy
  42. Slime molds do something similar by smellsofbikes · · Score: 5, Interesting

    If you build a maze that has multiple routes through it, and two pieces of food in it, and drop a bunch of slime molds into the maze in various places, they will fairly rapidly coalesce into a single slime mold that extends through the maze on the shortest route between the two bits of food. Now, that's no traveling salesman problem -- but slime molds are single-celled animals, so they don't have *any* brains to do the calculations. They just rely on minimizing surface area and maximizing access to food. (And being able to stop being multiple organisms and start being a single organism, but that's an aside.)

    --
    Nostalgia's not what it used to be.
  43. How are they at Ticket to Ride? by JackPDiddly · · Score: 2, Funny

    A bee will never beat me at Ticket to Ride, the ultimate traveling salesman problem game.

  44. Re:Bee Spam! by NatasRevol · · Score: 1

    Click here to find out how this guy made his stamen 50% larger!

    --
    There are two types of people in the world: Those who crave closure
  45. Ask a question, get an answer by Brett+Buck · · Score: 1

    We need a better algorithm.

  46. Re: Misunderstanding by turkeyfish · · Score: 1

    "The second problem is this "Computers solve it by comparing the length of all possible routes and choosing the shortest."

    Well they can try, but this does not provide a closed solution since there are too many comparisons to evaluate for optimaliity. In the traveling salesman problem there is a very high rate of generation of subproblems in making any comparison as to which of any possible combination of nodes to discover the optimally correct solution. As one adds more nodes to the graph, the number of their combinations multiply at a faster rate than
    does an iterative procedure in counting (compare) them. Consequently, the problem of choosing an optimal solution depends not only upon what one how one defines optimal, but also becomes non-polynomial bounded the as the number of potential additional nodes are considered increases the number of subproblems. Hence, the number of subproblems that must be solved in order to work out the potential optimal solution is enormous even for a few nodes. Get out to 1500 or so and you are talking about more potential combinations than electrons in the known universe. No supercomputer yet devised comes up with that solution in real time of where in space these electrons must be in order to move the least among their positions that won't take millions of years.

  47. Bullshit by nedlohs · · Score: 2, Insightful

    So they have proof that these bees solve the travelling salesman problem? Not just get a good approximation? Not just solve a slightly constrained version? Not just solve a slightly different problem? You know all the things that computers do just fine thank you very much, and aren't NP-hard.

    I notice the journal is a Naturalist one and the researchers aren't are bioligists and chemists not computer scientists.

    I have no difficulty believing bees have evolved (or been designed with if you must for those I don't feel like arguing with) a very efficient way of collecting pollen - it is after all fundamnental to their survival and reproduction. But that they happened to solve an NP-Hard problem that they have no need of solving (does an individual bee really visit *every* location on one trip? surely some imperfection would help in discovering new plants by having bees follow different paths?) - that seems a bit of a stretch.

    1. Re:Bullshit by 91degrees · · Score: 1

      That's what I was thinking. You can get a good starting point for the travelling salesman problem just by picking the closest non-visited node (typically 25% longer than optimal). Iterative improvement will get you very close to the best possible solution.

  48. Compound Eyes by jomama717 · · Score: 1

    Maybe they are able to quickly identify distinct groups of flowers on their first pass using their compound eyes, which by necessity would be tightly clustered. Then they just visit the groups in the most obvious order starting at the point they observe the last flower. They could compare 100 runs over the same flower bed and easily find groupings by overlaying the paths.

    --
    while [ 1 ]; do echo -n -e "\xe2\x95\xb$((($RANDOM&1)+1))"; done
  49. Bogus claim by Animats · · Score: 4, Informative

    Oh, this one again. I've seen this claim made for neural nets back in the 1980s, and for DNA computers in the 2000s. It's bogus.

    The guaranteed-optimum solution to the TSP is NP-hard. The "gets to the optimum 99% of the time and close to it all the time" solution is easy. It was developed at Bell Labs in the 1960s. Here it is:

    1. Link all the nodes in some arbitrary path.
    2. Pick two random links, and cut the path into three pieces by cutting those links.
    3. Try reassembling the three paths in all possible ways (there are 3*2*2*2*2/2 = 24 different paths) and measure the length of each. Pick the shortest.
    4. If the path length hasn't improved in some reasonable number of iterations, stop. Otherwise go back to step 2.

    This is a particularly efficient way to do it. I once coded this for a PC/AT, and it took less than a second for N=50. Almost any scheme which randomly breaks links and tries to improve the path will eventually converge on a near-optimum solution.

    1. Re:Bogus claim by Anonymous Coward · · Score: 0

      Oh, this one again. I've seen this claim made for neural nets back in the 1980s, and for DNA computers in the 2000s. It's bogus.

      The guaranteed-optimum solution to the TSP is NP-hard. The "gets to the optimum 99% of the time and close to it all the time" solution is easy. It was developed at Bell Labs in the 1960s. Here it is:

      That's not true. There is no approximation algorithm that always returns no worse than k times the optimal solution unless P=NP. See section 2.3 of the following pdf for more information.

    2. Re:Bogus claim by Animats · · Score: 1

      That's a worst-case analysis. A neat one, though. If you don't insist that the algorithm guarantee> a solution within some error bound, you can get much faster results. There are, however, pathological cases that will take longer. Non-deterministic algorithms usually come in at O(N^2). See "A Survey on Travelling Salesman Problem".

  50. In my ignorant opinion...

    If we had the answer to how bees can do this so much better than computers, we'd have the answer to making self-aware machines - I suspect it has much to do with not being able to effectively program biology, physics, chemistry and a few million years of evolution (the understanding of which we are still far from grasping ourselves) at the microcosmic scale. The bees are not thinking about this, or running a computation. (Have you seen their brains? Me neither. Probably only hobbyists and biologists have seen their brains. That's my point. They're awfully small, and not well suited to algorithms.) They're adapting to their environment in a way we don't -- and can't -- understand; in the same way a computer can't understand the reasons for the rules we program into it. It's too far outside of our frame of reference.

  51. NP-Hard vs NP-Complete by spottedkangaroo · · Score: 1

    NP-Complete is a much tighter constraint on the computational complexity. Yeah, it's NP-H, but it's also NP-C. NP-Hard must sound harder... I dunno.

    --
    Imagine if you weren't allowed to use roads because a bus company complained about your driving 3 times. --skunkpussy
  52. Probability Collectives by Anonymous Coward · · Score: 3, Informative

    Probability Collectives are interesting because they are one of very few optimization alogorithms born from first principles considerations. For example, Simmulated annealing comes from Metropolis/hastings search and that was a brilliant breakthrough that allowed rapid exploration in a way that guarentees detailed balance. Parallel Tempering is the parallel extension of that first-principles argument. Most other search and optimization algorithms are born from either heurisitics expected to align with a search domain or considerations based on efficient algorithmic implementation (such as genetic algorithms). While one can go back and try to develop rigorous theories around expedients and heuristics, and there's a whole industry of that, in the end it's better I think to start from first principles.

    Probability collectives starts with the assumption that that a team of agents will be making decision independently that affect the search path and that each agent is bounded rational. That is, each agent not only can't know everything, but can't be relied on to make optimal choices every time. You then discover what game theory says is the best way to search in this situation. You might visualize a set of airliners trying to negotiate landing times under conditions were some of them have been delayed and you have to reprogram flights in real time with incomplete knowledge.

    As the algorithm searches the bound on the rationallity is annealed towards perfect rationality since more information is learned.

    The algorithm tends to very efficiently use past information (compared to a GA or simulated annealing) but the per-interation computation effort is higher. Thus it is best applied in cases where agents are distributed (no centralized optimizer) or where the cost of gathering data is high or where the agents have available computing time between samples. One example of it's use in dumb-ditributed systems was the control of wing flaps on UAVs. Many micro flaps were agents which, without a central processor, solve the problem of prevent turbulence instability. presently it has achieved the highest wing speed without turbulence of any method, even ones that try to solve detailed physics equations in a central flight computer.

    Most research on this approach is still in academics of the basic theory. very little attention has been placed on efficient coding of the methods. There are no libraries for it available. This would make a great CS master's thesis project for someone or indeed many people since the theory at this point is large.

  53. "Good Enough" programming by mcrbids · · Score: 1

    The travelling salesman problem is nice because the "best" answer is actually the worst answer, in that to arrive at it, you have to perform massive amounts of computation that's difficult to serialize. But bees most certainly do not do this! I'm going to guess that, like people, they automatically factor in the expected cost of computation and look for an answer that's "good enough" - not technically perfect, but an approximation thereof that's cheap to compute.

    Look at it this way - you are more likely to go for a software solution that's a button-click or uses off-the-shelf or already available OSS simply because the computational overhead of writing your own webserver is generally considered too difficult, even though you would arrive at a more technically correct or optimum solution by going at it yourself.

    Good software design consists of many "good enough" solutions that avoid unnecessary "Expensive" computation (Engineer's time) at the cost of "Cheap" computation. (CPU time) When we apply this idea to the algorithm, we can have similar results. Compare simple literal string matching algorithms to the Boyer-Moore search algorithm - dramatic improvements in performance by pruning the amount of necessary computation!

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
  54. NP=B? by Anonymous Coward · · Score: 0

    NP=B?

  55. A tad different by nashv · · Score: 1

    Except that flowers aren't inert. A bee is getting constant feedback to the "closest" flower, because it can see it (albeit in UV), and smell it. There is also reinforcing as bees communicate with each other. So many of you are IT guys - you know that its far easier to track agents and find optimal paths when each agent is sending out a signal that varies in amplitude/time and possible even leaving a gradient. In the traveling salesman problem, locations are essentially just that - non-interactive coordinates. Also the salesman doesn't have an army of other salesmen who will share information with him.

    It's very interesting to see how bees work, but this definitely is NOT the classical traveling salesman problem. Same with slime moulds, their strategy is to follow chemical gradients, and then communicate WITH each other, reinforcing that path.

    --
    Entia non sunt multiplicanda praeter necessitatem.
  56. my BS meter pegged... by Anonymous Coward · · Score: 0

    No details are given, and the article contains the worrisome BS: “Computers solve it by comparing the length of all possible routes and choosing the shortest”. What size problem do bees solve? Less than, say, 10 flower groups? Do they get a good solution (which can be trivially done via computer or human inspection for even large N), but not always perfectly optimal solution ? How do bees do on 10^4 flowers or more where the traveling salesman problem’s Np completeness causes problems? The paywalled journal’s abstract describes experiments with a total of seven flower groups- sure didn’t induce me to pay $15 for the article.

  57. The "complete" in NP-complete by Anonymous Coward · · Score: 0

    The TSP is not only NP-hard, it's NP-complete. In case you didn't know, the "complete" in NP-complete means that the problem is formally equivalent to any other NP-complete problem and that if an efficient solution is found to one NP-complete problem then an efficient solution follows for all NP-complete problems. Thus, if the bees are really SOLVING the TSP, then we now have a means of solving all NP-complete problems, and we can replace our fancy supercomputers with bee hives. Somehow, I doubt it.

  58. Massively Multithreaded Genetic Algorithm by sneakyimp · · Score: 2, Interesting

    I'd be willing to bet it has something to do with the fact that you have an entire hive of bees each attempting to find the shortest path and then sharing their experience via that 'bee dance' thing (http://www.youtube.com/watch?v=-7ijI-g4jHg). Each bee is a thread with its own particular solution to the problem. Each bee's behavior contributes random heuristic alterations to the nectar-gathering path based on bee instincts evolved over millions of years. The bees periodically exchange solutions via the bee dance. It's a classic Genetic Algorithm.

  59. Already solved by srussia · · Score: 1

    The solution to the Traveling Salesman Problem has already been found--it's called a chastity belt.

    --
    Set your phasers on "funky"!
  60. hence by Colin+Smith · · Score: 1

    flowers == advertisements

     

    --
    Deleted
    1. Re:hence by RandyOo · · Score: 1

      I hate advertisements.

      Thanks a lot, pal.

  61. illogical by Thud457 · · Score: 1

    Why on Earth would someone worship an entity that feels the compunction to deceive them from the get-go?!

    --

    the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

    1. Re:illogical by Maxo-Texas · · Score: 1

      Why on earth would you want to worship a deity who sets bears on children who mock a bald man (elijah?) and is planning ahead of time on killing billions of humans in really gruesome ways (a lake of blood 6' deep 400 miles in diameter from the deaths-- revalations) and lots of other really evil nasty stuff?

      Seriously... revalations gets very lovecraftian. everyone should give it a look! It's kinda cool.

      --
      She was like chocolate when she drank... semi-sweet at first and then increasingly bitter.
    2. Re:illogical by geekoid · · Score: 1

      Fear. It's why the church invented Satan, and the idea of him ruling hell.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  62. XKCD by Anonymous Coward · · Score: 0

    http://xkcd.com/399/
    I had thought the obligatory XKCD was this one. :)

    ~KingAlanI

  63. so wait..... by inerlogic · · Score: 1

    the best algorithms a group of socially inept nerds locked up in flourescently lighted rooms could come up with can't compete with either millions of years of evolution and/or an omnipotent, omnipresent guy who may or may not be bearded...

    *boggles*

    whooda thunk it?

  64. Minimal Interfloral Apiarial Distance Algorithm by Frequency+Domain · · Score: 1

    or "miada". In Spanish that would make it Bee Pee.

  65. ant colony optimization by Anonymous Coward · · Score: 0

    Here's a cool thing for ants, but most of you are probably already aware of it:
    http://en.wikipedia.org/wiki/Ant_colony_optimization

  66. not NP complete by austior · · Score: 1

    Didn't read the article, but it's totally bunk. The two dimensional TSP is not NP complete (unless P=NP), it's actually in P. In order for the 2d TSP to be NP complete, you have to allow crossing paths and arbitrary values (not just the euclidean distance between the nodes) for the lengths of the edges.

    1. Re:not NP complete by Anonymous Coward · · Score: 0

      You are bunk, too. TSP is just as NP-complete for Euclidean and/or planar graphs.

    2. Re:not NP complete by austior · · Score: 1

      The above poster is correct, I just looked it up. I was thinking of the corresponding optimization problems. Obviously, IANACT.

  67. How Bees Are Organized. by antdude · · Score: 1

    http://fakescience.tumblr.com/post/1367356168/how-are-bees-organized shows how bees are organized to beat machines and anything else. [grin]

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  68. Mod parent up--informative by Anonymous Coward · · Score: 0

    thanks

  69. Breaking RSA by zkp · · Score: 1
    I would suggest the following experiment:
    1. 1. Pick the RSA key (N=pq) for some large company (say ebay)
    2. 2. Reduce the problem of factoring N into a traveling salesman instance.
    3. 3. Let bees find the solution to traveling salesman instance.
    4. 4. Recover p,q from this solution
    5. 5. Profit
  70. If you have 10,000 salesman... by bodland · · Score: 1

    All going to the same places and adding a few in between as they went...then meeting other salesman on the route and each exchange new locations....by the time all the salesman return to the home office all new data would be synced at the bar over stingers.

  71. A testament... by Anonymous Coward · · Score: 0

    "A testament to the power of even the smallest batch of neurons or simply evidence our algorithms need work?" ...Or both?

  72. Ahead of its time by Call+Me+Black+Cloud · · Score: 1

    I never understood why BeeOS didn't catch on, since it was clearly the most clever of the bunch. I guess their salesmen traveled efficiently, but not effectively.

    As Alec Baldwin pointed out in Glengarry Glen Ross: A...B...C - Always Bee Closing!

  73. Well I'll Bee by hcgpragt · · Score: 1

    I wonder if those bees just sniff their way into an optimal solution. A bee gathering pollen will probably lose some in flight. Even more so when 'fully loaded'. Those lost pollen would fan out in time. That would mean that from a certain point/ flower, a bee could find the direction of the best path to take by sniffing the direction where the most pollen come from. Doesn't take much computing power. So I guess my question would be: is the hypotheses tested with different weather conditions? Especially wind direction and force.

  74. Quantum neurons? by Anonymous Coward · · Score: 0

    I think we will find that neurons behave more like a quantum computer and less like a finite state machine.

  75. int3ns3_robot by Anonymous Coward · · Score: 0

    I for one wish to welcome our new bee overlords . . .

  76. Get the facts right by Anonymous Coward · · Score: 0

    That's what you get when biologists write articles on computer science topics, a bunch of false claims.

    1. Solving a TSP with a few hundred cities does not keep our computers busy "for days". Concorde, an implementation of what is probably the best optimal algorithm for the TSP can solve thousand-city problems in under three minutes. That's hardly "days" : http://www.tsp.gatech.edu/concorde/benchmarks/bench.html.

    2. State-of-the-art algorithms for the TSP are intricate, but they obviously do not do anything like "computing the length of all possible paths and choosing the shortest". Indeed, the problem is NP-hard and an n-city TSP has (n-1)!/2 possible solutions, computing all of them would not keep our computers busy for days, but rather a bit longer.

    3. I would be very surprised if the bees found the optimal solution every time. If they don't they use a heuristic. The best heuristic algorithms for the TSP can solve 1000-city problems to within a few percent of optimality in fractions of a second.

    4. If the bees would have evolved an efficient (P) algorithm for the TSP, that would change our entire understanding of the field of computer science and computational complexity. That's not going to happen.

  77. Has dedicated hardware been attempted? by iamacat · · Score: 1

    I doubt that bees are any good at playing Quake so I wonder if a dedicated massively parallel TSPU wouldn't do wonders for running time of the algorithm on silicon. Add fuzzy logic as I doubt bees are interested in the theoretically best path, only one that lets the hive survive.

  78. Reporters confuse NP Hard with long running time. by rew · · Score: 1

    A theoretical computation book had an example of a 100-city traveling salesman problem in the last pages of the book. I put the numbers into my PC-XT running at 10 MHz programmed for a day and found the exact same solution that was published in the book in just under a minute of CPU time. The authors of the book had spent an hour I believe on a CRAY to prove that my/their solution was indeed the best possible.

    Some, if not most NP-Hard problems can be solved in reasonable time provided your problem size is small (e.g. a few tens of cities/flowers) or if you accept that your solution might be a few percent worse than the theoretical optimal solution.

    My program simply did "hill climbing". It just used one solution and tested if it could improve on that one solution. This is effectively what the bees are doing as well. They take one solution (fly to that far flower), and if they stumble on a better solution (drain that other flower en route) they proceed to that one....

  79. Zelda dungeon version by jonaskoelker · · Score: 1

    You've collected some blue-ish pale icky green chu-chu jelly.

  80. Bees use their noses by lsatenstein · · Score: 1

    The flowers that are close by have a stronger perfume. Ergo, bees can outwit the computerized travelling salesman problem. Bees do have noses, don't they?

    --
    Leslie Satenstein Montreal Quebec Canada