Finding saddle point

Yes agreed, but I expect the OP really wants to use something like cubic splines, and in higher dimensions.

This should also be doable using the piecewise approach I outlined here: Latest recommendations for global optimization - #45 by dpsanders

1 Like