Subj : Re: efficient way of processing m combinations of n numbers in p sets To : comp.programming From : Willem Date : Wed Aug 17 2005 09:32 pm Mike wrote: ) I am trying to look at it from the point of view that the horse with ) the least odds will require the greatest bid placed on it. I believe ) all the other bets on the other horses should be in proportion to this ) initial bet (and the odds on these other horses). The problem I have ) is that it has been over 10 years since I was at Uni and my maths ) skills are pretty poor, so trying to derive this is tricky :-) ) ) If it was possible to apply minimum constraints to Mike's mathematical ) workings would this come close to descibing the proportions required in ) relation to the initial bet placed on the lowest odds horse? You mean calculate the proportion, set the largest bet in the proportion to the maximum bet, scale the rest appropriately, and set all bets below the minimum to the minimum ? Might work, I don't remember enough maths to be sure of it. Easily tested though, just run some numbers and see what the outcome is, analytically, and then do a monte carlo search for a lower outcome. SaSW, Willem -- Disclaimer: I am in no way responsible for any of the statements made in the above text. For all I know I might be drugged or something.. No I'm not paranoid. You all think I'm paranoid, don't you ! #EOT .