in reply to Re^2: Average Price Algorithm
in thread Average Price Algorithm


I have something similar with a variation of fitness() except that the function does all the heavy-lifting of driving the moves:

Re: How can I calculate the right combination of postage stamps? (combinatoric n Choose k with conditions)

Replies are listed 'Best First'.
Re^4: Average Price Algorithm
by camelcom (Sexton) on Jan 28, 2009 at 18:50 UTC
    Thanks for all the suggestions so far - I'm investigating them all.

    I'm looking for an error of less than 0.001 from the actual average for all buckets (unless the bucket has < 3 or 4 allocations) and the timeframe is less than 3 seconds on a new linux blade.