Question: In this problem the input is the values of a real-valued function f at the integers 1, . . . , n. Affine linear functions

In this problem the input is the values of a real-valued function f at the integers 1, . . . , n. "Affine linear functions" are functions of the form g(x) = ax b. We are interested in finding an affine linear function g which is closest to f in the sense that it minimizes n k=1 |g(k) f(k)| . Show how to formulate this as a linear programming problem. (You do not need to put it in "stan- dard form".)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!