I'm trying to automatize/speed up a control process.
The best way to imagine this is like a little store: I know the total that's supposed to be left in the register at the end of the day (e.g. 150$), I have a list of sales, the sum of which should obviously match our daily total. Yet the list sometimes contains errors e.g. wrong sales.
To give an example, assume that the expected sum is 150$, but our 10 sales sum up to 153.37$. Now if there is a sale in the list that is exactly 3.37$ it is most likely wrong and I want my program to suggest to exclude this.
Now for my real world problem, "luckily" I have more post decimal digits for my sum, the likelihood of suggesting to exclude a wrong sale by accident is very low. On the other hand, I usually deal with up to ~250 sales, of which usually up to 20 can be wrong (so just for constrains think sales(n) =<250 and wrong trades(k) =<20).
In other terms, I have a set S {}. By excluding elements from the set, the Sum of elements in S should match a known Sum A, one can assume that there is an unique solution to this (So no "you could exclude Element B or simply Element D AND E [as B = E+D])
If this is a "known" problem to solve I'd also be happy if you can just give me a hint where to find the fitting literature.