Slashdot Mirror


Optical Solution For an NP-Complete Problem?

6 writes to let us know that two optical researchers have proposed, as a thought experiment, a novel idea for solving the traveling salesman problem. From the abstract: We introduce an optical method based on white light interferometry in order to solve the well-known NP-complete traveling salesman problem. To our knowledge it is the first time that a method for the reduction of non-polynomial time to quadratic time has been proposed. We will show that this achievement is limited by the number of available photons for solving the problem. It will turn out that this number of photons is proportional to NN for a traveling salesman problem with N cities and that for large numbers of cities the method in practice therefore is limited by the signal-to-noise ratio. The proposed method is meant purely as a gedankenexperiment."

232 comments

  1. Better solution... by Anonymous Coward · · Score: 5, Funny

    I think a couple of gaurd dogs and a shotgun are a good enough method to solve the travelling salesman problem.

    1. Re:Better solution... by spun · · Score: 2, Funny

      You don't even need to go that far. In fact, if you don't have an attractive teenage daughter you should be all right. If you do, you simply do not let the traveling salesman sleep anywhere on your property. Or so I've heard.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    2. Re:Better solution... by Anonymous Coward · · Score: 0

      Just make sure he's not a burglar first

    3. Re:Better solution... by AndersOSU · · Score: 2, Funny

      If you have a hot daughter odds are you already had a traveling salesman problem, you just didn't know about it.

    4. Re:Better solution... by Tablizer · · Score: 1

      I think a couple of gaurd dogs and a shotgun are a good enough method to solve the travelling salesman problem.

      Welcome to Slashdot, Mr. Cheney.

  2. I for one by Mipoti+Gusundar · · Score: 0, Funny

    I for one am welcomming our new briefcase carrying shiny shoes foot in the door encylopadea selling in most efficient manners overloads!

    --
    Will code for new sig.
  3. Article is also NP-Complete Problem by LiquidCoooled · · Score: 4, Funny

    In order that you can solve the article and produce feasible text in quadratic time you have to use a novel technique of installing a PDF reader.

    --
    liqbase :: faster than paper
  4. Obligatory by Tackhead · · Score: 4, Funny
    "Nothing to see here. Please move along, but no, no, no, not over that bridge, you idiot! That's another one of those fucking pathological edge cases that invalidates what would have been an otherwise great TSP equivalence proof, and now I have to start all over again! Curse you, Konigsberg, why didn't the Brits and the Russians and the Germans finish you off when you were fair game!"

    (Did I mention how much I hated my Computability and Complexity courses when I was in college?)

  5. Parallel computing by iamacat · · Score: 4, Insightful

    So effectively each photon is a CPU core and the running time is reduced by massive parallel computing rather than inherent reduction in complexity, which is (N^N)*(N^2).

    1. Re:Parallel computing by bateleur · · Score: 4, Insightful

      The ironic thing being that this is precisely why we care about whether NP=P or not. Because without a polynomial time algorithm, large problems remain intractable even after you massively parallelize them!

    2. Re:Parallel computing by CaptainPatent · · Score: 4, Informative

      So effectively each photon is a CPU core and the running time is reduced by massive parallel computing rather than inherent reduction in complexity, which is (N^N)*(N^2). No. While the language of the paper is indeed rather thick, it seems they are using interference to get individual photons of light to traverse every pathway simultaneously. Even if I am only partially correct there, the photons in the experiment are only detected and are never being used as an instrument for computation.
      --
      Well, back to rejecting software patent applications.
    3. Re:Parallel computing by 2short · · Score: 1

      Exactly. Algorithmically, this is nothing. They're just saying, "What if we had hardware that could perform an unlimited number of calculations simultaneously, and thus render time-complexity of certain algorithms irrelevant?" To which I say: "That would be spiffy, but you don't have such hardware, and Heisenberg says you never will."

    4. Re:Parallel computing by camperdave · · Score: 4, Funny

      ...and Heisenberg says you never will.

      He may have said it, but he wasn't certain about it.

      --
      When our name is on the back of your car, we're behind you all the way!
    5. Re:Parallel computing by kripkenstein · · Score: 2, Insightful

      it seems they are using interference to get individual photons of light to traverse every pathway simultaneously. Even if I am only partially correct there, the photons in the experiment are only detected and are never being used as an instrument for computation.
      I guess it depends what you mean by 'computation'. As the article itself says,

      So in total we will need [about] (5/64)*N^N photons.
      Unsurprisingly, they need an exponential amount of photons (and even N^N, whereas we know the problem is solvable using 2^N or so). In effect, each photon is used to perform one 'calculation', in some sense. Or at least that is what I understand from TFA, IANA Physicist.
    6. Re:Parallel computing by pragma_x · · Score: 0

      ...and Heisenberg says you never will.

      He may have said it, but he wasn't certain about it.


      What about his cat? I'm sure it would have a thing or two to say on the matter.
    7. Re:Parallel computing by Sancho · · Score: 1

      That wasn't Heisenberg.

    8. Re:Parallel computing by cripkd · · Score: 1

      What? Heinsenberg stole Schrodinger's cat?
      Damn physicists...

      --
      Curiously yours, crip.
    9. Re:Parallel computing by Anonymous Coward · · Score: 0

      it seems they are using interference to get individual photons of light to traverse every pathway simultaneously
      So we can model this with a non-deterministic machine? Excellent -- this is clear proof that NP=NP!

    10. Re:Parallel computing by Kymermosst · · Score: 1

      ...and Heisenberg says you never will.

      He may have said it, but he wasn't certain about it.

      What about his cat? I'm sure it would have a thing or two to say on the matter.


      It was Schrödinger's cat that would really know, not Heisenberg's.
      --
      "Alcohol, Tobacco, Firearms, and Explosives" should be a convenience store, not a government agency.
    11. Re:Parallel computing by navarroj · · Score: 1

      This is not true. If you "massively parallelize" an NP problem then you can solve it in polynomial time. That is exactly the definition of NP = Nondeterministic Polynomial time: If you can try all possible solutions at once and check which ones work, then the problem can be solved in polynomial time.

    12. Re:Parallel computing by Breakfast+Pants · · Score: 1

      I'm pretty sure he knows that; his point is that you'll need more atoms/photons than there are in the universe for even a very tiny problem (without using quantum superposition).

      --

      --

      WHO ATE MY BREAKFAST PANTS?
    13. Re:Parallel computing by camperdave · · Score: 2, Funny

      Schrödinger's cat wasn't going to commit to one side or the other until he saw it in action.

      --
      When our name is on the back of your car, we're behind you all the way!
    14. Re:Parallel computing by Anonymous Coward · · Score: 0

      ...and Heisenberg says you never will.

      He may have said it, but he wasn't certain about it.
      What about his cat? I'm sure it would have a thing or two to say on the matter.
      It was Schrödinger's cat that would really know, not Heisenberg's

      Fine, so we'll just ASK the damn cat! (Oh, no, you're not gonna get me on that one. YOU open the box!)

    15. Re:Parallel computing by Anonymous Coward · · Score: 0

      lmao - you guys are truly nerds. I should be embarrassed to get it.

    16. Re:Parallel computing by Tablizer · · Score: 1

      So effectively each photon is a CPU core

      Shit, that'll complicate physics for sure. Next they'll find them running Windows. Kiss determinism's ass a meety goodbye.

    17. Re:Parallel computing by 2short · · Score: 1

      Well, we can't ask him, he's dead. (I peeked)

  6. Some Reference info by Fox_1 · · Score: 4, Informative

    Heh, to give you a better idea of what the abstract is talking about:
    The Travelling Salesman Problem
    and this doozy of a word : gedankenexperiment

    --
    The rock, the vulture, and the chain
    1. Re:Some Reference info by Anonymous Coward · · Score: 1, Insightful

      This is /. not "CNN News", I think it's reasonable to expect readers here to know what The TSP is.

    2. Re:Some Reference info by Anonymous Coward · · Score: 0

      or be able to look it up on Wikipedia for themselves.

    3. Re:Some Reference info by ZOMFF · · Score: 5, Funny
      --
      Launch every sig.
    4. Re:Some Reference info by morgan_greywolf · · Score: 2, Insightful

      Well, even if you knew what the TSP is, it might be, depending on your chosen profession, that you may not recall of the specifics regarding the TSP, such as the formulae used, what sorts of algorithms may be used to solve the problem, etc. Not all of us have jobs where we use our math/computational science/computer science skills on a day-to-day basis.

    5. Re:Some Reference info by Anonymous Coward · · Score: 0

      Golly Gee Wickers, Mister!

      Thanks for your help. We really couldnt have managed to find that Wikipedia page by ourselves. Your internet skills are awesome.

    6. Re:Some Reference info by reverseengineer · · Score: 2, Interesting
      On the subject of Wikipedia, the authors of this paper actually use Wikipedia on page 9 of their paper to provide a definition of a quantum computer. (They don't bother with a full citation like they use for their other sources though.)

      While this is just a thought experiment, I think their use of interferometry to solve problems is pretty interesting, since it really is in some respects quantum computing. While, as they note, it isn't a quantum computer in the usual sense with entanglement and qubits, their method does, after all, depend on light following Fermat's Principle of Least Time, which in turn can be considered a consequence of quantum electrodynamics. It makes me wonder what other sorts of computational problems can be solved using invariant properties of the physical world.

      --
      "FDA staff reviewers expressed concern about the number of patients who were left out of the study because they died."
    7. Re:Some Reference info by Fox_1 · · Score: 1

      Wikipedia is a great reference for getting a quick understanding of a subject. It's obviously not the same as years of study or work in related fields to that subject. I wasn't surprised to find that the best (imho) links for info on what this article was about were from Wikipedia - yeah it would have been cooler to link some obscure website or reference - but honestly I would rather that some background info/reference links had just been in the summary so that when I went to the abstract I at least knew what I was getting into.

      --
      The rock, the vulture, and the chain
    8. Re:Some Reference info by Yetihehe · · Score: 1

      So in fact it's more of an analog quantum computer, something like Babbage machine of quantum computers?

      --
      Extreme Programming - Redundant Array of Inexpensive Developers
    9. Re:Some Reference info by faragon · · Score: 2, Informative

      Babbage was mechanical, while the proposed in the article seems more like a classic analog computer but using photons instead electrons.

    10. Re:Some Reference info by Impy+the+Impiuos+Imp · · Score: 1

      Now that's something Slashdot readers need a hell of a lot more education in.

      "Audience level" of various Slashdot articles:

      - Traveling Salesman: Assume knows what P=?NP means, exponential complexity algorithms

      - Badonkadonk: Assume reader doesn't even know yet women don't have weiners.

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    11. Re:Some Reference info by UbuntuDupe · · Score: 1

      Gedankenexperiment: When you want to use German, and can't come up with a reason, Gedankenexperiment is for YOU! (tm)

    12. Re:Some Reference info by Gr8Apes · · Score: 1

      but generally too lazy... thus the ready supply of mods for the obvious link.

      --
      The cesspool just got a check and balance.
    13. Re:Some Reference info by Carewolf · · Score: 1

      Yes, use a german translation of a danish expression in english when you already have a similar and perfectly usefull expression in english. I think it would be hard to find a more useless foreignword.

    14. Re:Some Reference info by MikeTheMan · · Score: 2, Interesting
    15. Re:Some Reference info by Anonymous Coward · · Score: 0

      It's not a hard word, it's just not english like the rest of slashdot is.

    16. Re:Some Reference info by tehcyder · · Score: 1

      Badonkadonk Land Cruiser Tank?
      Is that thing real? It looks like a stretch Dalek.
      --
      To have a right to do a thing is not at all the same as to be right in doing it
    17. Re:Some Reference info by BorgCopyeditor · · Score: 1

      Yes, use a german translation of a danish expression in english when you already have a similar and perfectly usefull expression in english. I think it would be hard to find a more useless foreignword.

      Useless? That depends on your Weltanschauung.

      --
      Shop as usual. And avoid panic buying.
  7. So (a real comment)... by LiquidCoooled · · Score: 5, Funny

    So, to find out the shortest path for a travelling salesman you have to have a travelling Fibre fitter installing cables between all the cities?

    What is the optimum path the fibre fitter must take to lay all the cables and reduce his mileage?

    --
    liqbase :: faster than paper
    1. Re:So (a real comment)... by Anonymous Coward · · Score: 0

      -For an odd number of cities, pick any Eulerian path, they all have the same length.
      -For an even number of cities, find a minimum weight perfect matching (polynomial time), add those edges to the graph, and use an Eulerian path as before.

    2. Re:So (a real comment)... by LiquidCoooled · · Score: 2, Funny

      You just don't get it...
      The travelling fibre layer must visit every city from every other city making his journey MUCH longer than the original salesman.
      Might be easier just giving the fibre fitter a second moonlighting job as a salesman.

      --
      liqbase :: faster than paper
    3. Re:So (a real comment)... by Anonymous Coward · · Score: 0

      Flip side is that for an salesman selling consumables (ice cream man anyone?) a time intensive setup will more than pay for itself over by selling products in a more efficient route.

    4. Re:So (a real comment)... by evanbd · · Score: 2, Informative

      So, on a serious note, the fiber installer (who has to traverse each edge) is different from the salesman (who has to visit each node). The problem of the installer is the Chinese Postman Problem , and is actually *not* NP-complete. In fact, the current best approximate solutions to the TSP involve transforming it to the CPP, solving that, and then transforming it back. (Sorry, I'm not clear on the details.)

    5. Re:So (a real comment)... by Tablizer · · Score: 1

      What is the optimum path the fibre fitter must take to lay all the cables and reduce his mileage?

      God did it, the Bible says so, so it doesn't matter!

      -1 Troll

    6. Re:So (a real comment)... by time+fly · · Score: 1

      Actually I think this is the Euclidean Steiner tree problem, since he doesn't have to install a fiber between every pair of cities - he can add hubs in the middle. This is NP-hard.

      (Don't know if this is sufficient for what they do in the article though, didn't RTFA)

  8. And in other news by GrEp · · Score: 0, Offtopic

    And in other news kdawson announces that will be leaving Slashdot become the new editor in chief of World Weekly News

    --

    bash-2.04$
    bash-2.04$yes "Don't you hate dialup connections?"| write USERNAME
  9. Slashdotted by Yusaku+Godai · · Score: 0

    Damn. 5 comments and it's already slashdotted.
    This looked cool too. Any mirrors (no pun intended)?

    1. Re:Slashdotted by Yusaku+Godai · · Score: 1

      Nevermind, now it's working. I was getting server errors at first.

  10. Not the first time this has been proposed by jfengel · · Score: 4, Interesting

    This solves a nondeterministic-polynomial algorithm by using a very large number of parallel computations to simulate nondeterminism.

    This was proposed some years ago for DNA computers as well, until somebody figured out that it would take a mass of DNA the size of the earth to figure out a non-trivial problem. So this is NOT the first time somebody has proposed a method for reducing NP problems to polynomial time, though this mechanism is novel as far as I know.

    Photons are a lot smaller than DNA. N^N photons seems much more feasible. But even so... once N=100, 100^100 photons is way more than we can handle.

    1. Re:Not the first time this has been proposed by PhysicsPhil · · Score: 4, Interesting

      This solves a nondeterministic-polynomial algorithm by using a very large number of parallel computations to simulate nondeterminism.

      This was proposed some years ago for DNA computers as well, until somebody figured out that it would take a mass of DNA the size of the earth to figure out a non-trivial problem. So this is NOT the first time somebody has proposed a method for reducing NP problems to polynomial time, though this mechanism is novel as far as I know.

      I'm not sure this comparison is correct. The use of DNA just increased the computational power available to the problem, but didn't change the fundamental methods of calculation (i.e. one step at a time). The DNA computer didn't make the NP problem go away, it just threw more power at it.

      This uses the interference of the light within an optical network to perform the calculation. The "operation", such as it is, relates to physically constructing the network rather than the number of photons required. In a very tenuous way, this is similar to a quantum computer, where multiple calculations are performed simultaneously. Of course it's not a quantum computer, but it does appear to be a polynomial algorithm.

    2. Re:Not the first time this has been proposed by mdmkolbe · · Score: 4, Insightful

      From the last line of the abstract, "The proposed method is meant purely as a gedankenexperiment."

      Translation, "We know this wont ever work; we just think it's cool."

      Even better is in section five where they cite Wikipedia for the definition of a quantum computer.

    3. Re:Not the first time this has been proposed by SeanMon · · Score: 5, Interesting

      A CO2 laser at 500 kW generating a beam of 10 micrometer wavelength produces about about 2.52 x 10^25 photons per second. It will only take 1.25 x 10^167 years to generate 100^100 photons.
      Just a bit more than we can handle.

      --
      "Scud Storm!" -- Jeremy of PurePwnage.com
    4. Re:Not the first time this has been proposed by Climate+Shill · · Score: 2, Funny

      Or to put it a little more excitingly, solving a 26 step problem with 12um photons will take somewhere in the region of 25 megatons.

      Which means you would probably have to be pretty desperate for sales.

    5. Re:Not the first time this has been proposed by mr_mischief · · Score: 1

      Good thing they were talking about a single photon being split and traveling all possible paths simultaneously, and measuring the interference, then.

      Still, they say that for larger problem sets the SNR makes detection and filtering too difficult. Larger problem sets are precisely where one worries the most about computational complexity, of course. So it's still, at least for now, just a neat trick.

    6. Re:Not the first time this has been proposed by Anonymous Coward · · Score: 0

      Some of the comments in this thread (not parent, however) reveal that that the posters don't really understand what it means for a computational problem to be in the class NP-complete.

      In particular, just because a problem is NP-complete *doesn't* mean that the best known methods for solving it require a nonpolynomial amount of *time*. It just means that the best known method for solving the problem requires a nonpolynomial amount of *some* computing resource.

      For example, take the set cover problem where S is the set-of-sets and X is the space to cover. if you have 1 processor for each 2^S subsets of S, you could test each subset for coverage and pick the smallest subset in polynomial time. So trivially, you've solved an NP complete problem in polynomial time at an exponential cost of some other computing resource -- in this case, processors.

      So basically, NP-completeness is a statement about how much computing resources a problem requires, NOT about how much time it takes to solve them.

    7. Re:Not the first time this has been proposed by Anonymous Coward · · Score: 0
      Parent wrote:

      Of course it's not a quantum computer, but it does appear to be a polynomial algorithm.

      I'm sorry to have to be the one to rain on your parade, but producing N^N photons still requires O(N^N) power.

      From TF-Abstract:

      It will turn out that this number of photons is proportional to N^N for a traveling salesman problem with N cities and that for large numbers of cities the method in practice therefore is limited by the signal-to-noise ratio.
      From TF-Article:

      For photons with a wavelength of 1 mm the energy per photon is E = hn 2x10^19 J.With a 1 W light source we therefore would achieve 5x10^18 photons per second and we should be able to solve problems with about 16 cities (detector integration 1 s). Using millimeter waves (l = 1 mm) and waveguides we gain a factor of 1000 but even together with raising the power to 1 kW this would lead only to a small improvement concerning the maximum number of cities to about 20 (see Fig. 4).

      So no, it is definitely not a polynomial algorithm. I'll tell you what: instruct your great, great, great, ..., great, great grandkids to reanimate me when it can solve 256 cities in less than than a decade. ;)

    8. Re:Not the first time this has been proposed by mr_mischief · · Score: 1

      Actually, I misread the article. It's not one photon. It isn't necessarily n**n, either. It's proportional to n**n. To be precise, it looks like 5/64 * n**n.

      That's still a lot, but it's far fewer than n**n.

      Still, it does seem that it limits it to the "neat trick" category.

    9. Re:Not the first time this has been proposed by jfengel · · Score: 1

      I don't believe that's a correct characterization.

      To be NP, it means that it can be solved by a nondeterministic machine in polynomial time. Or, to put it another way, if you already knew the answer, you could check that it was the correct one in polynomial time.

      It's not just "non-polynomial". There are plenty of problems that are truly non-polynomial: they'd be exponential to verify even if you already knew the correct answer. Whether a Turing machine will terminate on a given input is EXPTIME, and can't be solved in polynomial time even if you had a nondeterministic machine.

      NP-complete means it's in the hardest category of NP-problems. All polynomial programs are in NP, too. NP-hard means that it it can't be solved in polynomial time on a deterministic machine, and NP-complete means that you can reduce all other NP problems to it. That is, if you have a machine to solve one, then you can use it to solve all of the others in the same amount of time, plus a polynomial-time transformation step.

    10. Re:Not the first time this has been proposed by ZombieWomble · · Score: 1

      Isn't the use of the word "time" in all such statements generally taken as shorthand for "processor time"? It's just easier to talk about "time" and assume fixed resources than it is to be distracted by all the different ways this requirement can be met. I always read comments on this topic that way, and as far as I know that's a generally true statement, isn't it?

    11. Re:Not the first time this has been proposed by ZombieWomble · · Score: 1

      And of course, after hitting post I reconsider that "processor time" is roughly as vague as just saying "time". But I'm sure you know what I meant.

    12. Re:Not the first time this has been proposed by Anonymous Coward · · Score: 0

      You started ok, but you're making a few mistakes.

      Whether or not a given machine halts on a given input is not EXPTIME; it's undecidable, unless you add restrictions on the number of steps the program may take. Your basic point is correct, though: there are problems that take exponential time that can't be done in polynomial time; the Time Hierarchy Theorem tells us this.

      NP-complete problems aren't necessarily the "hardest" in terms of time (reductions are allowed to add any polynomial overhead); a better way of saying it is that they are the most expressive of the NP problems: they can encode any other NP problem, and are in NP themselves.

      NP-hard doesn't say anything about it being solvable in polynomial time. It's thought that they're not --- this is the (negation of the) P=NP conjecture --- but it's not known. The real definition is that any problem in NP can be reduced to it (under polytime or logspace reductions, depending on the specific definition --- it usually doesn't matter). In other words, if you have some magic box that can solve an NP-hard problem in polytime, you could solve any NP problem in polytime with just one question to the box, and you can work out the question to ask in polytime (or logspace). NP complete means it's both in NP, and also NP-hard.

      Note that if P=NP, practically every problem is NP-hard.

    13. Re:Not the first time this has been proposed by Anonymous Coward · · Score: 0
      > Or to put it a little more excitingly, solving a 26 step problem with 12um photons will take somewhere in the region of 25 megatons.
      >
      > Which means you would probably have to be pretty desperate for sales.

      Au contraire. There will remain no bridges, no customers, and no salesman. And for the next salesman to visit, the solution is trivially-obtained in O(1) time. By induction, the solution for any n over 26 is trivial.

    14. Re:Not the first time this has been proposed by TapeCutter · · Score: 1

      "Time" refers to the steps in the calculation each of which is assumed to have a fixed physical time to execute.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    15. Re:Not the first time this has been proposed by marcansoft · · Score: 1

      I don't even know what the name for that growth rate is, but it's faster than exponential (since the base also changes). As you increase the number of cities, the extra 5/64 becomes completely insignificant.

      5/64 is 1/12.8. That means that with that constant factor, you need 12.8 times less power to solve the problem.

      Going from 4 cities to 5 requires 12.2 times as much power.
      Going from 20 cities to 21 requires 55.7 times as much power.
      Going from 100 cities to 101 requires 273.1 times as much power.

      Realistically, all that the 5/64 factor means is that with a small number of cities, you can add an extra one or two. Then again, you can solve TSP for five cities using a desktop computer. With a larger number of cities, the extra factor is insignificant.

    16. Re:Not the first time this has been proposed by BoothbyTCD · · Score: 1

      I'm not certain what you are implying. Are you trying to say that thought experiments have no valid place in science? If so, you are sadly mistaken. While not 'experiments' in the strictest sense, thought experiments are a vital tool for the exposition of difficult concepts. Go read Einstein's relativity papers.

      --
      snig
    17. Re:Not the first time this has been proposed by smallfries · · Score: 1

      If I remember correctly its O(n!) and it gets called super-exponential. But it's been a while and my memory may be off.

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    18. Re:Not the first time this has been proposed by mdmkolbe · · Score: 1

      I'm saying that while it *is* a "cool idea" and might possibly lead to new physical insights or techniques, it doesn't "solve" NP-Completeness either practically (the energy requirements are ridiculously large) or theoretically (it's just a massively parallel computer which the computer theoreticians already knew about).

      The people who wrote the paper knew this (thus the disclaimer they put in the abstract), but people still insist on making noise trying to claim they did something that they didn't.

    19. Re:Not the first time this has been proposed by Captain+Segfault · · Score: 1

      O(n^n) is not O(n!). O(log(n^n)) = O(log(n!)); the two differ by on-the-order-of a constant factor in the exponent.

      "Super-exponential" just means that it's larger than k^n for all k, as I've encountered it. I've never seen it used to refer to any specific function.

    20. Re:Not the first time this has been proposed by mr_mischief · · Score: 1

      The really interesting thing here is that TSP with one photon per route really would be O(n!). The article says they need a higher power on the reference light to make detection feasible, and it's the power of the reference light which dominates photon input concerns. Besides, cutting all that fiber and making all those junctions isn't exactly fast or general-purpose.

      So this means we could really do the same thing with n! threads or processes each running on a core and a min() function just after almost as fast. Of course, 100! is still really big. Heck, 10! is over 3.6 million.

      With a 64 core box, you're looking at 57,600 routes per core to figure for 10 cities. If you figure 10 register sets, a jump to the routine, 5 swaps, 9 adds, and one return, you're looking at 26 cycles plus any additional overhead like memory waits. 26 * 57,600 = 1,474,200. So let's assume a bunch of overhead, and call it 2.9 million instructions (about double). Then, there's finding the min of 3,628,800 results. That'd be, in a very naive implementation, 3,628,799 comparisons. Let's double that, so 7.2 million. Let's add these, for 2.9 million + 7.2 million (because the comparisons are being done very naively on a single processor after the route lengths have been done on the separate cores). 2.9 + 7.2 is about 10.1 million (I've rounded a few times, and thrown in some wild estimates, so forget about precision). How long does it take to burn through 10.1 million cycles? Well, on a machine that does one instruction per clock and has a conservative 2Ghz clock on every core, not very long at all. However, even though we're not too many years from having 64 cores in a typical mid-range rack-mount server, I can think of much better uses for that kind of power.

      2,432,902,008,176,640,000 is 20! ... so 38,014,093,877,760,000 per core on a 64-core box. That's 988,366,440,821,760,000 instructions run per core according to the earlier estimate, and doubling gets us 1,976,732,881,643,520,000. At 2GHz, we're looking at around 988,366,441 seconds on the multi-core part of the previous example. That's a bit over 31 years. The rest of this example is left as an exercise for the reader.

      The heuristic approaches to find good approximations of the NP Complete problems are usually very much good enough. Also, since it's possible to check whether or not a given solution to an NP Complete problem is the ideal solution in polynomial time, a few iterations of a good heuristic or two with a double-check at the end is probably still the best way to go even for finding the very best path until quantum systems are feasible for this type of application.

      This photon interference idea using variable-length optical fibers is a neat trick, but unfortunately that's all it's likely to ever be.

  11. First Thoughts by TheRequiem13 · · Score: 5, Funny

    ...gedankenexperiment...
    Gasundheit!
    --
    What?
    1. Re:First Thoughts by codeButcher · · Score: 4, Informative

      Yes, I believe it should have been Gedankeneksperiment, with a capital G.

      Freundliche Grüße,

      Your friendly neighbourbood grammar Nazi

      --
      Free, as in your money being freed from the confines of your account.
    2. Re:First Thoughts by aethogamous · · Score: 1

      Your friendly neighbourbood grammar Nazi

      Well that just does it ... if you are going to be a grammer nazi, can you please at least be rude about it? Nothing is worse than a polite grammer nazi, takes away all the fun of hating gammer nazis.

      If you can't hate a grammer nazi, then what is there left to hate? ... ... Man I hate polite grammer nazis, takes away all the fun of hating gr........ oops ... never mind ... found a work around ...

    3. Re:First Thoughts by Anonymous Coward · · Score: 0

      Yes, I believe it should have been Gedankeneksperiment, with a capital G.

      Freundliche Grüße,

      Your friendly neighbourhood grammar Nazi

      I claim Goodwin's Law!
  12. GRB explanation by a.d.venturer · · Score: 4, Funny

    As pointed out here "Apparently the method is polynomial in time, but exponential in energy ..."

    to which Charles Stross replies "Ah, so that's what the short duration GRBs are!"

    Fnord.

  13. Gedankenexperiment ? by OpenSourced · · Score: 1

    Is that something like watching at the blinkenlights?

    --
    Rome taught me patience and assiduous application to detail. Virtues which temper the boldness of great, general views.
    1. Re:Gedankenexperiment ? by PeterBrett · · Score: 1

      No, it's watching at die Blinkenlichten, silly!

    2. Re:Gedankenexperiment ? by OpenSourced · · Score: 1

      Gedankenexperiment ? Is that something like watching at the blinkenlights?
      No, it's watching at die Blinkenlichten, silly! ...
      Uhm. I wonder how many people outside Slashdot would understand this exchange :o)

      --
      Rome taught me patience and assiduous application to detail. Virtues which temper the boldness of great, general views.
  14. Turing Machine vs Laws of Physics by TheEmptySet · · Score: 2, Insightful

    We do not apriori know that the laws of physics cannot be (ab)used to cause a computation to happen in a way which is strictly better than the way a Turing machine (read 'pretty much any computer you can think of') works. Though this apparatus requires a large number of photons it is an exciting result towards what could be a real paradigm shift in computing. For similar reasons quantum computing is interesting to us, but it too has its drawbacks. Alternatively one could hope for an (IMHO unlikely) proof of P=NP, which would say that a Turing maching can after all achieve similar efficiency.

  15. A general summary of the article by PhysicsPhil · · Score: 5, Informative

    I browsed through the article, and here is my understanding of what they are doing.

    The experimenters are constructing the map of the various cities using optical fibres. Each city represents a junction in the optical fibre network, and each fibre has a length proportional to the weight of the edge joining two cities in the abstract problem.

    Once the fibre network is constructed, they shine a white light source into the network. As the light propagates through the system, it splits at each junction (i.e. city). As a consequence, the optical signal is able to sample all possible paths through the network simultaneously. The entire optical network is put on one arm of an interferometer, and the length of the other arm (the reference arm) is adjusted. Starting from a known lower bound on the city length, the length of the reference arm is increased until the reference signal interferes with the output signal from the optical network. At that point, they have the length of the shortest path, and apparently can do some kind of reconstruction to get the actual path from there (didn't quite follow how that happened).

    The claimed reduction of an NP problem to quadratic comes from the setup of the experimental apparatus. An "operation" consists of connecting one of the N cities to another of the N cities. For an average collection of cities, there will be a number of roads/connections proportional to N^2. Of course the operation is awfully slow, but it's a thought experiment more than anything.

    1. Re:A general summary of the article by atamyrat · · Score: 1

      I couldn't RTFA (slashdotted??), but, from what you describe, it seems it is shortest path problem, not TSP.

      Shortest path is about finding shortest route between two nodes in graph, wihle TSP is about traveling each node exactly once with minimum cost.

    2. Re:A general summary of the article by Anonymous Coward · · Score: 0

      At that point, they have the length of the shortest path, and apparently can do some kind of reconstruction to get the actual path from there (didn't quite follow how that happened). They disconnect one of the connections between the exit node and a node connecting to the exit node, decrease the length of the reference arm by the distance of that connection, and make the connecting node the new exit node. If the reference signal still interferes, then the new exit node is the correct second-to-last hop in the path. If not, then they just try the other cities connected to the original exit node until they find the correct one.
    3. Re:A general summary of the article by Bender0x7D1 · · Score: 5, Interesting

      One important part of any solution is the amount of time/cycles it takes to encode the problem for use in your algorithm.

      For example, I can't claim that my algorithm can factor a number in O(1) if I require that the input for the algorithm is a vector of the prime factors for the desired number. Yes, my part of the algorithm is O(1), but to take a number and convert it to the format for my algorithm is not O(1), meaning the overall performance can't be considered O(1).

      In summary, the time/cycles to set up the problem counts.

      --
      Reading code is like reading the dictionary - you have to read half of it before you can go back and understand it.
    4. Re:A general summary of the article by Kupek · · Score: 1

      Well, you can, it's just not useful. If I state a problem is O(something), I get to determine what operation I counted. But if we're talking about sorting, and I choose any operation other than comparing two elements, then it's not a useful analysis.

    5. Re:A general summary of the article by Anonymous Coward · · Score: 0

      I think there's a problem with their whole concept. They find the length of the shortest path in the order they claim, given the necessary photons, but they can't actually describe the path without looking at n-1 choices at the exit point, n-2 choices at the next to exit point, etc. So they're still at the order of (n-1)!/2^n to find an actual solution the TSP. Does anyone else come to the same conclusion?

    6. Re:A general summary of the article by Geoffrey.landis · · Score: 1

      They explicitly solve for the amount of time it takes to connect the N cities with one fiber connection between each pair of cities. This is, of course, N^2, so that part of the problem is in fact polynomial in N. (they don't account for the speed of light delay for the light to travel the length of the required fibers! This is actually exponential in N, the way they chose to solve the problem.)

      --
      http://www.geoffreylandis.com
    7. Re:A general summary of the article by Anonymous Coward · · Score: 0

      RTFA man. It takes N^2 to set up the problem, and O(1) to run the experiment, and N^2 to sift through to find the specific route. Therefore, N^2 overall, and yes, the complexity comes from the setup ;)

    8. Re:A general summary of the article by tonywestonuk · · Score: 1

      I think this solution might well use quantum physics to work. Photons travel down the fibre optics, but it is not known which path they take until they get to the very end and are 'measured'. therefore, a single photon might traverse every path, leading to an interferance pattern that matches the shortest solution.

      Now, Somewhere about, I heard that it has been proven that any NP problem, can be refactored into a different NP problem. So, for example, Factorising two primes that have been multiplied, could be restated as a traveling salesman problem, and hooked up to this rig.

      So, maybe, just maybe, this might just work. except...

      Prime factors are HUGE!!! and, you would need to check each unit division on the interferometer (assuming divisions went from 0, to infin) to see if it interfeared....... Yes, The setup might well be calculating the solution, how you extract that solution is an entirly different problem.

  16. NP != "Non-polynomial" by imasu · · Score: 5, Informative

    First off, NP does not mean "non-polynomial", it means "nondeterministically polynomial". Which means, the set of problems that can be solved in polynomial time on a nondeterministic turing machine. They are not reducing an NP problem to P here, which would require that their algorithm be executable on a deterministic turing machine in polynomial time. Rather, they are saying that if they effectively simulate a limited nondeterministic turing machine by increasing the number of compute units (in this case, photons) to effectively infinite numbers, then there is a polynomial solution. Which, since the travelling salesman problem is known to be in NP, is not surprising. Or am I misreading this? What IS cool is that they have found a way to actually effectively simulate a subset of a nondeterministic turing machine.

    1. Re:NP != "Non-polynomial" by The+Night+Watchman · · Score: 5, Informative

      Rather, they are saying that if they effectively simulate a limited nondeterministic turing machine by increasing the number of compute units (in this case, photons) to effectively infinite numbers, then there is a polynomial solution. Which, since the travelling salesman problem is known to be in NP, is not surprising. Or am I misreading this? That sounds right to me. I don't like how they're claiming that "the complexity of the traveling salesman problem can be dramatically reduced from N! to N^2 by optical means." They're not reducing the complexity of the problem at all. What they're doing is designing a parallel processing system that can approximate a nondeterministic Turing machine, thereby allowing the problem to be solved in polynomial time. This does nothing to indicate that P=NP. While they do make that point clear, I still take issue with their claim that they're doing anything at all to the complexity of the original problem.
      --
      "Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of"-TMBG
    2. Re:NP != "Non-polynomial" by teknopurge · · Score: 5, Informative

      Please mod parent and GP up. My thesis was on NP-Complete problems and combinatorial optimization and as soon as I saw "photons" I knew this was bunk. It does not matter what instrument you use: CPU core, Network Node, DNA, Molecule, Q-bit, electron-spin, etc. They are all constructs to illustrate problems. The entire point of NP-complete problems is that they cannot be solved and verified in reasonable time using anything that has a physical limitation: a clock speed, a limited number-of-sides, a finite number of nodes in a graph, finite degrees of spin, etc.

      IMO, the only way to reduce NP-Complete problems is using something like quantum entanglement or another similar characteristic that is not bounded by classical physics.

    3. Re:NP != "Non-polynomial" by UbuntuDupe · · Score: 1

      The Wikipedia article says that physicist David Deutsch says that Shor's Algorithm, which solves an NP-whatever problem in (log n)^3 time, works because it draws computational power from another universe.

      Crank or no?

    4. Re:NP != "Non-polynomial" by Anonymous Coward · · Score: 0

      "IMO, the only way to reduce NP-Complete problems is using something like quantum entanglement or another similar characteristic that is not bounded by classical physics"
      - Which light fits nicely.. so what's your problem?

    5. Re:NP != "Non-polynomial" by The+Night+Watchman · · Score: 1

      "IMO, the only way to reduce NP-Complete problems is using something like quantum entanglement or another similar characteristic that is not bounded by classical physics"
      - Which light fits nicely.. so what's your problem? The problem is that using such a technology or technique does not change the complexity of the problem. NP-complete is still NP-complete, and P still != NP. NP-complete refers to that set of problems whose best solutions can only be solved in nondeterministic polynomial time. That means that using a standard CPU running one or any fixed constant number of operations per clock tick, the time needed to find a solution increases very quickly. The solution in TFA essentially creates an approximation of a nondeterministic Turing machine. They do this specifically because you need one in order to solve NP-complete problems in polynomial time. Since the algorithm still requires a nondeterministic approach (such as quantum entanglement or optics), the problem is still in NP and not in P, as far as current mathematics is concerned.

      While it is true that technology of this type could revolutionize computer science by creating systems that can rapidly solve NP-complete problems, it does not change our current mathematical understanding of the underlying problems in any way.
      --
      "Every jumbled pile of person has a thinking part that wonders what the part that isn't thinking isn't thinking of"-TMBG
    6. Re:NP != "Non-polynomial" by Anonymous Coward · · Score: 1, Informative

      Factoring integers has not been proven to be NP Complete

    7. Re:NP != "Non-polynomial" by Anonymous Coward · · Score: 0

      According to Wikipedia, the raw Travelling Salesman Problem is not NP-Complete, it's NP-Hard. The corresponding Travelling Salesman Decision problem is NP-complete, however.

    8. Re:NP != "Non-polynomial" by flonker · · Score: 1

      Some time back, I read about the spaghetti sort, where you sort spaghetti by length in constant time. I set my mind to trying to discover a similar "solution" to TSP, mostly as something to do while waiting at the DMV, grocery store, etc.

      I came up with the string solution.

      You cut pieces of string equal to the distance between the cities, and tie each piece of string to two rings representing the cities, and label each ring with a city's name. To solve the problem for any pair of cities, you pick up the rings representing those cities and pull the entire mesh taut. Which ever string has the most tension (is at the top, whatever), is the best path to take.

      Of course, I didn't issue a press release claiming I'd solved anything.

    9. Re:NP != "Non-polynomial" by MajroMax · · Score: 1

      Which ever string has the most tension (is at the top, whatever), is the best path to take.

      That doesn't solve the TSP -- it solves the shortest path problem. The TSP requires the salesman to visit every city; your method will only visit a subset of the cities. As a simple thought experiment, consider that the string method cannot give a path that starts and ends in the same city. The shortest path problem is already solvable in O(N^2), as a classic tree/graph searching problem.

      --
      "Evil company X is threatening to restrict our rights! Let's all get together to stop--OOOH! SHINEY!!!" -- AC
    10. Re:NP != "Non-polynomial" by asuffield · · Score: 2, Interesting

      IMO, the only way to reduce NP-Complete problems is using something like quantum entanglement or another similar characteristic that is not bounded by classical physics.


      Photons are not bounded by classical physics, and their behaviour can only be explained by quantum physics. Whether or not this behaviour can be exploited to perform computation more efficiently than a Turing machine is unknown (and will likely remain that way until we untangle the problem of how quantum physics really works). We still do not have a complete understanding of how they behave, and much of what we think we know is unproven. This idea's pretty far out on the edge of plausibility, but even if this particular method turns out to be flawed, we don't know enough to be sure that no other similar methods could work. (We also don't know whether quantum computing can do it, which is one of the big open questions in that field)

      The entire point of NP-complete problems is that they cannot be solved and verified in reasonable time using anything that has a physical limitation: a clock speed, a limited number-of-sides, a finite number of nodes in a graph, finite degrees of spin, etc.


      That statement is true only under the assumption that the model of computation is a form of Turing machine. The essential property of a Turing machine is that they can compute any effectively computable function. There is no particular reason to believe that they also have the property of describing the limits of what the physical universe can compute in a given space of time, and in fact they don't for some simple problems, although we haven't found any machines that can tackle NP problems yet. Even under "classical" physics, we're uncertain whether such a machine could exist; nothing in classical physics says that they can't, so far as we know.

      This question is right up there alongside "P=NP?", and has similar properties: we suspect and usually assume that such machines don't exist, but don't have anything resembling a good reason to believe this, other than "we haven't found one yet". It's not as interesting as "P=NP?" because in most cases, there is no way to prove something to be physically impossible (since you can never be sure that you have found the most fundamental laws of physics), so the question may remain unresolved forever.
    11. Re:NP != "Non-polynomial" by RJBeery · · Score: 1

      Quick question - Isn't using quantum entanglement another form of massively parallel computation which many people seem to be discounting this Gedankenexperiment as?

    12. Re:NP != "Non-polynomial" by cpeikert · · Score: 2, Informative

      Shor's Algorithm, which solves an NP-whatever problem in (log n)^3 time, works because it draws computational power from another universe.

      Whoah, whoah. Shor's Algorithm solves the factoring problem, which is almost certainly NOT NP-complete. (If it were, then NP would equal coNP, which would be almost as surprising as if NP equalled P.)

    13. Re:NP != "Non-polynomial" by MobyDisk · · Score: 1

      IMO, the only way to reduce NP-Complete problems is using something like quantum entanglement or another similar characteristic that is not bounded by classical physics. I think that is what they are doing. Using interferometry to reduce one part of the problem to O(1)
    14. Re:NP != "Non-polynomial" by Anonymous Coward · · Score: 0

      If it were, then NP would equal coNP, which would be almost as surprising as if NP equalled P

      In fact, if NP = coNP then P=NP
    15. Re:NP != "Non-polynomial" by ShakaUVM · · Score: 1

      Remember, a photon -- as we learn it in 8th grade -- doesn't exist. A photon is actually a quantum wavefront which collapses to what we normally call a photon on observation. If you pass single photons through a double slit apparatus, it will interfere with itself.

      If they have some way of exploiting physics so one waveform passes through all the nodes, and they have some way of reconstructing which route it took (maybe through a polarization filter on each node) then it might be possible to do in O(1) time. My quantum-foo isn't that good, but I've seen experiments where games like that are played.

    16. Re:NP != "Non-polynomial" by teknopurge · · Score: 1

      Not crank.

      Shor's Algo uses a construct - a Q(u)bit - that has characteristics classical physics cannot explain. Another universe? More like another dimension. (Yes, I'm serious like a heart-attack)

    17. Re:NP != "Non-polynomial" by teknopurge · · Score: 1

      At last check, photons fell under the classical-physics umbrella, as the exist in our dimension of time+space. I'll put it another way:

      We need tools that are not covered in a science class that does not have the word "Quantum" out in front; that includes anything in biology, optics, nuclear physics, chemistry, etc.

      Throw them all away. Einstein's Garden doesn't work anymore.

    18. Re:NP != "Non-polynomial" by UbuntuDupe · · Score: 1

      Hm. All I can say is, those alternate dimensions or universes are going to be PRETTY pissed to find out we've been using THEIR computational resources to crack the encryption on some angsty email a geek sent to the first girl to date him in years.

    19. Re:NP != "Non-polynomial" by teknopurge · · Score: 1

      More than that. Some people have hypothesized that forces in our dimension that are unbalanced are actually bleeding into adjacent dimensions. Gravity is a great example: it takes something the size of the Earth to hold my feet to the ground. The idea is that all forces are equal in magnitude; the rest of gravitie's impact - pertaining to the earth - is being felt in another dimension, perhaps as another force.

  17. Still an exponential algorithm by n01 · · Score: 4, Insightful

    The paper says that the path the photons have to travel for a TSP with N cities is
    N*d + a*(2^N+1)
    Since the speed of light is finite, the algorithm still takes O(2^N) i.e. exponential time to complete.

    1. Re:Still an exponential algorithm by pclminion · · Score: 1

      Since the speed of light is finite, the algorithm still takes O(2^N) i.e. exponential time to complete.

      Yes, but at least in theory the paths can be made almost infinitely short. At some point the energy density of the photons will overwhelm spacetime and form a black hole, however :-)

    2. Re:Still an exponential algorithm by n01 · · Score: 1

      Yes, but at least in theory the paths can be made almost infinitely short. No you can't because the 'algorithm' sums powers of two length to make sure every node was visited exactly once. If you make variable a arbitrarily small, imprecisions sum up, and you can't be sure any more that every node was visited exactly once.
    3. Re:Still an exponential algorithm by Anonymous Coward · · Score: 0

      Yeah, but the funny thing about quantum particles(waves) is that they take the different paths at the same time. You get interference because one path is a different length then the other path so the light is out of phase (with itself!) at the finish. The point being, the time will be proportional to the longest path... not the total length of all possible paths.

  18. exponential photons == not practical by frankie · · Score: 4, Insightful

    To solve a 50-point traveling salesman using their algorithm would require on the order of 50^50 photons (about 10^85). For comparison, the Sun emits roughly 10^45 photons per second. Somehow I don't think their system is going to scale very well.

    1. Re:exponential photons == not practical by Cyclon · · Score: 2, Insightful

      The proposed method is meant purely as a gedankenexperiment.

      Guess you missed this part.

    2. Re:exponential photons == not practical by Anonymous Coward · · Score: 0

      Don't you mean "exponential photons != practical"? :)

    3. Re:exponential photons == not practical by RealAlaskan · · Score: 4, Funny
      ... their algorithm would require on the order of 50^50 photons (about 10^85). For comparison, the Sun emits roughly 10^45 photons per second.

      So, are you saying that this is a pretty bright idea? Or that it's not so bright?

    4. Re:exponential photons == not practical by Goalie_Ca · · Score: 1

      Isn't scaling the whole point :-P

      --

      ----
      Go canucks, habs, and sens!
    5. Re:exponential photons == not practical by Anonymous Coward · · Score: 0

      We used to write FEM problems that'd take weeks to solve, so I did some random scribbles, given the rapid climb of n^n and that the 'per-second' part can integrate out 3.5 digits in an hour, or 6 digits per week...

      A 40 point problem becomes 10^64 photons (10^19 seconds coming from the sun).
      A 35 point problem becomes 10^34 photons (10^-9 seconds from the sun)

      An eyeful of sunlight has 10^15 per second, according to: http://www.umich.edu/~urecord/0405/Mar07_05/02.sht ml
      Oddly, a 1mW laser generates roughly the same (according to a quick democalc found at http://www.repairfaq.org/sam/laserioi.htm#ioilpm4)

      Since we're playing strictly gedanken-games, I say we make a 10-meter parabolic concentrator (pi * 5m^2 * 10kcm^2 /6cm^2-per-eyeful = 10^5, and run the test for a week. That's gonna give 10^11 x as many photons. 10^26 photons per week.

      Heh, you're right... still not gonna scale worth beans, even assuming I didn't hose the above googling of physics vals or the math...

    6. Re:exponential photons == not practical by techiemikey · · Score: 1

      So, are you saying that this is a pretty bright idea? Or that it's not so bright? that it's not bright enough
    7. Re:exponential photons == not practical by dkf · · Score: 1

      A back-of-an-envelope calculation indicates that it will take around 100 billion billion years (or just a bit short of 9 billion times the age of the universe) of the entire photon output of our galaxy to produce enough light to solve the N=50 problem. Now, my calculation is wildly inaccurate but I'd expect it to be no more than 2 orders of magnitude out; that's a seriously large amount of computation whatever way you cut it!

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
  19. Does this mean you can make "maps" by Anonymous Coward · · Score: 0

    based on other things? For example, the Kemeny order in voting is NP-hard. If you were to make the appropriate map, would it solve the problem for a couple of dozen rank-ordered presidential candidates?

  20. You've exceeded Slashdot's DMR by spun · · Score: 3, Funny

    That joke has too high of a Dennis Miller ratio even for Slashdot.

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    1. Re:You've exceeded Slashdot's DMR by Boronx · · Score: 1

      That's only because he abbreviated GRB.

    2. Re:You've exceeded Slashdot's DMR by spun · · Score: 1

      Sad to say, although I know what a GRB is I had to look up who the heck Charles Stross is. He sounds like my kind of author, but it makes me wonder: are all good sci-fi authors from the UK these days? Iain Banks, Ken McLeod, Stephen Baxter, Peter Hamilton, Ian McDonald: the list goes on and on.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    3. Re:You've exceeded Slashdot's DMR by Impy+the+Impiuos+Imp · · Score: 1

      Dennis Miller Ratios for various Slashdot topics:

      - Quantum Computing

      "Apparently the method is polynomial in time, but exponential in energy ..."
      to which Charles Stross replies "Ah, so that's what the short duration GRBs are!"

      Slashdot reader: Who is Charles Stross?

      - Women

      "She wears an over the shoulder boulder holder..."

      Slashdot reader: "She?"

      --
      (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
    4. Re:You've exceeded Slashdot's DMR by Fweeky · · Score: 1

      I had to look up who the heck Charles Stross is. He sounds like my kind of author Here's one of his books if you'd like to check.

      are all good sci-fi authors from the UK these days? No. Peter Watts is Canadian. You can check to see if he's decent too (people are going nuts over Blindsight atm).

      Greg Egan is Australian, and there's plenty of supporting information of his existing work and a few of his short stories on there if you're not familiar with him.
    5. Re:You've exceeded Slashdot's DMR by spun · · Score: 1

      I love Egan. I'll have to check out Watts and Stross.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    6. Re:You've exceeded Slashdot's DMR by Danny+Rathjens · · Score: 1

      I was noticing the same thing about a lot of .uk authors becoming so predominant in the upper echelons of good sci-fi writing. There is plenty of room up there, though, thankfully. Some American counter-examples are Dan Simmons, Vernor Vinge, David Brin and Orson Scott Card. :)

    7. Re:You've exceeded Slashdot's DMR by MadMidnightBomber · · Score: 1

      I don't think it's quite as obscure as the Banach-Tarski paradox joke in someone's sig. ("An anagram of BANACH TARSKI is BANACH TARSKI BANACH TARSKI").

      --
      "It doesn't cost enough, and it makes too much sense."
    8. Re:You've exceeded Slashdot's DMR by AttilaSz · · Score: 1

      Also, let's not forget Karl Schroeder, who's Canadian. http://en.wikipedia.org/wiki/Karl_Schroeder

      As for Iain M. Banks, I must say that I just recently bought and read the first Culture novel, "Consider Phlebas", and am sort-of disappointed. Yes, I know it came out in 1986, and I would probably enjoyed reading it around that time as a 12 year old kid (I read a lot of SF even back then), but it feels too retro today. I mean, there's a predictably boring enemy alien race (descended from lizards, very original), mortal humans without means of transcending or uploading, drones as sentient beings in metallic enclosures. Right. I was thoroughly bored through the book, especially since whole chapters didn't add anything to the plot, the little there was of it - the chapter on Eaters, the description of a Damage game, to name just the two most boring ones. It was a prime example of when a writer can't weave the world description in the story organically, but explicitly shoves it down your throat. I doubt I'll be buying the other books from the series. (I have a policy of only buying a single book from an author I haven't yet read, and if it works out, I'll order more.)

      The same vacation to which I brought "Consider Phlebas" with me (and which - vacation that is - unfortunately ends this sunday) I also brought Charles Stross' "Accelerando" and Schroeder's "Sun of Suns", and both of them very incredibly original, packed with original and daring ideas, and great plot. I stayed up until 3AM one night to finish Accelerando, whereas earlier I had to force myself to pick up Consider Phlebas and continue reading it.

      --
      Sig erased via substitution of an identical one.
    9. Re:You've exceeded Slashdot's DMR by spun · · Score: 1

      Thanks, I had always wondered about that sig. I'd even heard of the paradox, long ago, but I didn't remembere who'd come up with the idea. That is WAY more obscure than jokes about gamma ray bursts.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    10. Re:You've exceeded Slashdot's DMR by Anonymous Coward · · Score: 0

      I know the feeling. Some people seem to like Banks for characterization and his prose, whereas I always found him a bit wooden. IMHO what Banks excels in is the relationships of the Minds, ie. the weakly godlike AIs or whatever you like to call them, and Consider Phlebas didn't have much anything going on in that department. If you ever feel like giving Banks another chance, Excession is probably the closest he gets to the more modern computing-oriented scifi, although there's still a lot of human interaction woven in. After all Banks did study humanities instead of science or engineering like the current hot authors.

  21. The run time is wrong by gr8_phk · · Score: 2, Insightful

    They claim n^2 time complexity. Then they point out the number of photons needed is n^n. There are physical limits to photon production rates. I would say they're still looking at an n^n problem unless they can produce an infinite number of photons instantly, and that would damage the equipment. It's an interesting method, but it doesn't actually improve the time complexity of the problem as they claim.

    1. Re:The run time is wrong by SamP2 · · Score: 3, Funny

      >I would say they're still looking at an n^n problem unless they can produce an infinite number of photons instantly, and that would damage the equipment

      If you can produce an infinite number of photons instantly than I don't think you'd be worried about any kind of equipment.

      For starters, try producing an infinite number of photons non-instantly (in a finite period of time), OR try to produce a finite number of photons instantly. Equipment will be the least of your problems.

    2. Re:The run time is wrong by aynoknman · · Score: 1

      Equipment will be the least of your problems. I would have thought that equipment would be the least of your problems in any gedankenexperiment. Metaequipment on the other hand may be more problematic.
      --
      We need a "+1 -- nice sig" moderation.
  22. Exponential in computational resources by Geoffrey.landis · · Score: 2, Insightful

    It's an analog computer solution to the problem; note that analog computers are not subject to limits based on theorems relating to Turing machines (and related algorithmic computational devices). However, the resources required still scale exponentially; the computation (if you want to call it that) is done by photons, and the number of photons required scales as N^N. Essentially, they are trading time for computational resources, where in this case the computational resource is "photons".

    --
    http://www.geoffreylandis.com
  23. P= NP by naoursla · · Score: 2, Funny

    P is equal to NP because processing speed is increasing expoentially. Each year, the amount of processing you can do doubles.

    The researchers are just using an expoential number of photons to aid in the processing.

  24. Poor server... by tool462 · · Score: 1

    The submitter should have gedanken about their server before submitting this story.

  25. Oh great. by tietokone-olmi · · Score: 1

    Another one of these Gedankenexperiments that end up (if they were feasible to implement in the real world) trading time for space. Of course if we're dealing with photons and stuff, that "space" ends up being real, physical space rather than bits in a memory chip somewhere.

    Which kind of tells why it's "purely a Gedankenexperiment".

  26. Polynomial time. by Climate+Shill · · Score: 1

    IIRC the word "time" as used in "exponential time" etc. actually means the amount of work done,
    so any NP-complete problem can be solved in reasonable real time if you have exponential resources to throw at it. Which is what this optical solution does, with N^N photons. There may be some interesting techniques involved, but it's still basically "assume a big enough computer....".

  27. Reminds me of rainbow sort by mjsottile77 · · Score: 1

    This reminds me of a clever optical sorting algorithm I ran across a paper on in recent years (see http://www.cs.auckland.ac.nz/CDMTCS//researchrepor ts/244dominik.html). Again, a clever thought experiment - not sure how feasible it will be anytime soon to actually use though.

  28. I prefer the "wet" method by SparkleMotion88 · · Score: 1

    This problem seems to lend itself very well to creative solutions. Perhaps because it is pretty simple and it readily corresponds with many geometric/structural systems that can be used to compute a solution. As far as I know, this was the first problem that was solved using DNA

  29. My quack-o-meter is beeping by p3d0 · · Score: 5, Informative

    To our knowledge it is the first time that a method for the reduction of non-polynomial time to quadratic time has been proposed. This is far from the first time that someone has claimed to solve an NP-complete problem in P time by limiting the size of the problem. It's not that hard to design a circuit that solves TSP in polynomial time if you get to put a limit on the number of edges.

    Also, "NP" doesn't stand for "non-polynomial". There is no such thing as "non-polynomial time". It's Nondeterministic Polynomial time.

    These guys may know their optics, but they're amateurs in complexity theory. This is most painfully obvious in their concluding sentence:

    Since for practical (non-pathological) problems by purely electronic means very good solutions to even large size problems can be found, our proposed method is not meant to solve real-world traveling salesman problems but rather as a gedankenexperiment to show how photons and the laws of physics can considerably reduce the computational complexity of difficult mathematical problems. It does no such thing. All it does is parallelize the computation.
    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    1. Re:My quack-o-meter is beeping by wurp · · Score: 1

      I agree with everything you have to say, with one nitpicking exception: non-polynomial time seems a reasonable term to use. An algorithm that is O(N^N) takes time that is not polynomial in N, hence it is non-polynomial time.

      Non-polynomial wouldn't mean the same thing as NP... You could put together an algorithm that is non-polynomial on a non-deterministic computer, too, which would be non-polynomial and not NP. It would be harder than NP.

    2. Re:My quack-o-meter is beeping by p3d0 · · Score: 2, Informative

      I agree with everything you have to say, with one nitpicking exception: non-polynomial time seems a reasonable term to use. An algorithm that is O(N^N) takes time that is not polynomial in N, hence it is non-polynomial time. I disagree. They're not talking about an algorithm here; they're talking about the Traveling Salesman Problem. They called the TSP "non-polynomial", and that is by no means certain. If you could prove that the TSP has no polynomial-time solution, you'd get the Turing award.
      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    3. Re:My quack-o-meter is beeping by wurp · · Score: 1

      Yeah, I wasn't trying to say it was reasonable to use in that context... you just said "there's no such thing as non-polynomial time". It was with that specific assertion that I was disagreeing.

      I really appreciate your forthright stand on what they had to say - it takes some confidence to tell someone who so clearly knows what they're doing in one technical area that they're full of shit in another.

    4. Re:My quack-o-meter is beeping by loconet · · Score: 1

      Standford isn't just a name you know :p

      --
      [alk]
    5. Re:My quack-o-meter is beeping by dkf · · Score: 1

      There is no such thing as "non-polynomial time". Yes there is. It's usually called EXPTIME (or one of its big brothers, EXPSPACE, EXPEXPTIME, etc.) You don't tend to see them all that often outside a few research areas because they're very badly behaved on real-world problems. Not that NP has anything to do with that. To be in NP, you have to have a polynomial-complexity algorithm for checking a candidate solution to a problem.
      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    6. Re:My quack-o-meter is beeping by p3d0 · · Score: 1

      Yeah, I wasn't trying to say it was reasonable to use in that context... you just said "there's no such thing as non-polynomial time". It was with that specific assertion that I was disagreeing. Ok I see what you mean. I guess a specific algorithm can be said to run in "non-polynomial time".
      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    7. Re:My quack-o-meter is beeping by p3d0 · · Score: 1

      There is no such thing as "non-polynomial time". Yes there is. It's usually called EXPTIME (or one of its big brothers, EXPSPACE, EXPEXPTIME, etc.) You don't tend to see them all that often outside a few research areas because they're very badly behaved on real-world problems. Ok, I spoke hastily. There are problems that are provably not in P. I guess they could be said to run in "non-polynomial time".
      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  30. Josie Bauer addressed Travelling Salesman problem by karlandtanya · · Score: 3, Funny
    Some time ago.


    Solution involved a Farmer's daughter, which she apparently was.

    --
    "Reality is that which, when you stop believing in it, it doesn't go away." - Philip K. Dick
  31. Increasing Orders by Doc+Ruby · · Score: 2, Interesting

    "N+X" is called "addition": additive increase. "N+N" is called multiplication (2N): geometric increase, as is "N*X". "N*N" is called exponential (NX). What is "NN" called? And is there a higher order of increase?

    And what are all those kinds of operations called?

    --

    --
    make install -not war

    1. Re:Increasing Orders by tomstdenis · · Score: 1

      N*N is called a quadratic and it's polynomial, N^N (or more so) c^N where c is constant is called exponential when c > 1.

      --
      Someday, I'll have a real sig.
    2. Re:Increasing Orders by Skuto · · Score: 1
    3. Re:Increasing Orders by xenocide2 · · Score: 1

      Note that realistically, pretty much any problem has an exponential solution, so going beyond this isn't very interesting. There's a few problems related to the halting problem for which we know we simply can't provide a running time, and a couple other classes of problems that we don't know how to analyze, but they're not what I'd call real world problems. These facts, have, naturally, not stopped mathematicians from spending time talking about how to represent very large numbers; the Ackerman function is one such example.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    4. Re:Increasing Orders by Jeek+Elemental · · Score: 1

      dear lord that made neurons I thought Id beaten into submission years ago move.

    5. Re:Increasing Orders by dargaud · · Score: 1

      Is there a higher order of increase? And what are all those kinds of operations called? Yes, there are plenty of functions which grow faster than an exponential. Some of the most well known (and easier to understand) include the Knuth up-arrow, the hyper operator, the Conway chained arrow...

      What's interesting to note is that some of those functions like the busy beaver (!), although well defined and somewhat simple, cannot even be computed. We only know that they are BIG !

      --
      Non-Linux Penguins ?
    6. Re:Increasing Orders by The+Master+Control+P · · Score: 1

      Something faster than e^(e^x)) is super- or hyperexponential. The Ackermann function and tetration have already been mentioned. Wikipedia is a good resource for more info on large numbers. A() and tetration can be represented by Knuth arrows, which provide a compact way to describe recursive exponentiation-like operations. They can describe functions that grow at enormous rates:

      2^4 = 16; 2^^4 = 2^(2^(2^2)) = 2^(2^4) = 2^16 = 65536 (2^^n is ackermann(4, n+3)-3 )
      2^^^4 = 2^^(2^^(2^^2)) = 2^^(2^^(4)) = 2^^65536 = 2^(2^( ... 65534 more times ... )
      2^^^^4 = 2^^^(2^^^(2^^^2)) = 2^^^(2^^^(2^^(2^^2))) = 2^^^(2^^^(2^^4)) = 2^^^(2^^^65536) ...

      And these values are for pitifully small integers. Wikipedia's Knuth arrow article also says they can be called tetration (^^), pentation (^^^), and presumably hexation, heptation, octation, and are all related to the ackermann function. Beyond that, Conway's chained-arrow notation works when there are too many Knuth arrows...

      (IANAM [Mathematician], but I do read Wikipedia)

    7. Re:Increasing Orders by Doc+Ruby · · Score: 1

      Slashdot doesn't accept posts with the tag, though it does contain them in its own pages. Should have used the "Preview" button.

      Anyway, the question should read something like this:

      "N+X" is called "addition": additive increase. "N+N" is called multiplication (2N): geometric increase, as is "N*X". "N*N" is called exponential (N^X). What is "N^N" called? And is there a higher order of increase?

      And what are all those kinds of operations called?

      --

      --
      make install -not war

    8. Re:Increasing Orders by Doc+Ruby · · Score: 1

      Related question: [super, hyper, XXX, {YYYY, ...}] what comes next? What comes last, "ultra"?

      --

      --
      make install -not war

    9. Re:Increasing Orders by Doc+Ruby · · Score: 1

      I just felt my brain get bigger. Especially when looking at the Ackermann function of Graham's number, as recommended by the next reply pointing me at the XKCD cartoon.

      --

      --
      make install -not war

    10. Re:Increasing Orders by The+Master+Control+P · · Score: 1

      I suppose that any function with a vertical asymptote or the inverse of any function with a zero all grow to infinity in finite time, but that's wierd non-integer stuff. Busy Beavers apparently grow faster than any recursive function which would include Ackermann's.

      This page talks about huge numbers and ways to define them.

  32. Wow, you're dumb by Anonymous Coward · · Score: 0, Flamebait

    Go read this and note how stupid your comment makes you look.

  33. really 100^100 photons by cinnamon+colbert · · Score: 1

    haven't been able to read the /.ed article, but I speculate that it is quite possible they could use a lot less then 100^100 photons
    any comments from someone who understands this ?

  34. Analog computers by Anonymous Coward · · Score: 0

    Their claim that "it is the first time that a method for the reduction of non-polynomial time to quadratic time has been proposed" is pretty sceptical.

    Analog computer thought experiments to accomplish this were proposed long ago.

    e.g. for finding the shortest path between cities: cut lengths of string corresponding to each possible route between cities, then tie them all together. Then just grab the two knots corresponding to origin and destination and pull them taught (you may need to cut any irrelevant strings that restrict this pulling)

    See http://consc.net/notes/analog.html for more.

    1. Re:Analog computers by david_thornley · · Score: 1

      e.g. for finding the shortest path between cities: cut lengths of string corresponding to each possible route between cities, then tie them all together. Then just grab the two knots corresponding to origin and destination and pull them taught (you may need to cut any irrelevant strings that restrict this pulling)

      Except that shortest path is a quadratic problem (see Dijkstra's algorithm), and transforming a quadratic problem with a computer to a problem involving tying together a quadratic number of pieces of string isn't a win.

      I'm also not convinced by the spaghetti sorting routine: the claimed O(n) performance depends on the selection of the longest piece of spaghetti being an O(1) process. Given any limitation on the number of pieces of spaghetti that can be compared at once (like the size of the table), this doesn't hold. If there's any limitation on the precision of the cut spaghetti length, the algorithm fails.

      And now somebody's solving the N-city TSP with fancy hardware in O(N^N) time, according to some of the commentators.

      I haven't seen one of those fancy analog algorithms yet that doesn't fail as N gets sufficiently high, and if we bound N then technically all algorithms are O(1).

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  35. optics is not unususal by cinnamon+colbert · · Score: 1

    if you look at the references in the article, several of the titles suggest that the use of optical means to solve the traveling salesman problem is not new, altho the exact optical setup here is new.

  36. Parent post is not correct. by serviscope_minor · · Score: 1

    You are confused about the definition of a Turing machine. A Turing machine says nothing about computational efficiency. Being able to solve NP complete problems in polynomial time will not give you an oracle. That is, it will still not be able to solve the halting problem, for instance.

    --
    SJW n. One who posts facts.
    1. Re:Parent post is not correct. by asuffield · · Score: 2, Informative

      You are confused about the definition of a Turing machine. A Turing machine says nothing about computational efficiency.


      And yet, P and NP are defined in terms of a Turing machine. Herein lies the GPs point: it is taken as a given that the Turing machine is capable of computing any effectively computable function, but it is an open question as to whether we can build a different kind of machine which would be able to solve NP problems in polynomial time. By definition, the non-deterministic Turing machine solves NP problems in polynomial time, but we don't currently know how to build one.

      Quantum computers may or may not be such a machine - we're really not sure yet (possible proofs have been advanced for both answers; the prevailing opinion is that none of them are likely to be correct and quantum computers are something entirely new that we don't understand). Other methods of computation also may exist. Our understanding of the fundamental laws of physics is grossly incomplete, so we can't tell. However, it seems unlikely that the computational capacity of the universe is adequately modelled by a Turing machine.

      This relates to the question of "P=NP?" as follows: if such a machine can be built, then *some* machines can solve these problems in polynomial time. If P=NP, then *all* machines can solve these problems in polynomial time.
  37. Poor choice of domain name by Anonymous Coward · · Score: 2, Insightful

    opticsexpress.com
    I guess they were going for "optics express"
    I of course read it as "optic sex press"
    and there's no way you're getting me to click that link at work!

    1. Re:Poor choice of domain name by Chris+Burke · · Score: 1

      and there's no way you're getting me to click that link at work!

      But once I get home...

      --

      The enemies of Democracy are
    2. Re:Poor choice of domain name by dwpro · · Score: 1

      reminds me of my favorite network monitor's plugins page.
      http://www.nagiosexchange.org/

      --
      Millions long for immortality who do not know what to do with themselves on a rainy Sunday afternoon. -- Susan Ertz
  38. This is sorta old by tjstork · · Score: 1

    I have in one of my numerical methods books, dating from I want to say the early 1990s, a fairly lengthy discussion on how an analog computer made out of a rope could theoretically be used to solve TSP. The point, and honestly, I might not understand this correctly, was that computational complexity is a function of computers being based on a Turing model. So, an analog "computer" you could dream up could theoretically "solve" TSP, because, it's really not the same sort of machine. But it would never solve it exactly... per se.

    --
    This is my sig.
  39. Mad moderation. by serviscope_minor · · Score: 2, Funny

    The parent post is woefully incorrect (just read a wikipedia article on NP completeness). But it is not a troll.

    Please, mods use some sense in moderating.

    --
    SJW n. One who posts facts.
    1. Re:Mad moderation. by naoursla · · Score: 1

      It was intended more as a thought provoking joke, really.

      And it is true that if you have expoentially increasing computational resources you can solve NP problems in polynomial time.

    2. Re:Mad moderation. by Anonymous Coward · · Score: 0

      With this reply though, you became a troll, so the moderation is correct.

    3. Re:Mad moderation. by Just+Some+Guy · · Score: 1

      And it is true that if you have expoentially increasing computational resources you can solve NP problems in polynomial time.

      That would be true, but we don't have exponentially increasing computational resources. Moore's Law, for instance, describes geometric increase.

      --
      Dewey, what part of this looks like authorities should be involved?
    4. Re:Mad moderation. by naoursla · · Score: 1

      When you say "geometric increase", do you mean as in a geometric sequence?

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

      How is that not exponential growth over time?

      If processing power doubles every 24 months then P=2^(t/24). That is an exponential function.

  40. In other news... by Spazmania · · Score: 1

    In other news, Computer Science researchers discover that O(n^n) problems reduce to O(1) given the availability of n^n comptuers working in parallel.

    I would note, however, that a more useful result does exist: many O(n log n) problems reduce to O(n) given the availability of log n processors. As log n is generally small this requires only a trivial application of parallelism. Merge sort, one of the staples of database engines, is a good example.

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
  41. Analog reference by samuel4242 · · Score: 1

    My favorite analog computing paper comes from Steiglitz et al see www.cs.princeton.edu/~ken . I like the way to use car differentials to solve 3SAT. Pretty cool. It only requires O(n) differential equations where n is the number of clauses in the 3SAT equation. But I've heard that the result still requires an exponential amount of precision. At least according to some. Maybe an engineer could hack through what baffles the theory heads.

  42. Not sure I agree by TheEmptySet · · Score: 1

    You're probably right that it won't give you an oracle, but my comment is about the properties of a Turing machine (or similarly any computer based on the same algorithmic logic) as regards runtime orders. There are many applications (unlike NP) in which one can prove useful lower bounds for runtime. However, I don't think it goes against causality or thermodynamics to beat these by getting some funky physical process to come up with the answer in a way that avoids the necessary computation by 'outsourcing' it to the 'processing' that is the underlying cause of the laws of physics. Okay, so this is a bit wacky, but what the hell. I am a mathematician...

  43. The given algorithm is $O(2^N)$ by natoochtoniket · · Score: 2, Insightful

    Actually, the running time is not reduced by the algorithm disclosed in the article. The disclosed algorithm has running time at least $O(2^N)$. The algorithm uses photons as parallel processors, but the shortest running time for any of those photons is $O(2^N)$. This is because the algorithm uses a time delay in the apparatus representing city $I$ equal to $\alpha 2^I$, where $\alpha$ is strictly longer than the longest city-to-city delay in the problem. In city $N$, the time delay is $\alpha 2^N$. The algorithm uses these time delays to differentiate between valid solutions and erroneous solutions to the TSP problem. For every valid solution, the photon representing that solution must pass through each city $i$, and must incur the corresponding delay. Hence, every valid solution is found only after time at least $\sum_{i=1}^N \alpha 2^i)$ or $O(2^N)$.

    The article approaches a problem that Optics Express readers might not normally consider. And, it may represent a new application of optics technology (that is out of my field). But, the use of physical models to approach $NP$ problems is not new. And, the algorithm is not faster than other known algorithms for the same problem.

  44. glass map of london by Hubert_Shrump · · Score: 1

    someone else already did it, much more simply, in 2002.

    http://www.rsc.org/publishing/journals/LC/article. asp?doi=b200589a

    --
    Keep your packets off my GNU/Girlfriend!
  45. lame by Anonymous Coward · · Score: 0

    no pics in your link :(

  46. Finally, a solution is in sight by SleptThroughClass · · Score: 1

    Finally someone will shine some light on this problem. Unfortunately, the answer is only "a photon". I hope it tells you which photon and the path.

    1. Re:Finally, a solution is in sight by strcpy(NULL,... · · Score: 1

      Such an appropriate nickname..

      --
      echo 'cat sig | sh' > sig
  47. Definition of gedankenexperiment by 192939495969798999 · · Score: 1

    This is where you read a summary like that one, and you want to gedanken yourself in the head with a hammer afterwards for trying to understand it.

    --
    stuff |
  48. Sounds ridiculous by Ancient_Hacker · · Score: 1
    Um, isn't this as sucky solution, as at each city the reflections are going to jack up the background noise level? Even with a good match, you're unlikely to get less than 10% reflection and crosstalk at each junction. After just a FEW hops the reflection noise is going to mask any desired signal.

    Also I don't see (from the abstract) how they're going to extract the desired shortest answer from all the wrong answers and reflections.

  49. But Requires Exponential Photons... by mkcmkc · · Score: 1

    but it does appear to be a polynomial algorithm You could say that, but since it requires an exponential number (e.g., N^N) photons, it's not clear that this is really an improvement.

    It'd be a little like having an polynomial time algorithm that required exponential space. Interesting oddity, but unfortunately not useful in itself.

    --
    "Not an actor, but he plays one on TV."
  50. Wikipedia by spicydragonz · · Score: 1

    Any article adds loads of scholarly credibility by quoting from wikipedia.

  51. Improvement of the algorithm to one measurement by n01 · · Score: 1

    You can improve the algorithm to go from exponential to constant time (ignoring the finiteness of the speed of light) if you don't apply the optical setup to the TSP, but to the existence of a http://en.wikipedia.org/wiki/Hamiltonian_path or circle, in a given input graph, which is still NP-Complete.
    You can make sure a photon has passed through every node exactly once if you put power of two delays in every node. If the delays sum up to 111....111 (in binary notation) a Hamiltonian exists. Big plus: you're done with only one measurement.

    1. Re:Improvement of the algorithm to one measurement by Alaria+Phrozen · · Score: 1
      No, you can't. A Hamiltonian path is just an unclosed Hamiltonian cycle. Copy-pasted directly from wiki:

      Related problems 1. An equivalent formulation in terms of graph theory is: Given a complete weighted graph (where the vertices would represent the cities, the edges would represent the roads, and the weights would be the cost or distance of that road), find a Hamiltonian cycle with the least weight. It can be shown that the requirement of returning to the starting city does not change the computational complexity of the problem. You're having the same problem as the people who published the article had.

      Your summarization isn't right at all. It implies to me that if you traverse a 00000001 delay node and a 00010000 delay node exactly 15 times you'll be marked as a correct solution. The process for them to determine the optimal path is actually far more complex.
  52. The only one by hxftw · · Score: 1

    who read the url as 'optic sex press'?!

    --
    Just because an idea is popular doesn't make it right.
  53. You're not alone by strcpy(NULL,... · · Score: 1

    And I was thinking, "It should be Optical Sex Press!"

    --
    echo 'cat sig | sh' > sig
  54. More precisely, wouldn't you be a German Nazi? by JimTheta · · Score: 3, Funny

    Your friendly neighbourbood grammar Nazi

    If I had a hard-ass Spanish teacher correcting my Spanish, then I'd call him/her a "Spanish Nazi". So, you know, if you were correcting my German, it stands to follow...

    I'm just sayin'.

    1. Re:More precisely, wouldn't you be a German Nazi? by CapnGrunge · · Score: 1

      Uh, that would be a Castillian Phalangist.

      --
      I see 57005 people
    2. Re:More precisely, wouldn't you be a German Nazi? by nyekulturniy · · Score: 1

      Or a veteran of the Blue Division.

      --
      Nyekulturniy... Proudly confusing readers and editors since 1981!
  55. First time by volpe · · Score: 1

    To our knowledge it is the first time that a method for the reduction of non-polynomial[sic] time to quadratic time has been proposed.

    Let n = number of cities.

    1. Cut strings to length of path between cities: O(n^2))
    2. Tie together ends of links that meet at same city: O(n^2))
    3. Grab start and destination endpoints in each hand, and pull taut: O(1)
    4. Mark route along links that have tension in them: O(n)

    Overall complexity: O(n^2)

    1. Re:First time by DarkSkiez · · Score: 1


      3. Grab start and destination endpoints in each hand, and pull taut: O(1)

      What are the optimal start and end points?

    2. Re:First time by Anonymous Coward · · Score: 0

      Try every pair: O(n^2)

    3. Re:First time by volpe · · Score: 1

      Oops. I must be recalling from memory some variant of the problem, or a different problem entirely, in which the start and end points are inputs to the problem and you need to find the shortest path between them. Nevermind. It's been a while. :)

    4. Re:First time by Anonymous Coward · · Score: 0

      correction-> Try every pair: O(n!)

    5. Re:First time by Alaria+Phrozen · · Score: 1

      There are Choose(n,2) pairs, which is O(n^2). The problem with the algorithm lies in:

      Say they're all approximately the same length. Well the only taut string is going to be the string typing the start and the end, and all the rest are going to be completely limp. Cut it. Now the tension shifted to one extra junction. If you keep cutting, how are you sure you didn't cut a path you will eventually need?

      The order of cutting matters. There are on the order of (n^2) strings and consequently on the order of (n^2)! ways to cut. Since you only need a path of length n it's n!.

    6. Re:First time by Anonymous Coward · · Score: 0

      The rope method proposed does not work, the physical model would approximate the shortest path between n cities, yes but would not give you the shortest path. Imagine that the shortest path from a to b was shown and the shortest path from b to c was also shown as well as the shortest path from c to d and d to e, and this path formed your 'supposed' shortest path. Problems begin to arize geometricially looking at the eularian tsp when when 2 points are convex, becuase your shortest path will trace back on itself. The shortest path from a to b and b to c is not allways the shortest path between a b and c. This method works becuase it travels all paths simultaniously and then the shortest overall path is determined by starting at a path length that is impossibly short and then increasingly the length of the path until you reach the minimal path. The rope method would just give the shortest local distances, not the overall shortest path

  56. However, it uses exponential resources by Michael+Woodhams · · Score: 2, Insightful

    In their setup, each city has a delay line (i.e. optical fibre.) Each new city you add has to have a delay line twice as long as the previous one you added. The required amount of fibre grows exponentially with the number of cities.

    --
    Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
  57. String solution from Mathematical Games. by argent · · Score: 1

    Damn you, that's pretty much exactly what I was about to post. I miss the Scientific American "Mathematical Games" column, which is where I first ran into this scheme.

    I thought that Martin Gardner argued that step to was combinatorial, so proportional to N! not N^2.

    In either case, it seems to be equivalent to the scheme in teh article.

  58. Jehovah's Witnesses by Anonymous Coward · · Score: 0

    I'm one of Jehovah's Witnesses, you insensitive clod!

  59. Think of the Salesmen! by DanielMarkham · · Score: 0

    As a former imaginary traveling salesman, I beg you slashdotters to show some mercy.

    Let's get this straight. To solve the traveling salesman problem, we make a big fiber optic thingy and shine a flashlight down the fibers. The interference pattern gives us the answer.

    But it's not a computer any more. And it's not something that "runs on photons" as many commenters have said. Nope. These patterns happen because of quantum effects, which mean the little virtual photons are doing all the work.

    So that's the plan, eh? Make the little virtual photons find the salesman? Well I've got news for you, Mr. Big Shot Scientist. Next year we're sending out an army of virtual traveling salesmen. That'll show ya!

    So we have quantum computers that are doing work in other universes and virtual flashlights finding the best paths for salesmen? I'm thinking this whole traveling salesman gig is just getting too hard any more. I'm going to look into working for RIAA.

  60. Congratulations by Anonymous Coward · · Score: 1, Funny
    You have discovered an O(n^2) way to determine the shortest path between two cities.

    ...Although I suspect there may be a slightly faster algorithm.

  61. N^N is not polynomial time by cbunix23 · · Score: 1

    Huh ? How is N^N polynomial time ? N^M is polynomial for /fixed/ M. N^N is much larger than polynomial time.

    1. Re:N^N is not polynomial time by 808140 · · Score: 1

      Jesus Christ, read the summary... he said the number of photons, not the time.

  62. I'm pretty certain the answer to by ThatsNotPudding · · Score: 1

    If a salesman starts at point A, and if the distances between every pair of points are known, what is the shortest route which visits all points and returns to point A?
    involves stopping off to visit lonely wives - probably the lonely wives of optical researchers.
  63. If only the problem weren't hypothetical... by taricha · · Score: 1

    Then this would be a really good algorithm. You have a colleague in each town put up a set of beamsplitters which correspond to the roads connecting his city to the others, and (approximately) tada!

  64. Wikipedia is perfectly valid for that... by physicsphairy · · Score: 1

    You've got a lot more than your citations to worry about if you're a physicist and don't know what a quantum computer is. The point of giving such a definition is for clarification... it doesn't introduce any new knowledge to the intended audience (except for maybe casual readers from other fields) it just crystallizes what is already known into something useful and concise. They could have just as well made up a definition for scratch. It doesn't matter. There is ZERO risk that relying on wiki for the definition would introduce a flaw into their results. There is admittedly a lot of debate in academia over wikipedia... a lot of people hate it, not least of which because wiki's "no original research" policy seems to give the finger to people who are aren't exactly humble about their wealth of knowledge. But I've known quite a few professors who have used wiki to give background for their presentations, colloquiums, etc., and to me it just seems rather needlessly stuck-up to say "It is never ever ever ok to cite Wikipedia, because we don't like it!"

  65. And NP complete is.... by Pvt_Waldo · · Score: 1

    I know I have no clue what it means. NP complete? It's one of those happy buzz phrases geeks toss around to sound cool. Come on now, how many of you have no idea or looked it up on wikipedia?

  66. Uhm by sentientbrendan · · Score: 1

    Isn't he just solving a NP polynomial problem with... a nondeterministic machine? So what? I can do that too...

  67. N^N Salesmen by qeorqe · · Score: 1

    Isn't using N^N photons similar to using N^N salesmen?

    The first sentence of the introduction claims TSP is an unsolved problem.
    TSP is not unsolved.

    The third sentence of the introduction claims that NP-complete problems take more than polynomial time. NP-complete problems all have solutions on a non-deterministic Turing machine that can complete within polynomial time. Whether or not they have any solutions on a deterministic Turing machine that can complete within polynomial time is considered to be an unsolved problem.

    Is "Optics Express" a refereed journal?

  68. Optical Solution to the Subset Sum Problem by mattball · · Score: 1

    On a similar note, I wrote an article last year about solving the Subset Sum problem (another NP-complete problem) using optics. This solution involves summing modulated sine waves and using an optical Fourier transform to determine which sums are contained within the set. An interesting read if you want a different slant on the topic...

  69. I AM a Traveling Salesman by LifesABeach · · Score: 1

    My work is in the Real Estate Industry. My FIRST tasking of the day is to visit the houses that have come on to the market. Sometimes it is 1 or 2, or it has gone as high as 30 to 40; And about 99% of the time, some place different than before. My current method is to screen scrape MapQuest for directions, and distances. It sure would be nice to use an algorithm that could get the job done; I also think the Web Master at MapQuest would like it to, so that the rest of my kind could use it.

  70. I've seen this before by seethis · · Score: 1

    It was a paper about the hamiltonian path problem, where the authors have reached the same conclusion: that they require an exponential amount of energy... I've googleit and I've found the author page: http://www.cs.ubbcluj.ro/~moltean/publications.htm and the paper was: http://www.cs.ubbcluj.ro/~moltean/nc_oltean.pdf

    1. Re:I've seen this before by seethis · · Score: 1
  71. Mod Parent Up by Zo0ok · · Score: 1

    Probably nobody read this storya anymore but parent describes the problem with the method in the easiest and most obvious way. ...but I cant resist saying that in the Paper they say that "other choices are possible" about the delay lines... I cant tell if there are any other ways to choose delay lines that are not exponential.

    1. Re:Mod Parent Up by Michael+Woodhams · · Score: 1

      I can't see how there would be.

      --
      Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
  72. Got mirror? by Tablizer · · Score: 1

    Can they use this appuratus to solve the Flodded Server Problem also?

    crahso(s^2) > x where 's' is the number of slashdotters.

  73. nails and a magnetic fluid by Dr.Ruud · · Score: 1

    Hit some nails in a block of wood, representing the cities. Carve the roads between the cities as trenches between the nails. Pour some "magnetic" fluid of a certain thickness in the trenches and wait for it to settle.