This is an idea for probably a Master's Thesis project.
We know that we can approximate functions in a minimax senses, suitably sampled, using Linear Programming.
Where:
F is the function or series to be approximated.
A is the approximant or approximating function: a linear combination of basis functions such as a0 + a1*x +a2*x^2....
E is the error where the peaks (the maxima) are to be minimized and the result will be a series of equal peaks of generally alternating sign.
The equations look like this:
The inequalities in the linear program notation might look like this:
a01 + a11*x + a21*x^2 ...... + aN1*x^N - F1