First refer to this question:
Is this function "$h$" symmetric of the plane $x=y$? - Mathematics Stack Exchange
The main problem is to find an appropriate (objective) function (a curve) to compare the implicit filtering method and Nelder-Mead method for optimization. The backgrounds of these methods are not important here. But you need to know according to the features of the two methods and in order to compare (by writing computer codes to verify the process of finding the minimum), the function is better to be this kind:
It is very smooth and possibly not differentiable but only Lipschitz continuous are the methods comparable.
So it should be like the kind of function at the page first I let you refer to. A piecewise function about the symmetric plane or axis. (Like the example (for ), when and when so but ).
Also, for this function we are finding, **the minimum should appear at the symmetry plane(axis)**, the discontinuity places. Like, a function that is symmetric to the plane and the minimum also appears at is fine. (Notice, the minimum of the example function at the page first I let you refer to is not at .) But it's even perfect if we can find a function that is symmetric about a parabola, like . (And my question here is how to find such functions which are symmetric about a parabola?)
What are the possible functions satisfying those? How you construct one?