I have a set of approximations of the form
known1 ~= 10X + 15YX - known2
where X and Y are unknown constants and known1 and known2 are known but different in every equation. For instance:
60 ~= 10X + 15YX - 40
50 ~= 10X + 15YX - 30
10 ~= 10X + 15YX - 20
(ignore the specific numbers, this is just to show which values change in each approximation)
I'm looking to get a good estimate of X and Y, ie I'm looking to minimize
sum of abs(10X + 15YX - known2 - known1) for all (known1, known2) pairs
Is there an analytical way to do this, or a more efficient way than trying random (X, Y) pairs?