10-11-2005 09:54 AM
10-11-2005 11:02 AM
10-14-2005 02:30 AM
Hi Guys,
Been silently battling away.
Have been rather impressed with the giant steps I have been able to make.
My first attempt time was +-70s. Now, with a bit of experimentation and some wild ideas that payed off I have managed to get it down to:
5,8 SEC (FIRST RUN, i.e with LABVIEW just started up).- {P4-2,8 GHZ 1GIG RAM}
Will continue trying but it is small steps now.
Have not seen complete Vi times lately(only the prime 2,4M battle times). Wonder if I am now anywhere close to the leaders.
Have to clean it up and then will submit to Bruce for a time.
Good Luck All.
Jurgen 3 5 7 11 13 17 19 23 29 31 37 39 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109
10-14-2005 03:26 AM
10-14-2005 03:34 AM
10-14-2005 10:38 AM - edited 10-14-2005 10:38 AM
Very nice Jurgen. Finally a completely fresh new profile for the timing curve. 🙂 Looks very elegant and efficient, no weird jumps!
Does it look the same on the second run?
I've been working on a VI that uses no memory (well a few kB when running). Since it does NOT store any primes, it has a disadvantage when running the sample set and takes about 20 seconds for all 100 problems. Still, it solves the last problem in under 2 seconds starting with a completely blank slate. (1.6 GHz Pentium M). The image shows a collection of 8 runs. There is no penalty for "first run".

(Yes, I know it is slow on a modern computer! :(. I still have an old Pentium with only 48MB of RAM. I suspect it will do quite well on that while most other solutions would start swapping like crazy ;))
Turn of all caching of primes and see how fast you are! 🙂
Message Edited by altenbach on 10-14-2005 08:41 AM
10-17-2005 06:08 AM
10-18-2005 11:43 AM
10-19-2005 01:26 AM - edited 10-19-2005 01:26 AM
Down to 1.53 Alt on the Chaos subchallenge. And stuck there with the present algorithm.
I'll see if I can find something better...
Except Christian and myself, as anybody else the courage to post his score ? Or do you just hide in the dark ? I'll see if I can find something better...
And BTW, this is what I get on the main challenge (second run). :), on a 1 MHz 64K AppleII 2.2 GHz 512 Mo Athlon
Unfortunately there are some missed numbers :(. Here is the limit of the stochastic approah... but may be, with some more efforts ?.. who knows ? :D:D:D

Also, I don't think that reversing the array is a viable approach. And beware of solutions that would rely on a specific ordering of the numbers. If I was Bruce, I would scramble the data to dismiss any order specific solution...
Message Edité par chilly charly le 10-19-2005 08:30 AM
10-19-2005 02:08 AM
CC,
This looks great, except for the 5% wrong answers. Let's hope it's just an easily correctable edge effect and not some fundamental flaw in the algoritms due to mathematically forbidden shortcuts. 😞
I could write one that that takes about a microsecond to solve all 100 problems incorrectly. 😉