Dan, I wrote a Java program that uses the odometer technique to come up with all totals for up to five values in combination for 100 values. That took about 4 minutes to run on a 1.8 Ghz laptop. That solution is far from optimized because I created an object to contain all result combinations that is pretty heavy (I adapted an existing program). I would guess I could get it down to a minute or so but for combinations of more than 6 values you would likely need to use something like a genetic algorithm. If you sample fits this criteria, I could run it. David Morris
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.