I have the following mathematical and proggramming problem: I have a list of about 14000 items. I must chose 4 items so that a + b + c + d - pi = minimal error
going threw all options will take far too long time. I am supposed to build a program (i'm doing it with a python script) that will solve this problem
Any ideas?
Edit: If it helps, the items are ek/10000 - 1 for every k between 0 and about 14400 (that will give pi)