Slashdot Mirror


Optimal 24 mark Golomb Ruler Proven

globring writes "Four years ago, distributed.net users undertook the search for the optimal 24 mark Golomb Ruler. This year sees the successful conclusion of that effort. The diagram of the optimal ruler can be seen here. If you have no idea what a Golomb Ruler is, you can read up on them. Work on finding the optimal 25 mark ruler is still in progress."

12 of 46 comments (clear)

  1. Distribution of differences? by Anonymous Coward · · Score: 3, Interesting

    The linked figure containing intrapair differences for the 24-mark OGR was very interesting to me.

    I suppose I could look this up, but I'm too lazy at the moment, and I'm not an expert in math.

    But I'm wondering if anyone knows what the distribution of intrapair differences looks like. Does it follow any known distribution? Is it something that someone has looked into?

    I'm in statistics, so these things are interesting to me.

  2. I for one... by rueger · · Score: 3, Funny

    ... welcome our new Golomb rulers...ah I mean overlords!

  3. I read the article and still have no idea... by Cade144 · · Score: 3, Insightful

    I read the article, and I still don't have much of an idea what a Golomb Ruler is good for, and why you need this in addition to a trusty straight-edge, tape measure, or laser distance finder. But hey, I'm not a mathematician.

    I do know that people like to study problems that have no practical use (yet) and get completly engrossed in them.

    Why bother with Fermat's Last Theorem? Why try to find the least number of colors necessary to color an n-dimensional map? Why obsess over twin primes?

    Because it's darn fun , that's why!

    Hail to all obessed mathematicians and impossible problem solvers !

    Good luck with your 25, 26 and ... n -mark Golomb Rulers.

    1. Re:I read the article and still have no idea... by GCP · · Score: 5, Informative

      Briefly (probably too briefly) this and similar sounding challenges have real world applications in optimization, where you are trying to figure out how to get what you need without it costing any more than necessary.

      For example, suppose you needed to do something that involved two things that had to be the right distance apart, which might mean physical distance, or two oscillators on different frequencies, or two voltages, or whatever. Just two things separated by some value.

      You could get pairs separated by 1,2,3,4, etc. by just having one thing (telescope, oscillator, electrode, etc.) located at values 0,1,2,3,4, etc. But suppose each of those things cost you $10 million and you had a $50 million budget. You could still lay them out at 0,1,2,3, and 4, but is there another layout where your $50 million could buy you more bang for the buck?

      How could you lay out 5 things to have the maximum number of different gaps between any pair? And this problem adds another constraint, which is to make the total distance from the least value to the greatest value as small as possible. There are real world problems where that's a constraint, too, such as buying the land on which to situate telescopes.

      Once problems like this are tackled and optimal solutions found using just numbers, then somebody who later comes along with a practical problem who has heard about this work can take advantage of this work to optimize his system.

      --
      "Those who have never entered upon scientific pursuits know not a tithe of the poetry by which they are surrounded."
  4. Is'nt RC5-72 rather useless? by GQuon · · Score: 4, Interesting

    Slashdot beat the Amiga team in OGR-24, but the Amiga team is leading the Slashdot team in OGR-25: OGR-25 Team Listing

    But the Dutch Power Cows leads in both efforts.

    OGR-24 blocks have been scarce for the last few months, so the statistics have been rather erratic.

    At least the OGR effort is more useful than the RC5-72 effort. We showed how quick DES and RC5-56 could be broken quickly with a bruce force attack with spare CPU cycles. But why do RC5-72? It's not that interesting.

    I'm doing OGR-25 now, and when that's finished I might go on to something like folding @ home, if there's a client.

    --
    Irene KHAAAAAAN!
  5. Such a thing as a "Complete" Golomb ruler? by dschuetz · · Score: 3, Interesting

    Do Golomb rulers exist that can measure every integer distance from 1 up to their length?

    That is, a ruler with marks at (0,1,2) can measure lengths of 1, 2, and 3 units, and is 3 units long. The sample ruler on the above-linked site has marks at (0,1,4,9,11), and can measure every length between 1 and 11 EXCEPT 6. You can swap the first two blocks (giving (0,3,4,9,11)) but then you lose the ability to measure 10.

    I guess what I'm asking is whether these rulers exist, and how many are they? Or is there a point where they stop being possible?

    1. Re:Such a thing as a "Complete" Golomb ruler? by JiffyPop · · Score: 3, Interesting

      What I take from the minimum rulers you give is that they prove that if you have a ruler that can measure every distance from 1 to 11 that it will either be longer than 11 units or it will have more than one way to measure at least one of the lengths. Looking at a table of optimal golomb rulers (google) I see that any optimal golomb ruler longer than 6 units (4 marks at 0-1-4-6) is not "complete," or in other words it cannot measure every unit distance up to and including its length.

  6. award for most scientific aol homepage goes to... by avi33 · · Score: 3, Funny

    golomb20

    Seriously. This is the type of thing you expect to see at cs.foo.edu/~golomb20

    Hey, I guess even mathematicians use aol. Well, ONE does, and maybe 19 other golombs before him.

    gears are for wussies

  7. Gollumb rulers and np-complete problems by davidwr · · Score: 3, Interesting

    I'm no expert on np-complete problems, and this is literally an off-the-cuff idea, so feel free to shoot it down or run with it:

    Someone once proved that np-complete problems map to each other. That is, if you solve one, you've solved them all. this page linked in the main story suggests that Golumb Rulers are "like" np complete problems. If it is indeed np complete, then maybe an efficient-but-suboptimal solution to the Golomb Ruler problem will map to any other np-complete problem.

    The same link mentions cyclic difference sets as a means of producing very efficient Golumb rulers, at least up to n=150.

    If this technique maps to other problems, like the travelling-salesman problem, then "practical" albeit not-quite-optimal solutions can be found relatively easily. If you are a traveling salesman, do you really care if your 100-stop route has a small amount of waste, if finding a better solution might take 10 years of cpu time?

    Likewise, if there are other "not quite optimal" solutions to np-complete problems for n>150, perhaps these solutions can be applied to the Golumb ruler problem, to generate "good enough" rulers of longer lengths.

    Of course, if the Golumb ruler problem doesn't map to the other problems, then "nevermind."

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:Gollumb rulers and np-complete problems by dkoulomzin · · Score: 5, Informative

      Actually, strictly speaking, both the travelling salesman problem and finding an efficient Gollumb ruler with n marks are not NP-complete. To be NP-complete, a problem must require a yes/no solution.

      For instance "Is this particular Gollumb ruler optimal among all Gollumb rulers with n marks" asks a yes/no question, and could therefore be NP-complete. Also, the problem "Does there exist a way to visit the following cities without travelling more than n miles" is a decision problem. Note that we can usually phrase non-decision problems as decision problems, but going in the other direction can be trickier... you may in fact have to use the yes/no algorithm an exponentially growing number of times to solve the original problem!

      It is true that NP-complete problems "map" to each other. In fact, this is part of their definition: an NP-complete problem is an NP problem that can map to any other NP problem. Essentially, NP-complete problems are the "hardest" problems of the NP problems. (And quickly, a problem is NP if given a solution and a "proof" to the problem, the "proof" can be verified in polynomial time. This loosely implies that if you can try all perspective solutions simultaneously, you can solve the problem in polynomial time, but if you have to try all possible solutions consecutively, it could take a while.)

      The article does mention that this problem is "like" NP-complete problems, but does not suggest any reason for this except for the presumed requirement of exponential time (which by the way is not necessarily a requirement for NP-completeness... this is in fact one of the outstanding questions in computer science).

      To get back to your original question (does an approximation algorithm for this approximate other NP-complete problems)... let's assume that the decision version of this problem is NP-complete. Then an approximation is more of a guess (with one-sided error) about the answer to the yes/no version. In this case, you have an approximator (with one-sided error) for all NP-complete problems. But this might not really provide an efficient or even correct solution for any corresponding non-decision problem.

      Finally, approximators for the travelling salesman problem do already exist. Not surprisingly, the more reliable and accurate the approximation algorithm, the more time it requires.

      I hope this clarifies things...

      --
      Thou shalt not begin a subject line or post with the word "Umm".
    2. Re:Gollumb rulers and np-complete problems by NonSequor · · Score: 3, Informative

      That would be an approximation algorithm. There are in fact approximation algorithms for the traveling salesman problem. The simplest one yields a tour no more than twice the length of the optimal tour. There is a better ones that gives a tour no more than 3/2 times the length of the optimal tour though and you can get a better approximation for some special cases.

      There is a lot of effort going into finding approximation algorithms. Some problems seem to be harder to find good approximations for than others, but it's not possible to take an approximation from one NP-complete problem to generate an approximation for all other NP-complete problems.

      The reason for this is that formally, NP-complete problems are phrased as decision problems. A decision problem basically amounts to "Does this data have the X property?" For the traveling salesman problem you would phrase the decision problem as "Does this weighted graph have a tour visiting each vertex of weight less than N?" The mapping between two NP-complete problems is a mapping for the data that each problem takes as input. This mapping does not provide you with a mapping between near-optimal solutions to one problem and near-optimal solutions to another. Furthermore, some NP-complete problems can only be phrased as a decision problem. For these problems, there are no near-optimal solutions; for all data, the answer is either yes or no.

      But despite that, yes approximation algorithms really are a big deal and private companies are giving grants to people working on commercially applicable ones. Right now I'd say that the study of approximation algorithms and probabilistic algorithms (i.e. algorithms that yield a correct answer most of the time) are where we're seeing the most development in computer science.

      --
      My only political goal is to see to it that no political party achieves its goals.
  8. Re:Brute forcing useful but not as interesting by r2q2 · · Score: 3, Informative

    Not really, alchemists were trying everything under the sun that could possibly convert something into gold. Brute forcing is a proven technique where you have an educated guess of what the problem is and then you use compuational cycles to do it.

    --
    My UID is prime is yours?