On Nov 30, 2012, at 1:12 PM, Gilles Sadowski <gil...@harfang.homelinux.org> wrote:
> Hello. > >> As a user of the optimization algorithms I am completely confused by the >> change. It seems different from how optimization function are typically used >> and seems to be creating a barrier for no reason. > > If you think that it's for no reason, then you probably missed some > important point: If you can express the objective function in terms of > "DerivativeStructure" parameters, then you get all derivatives for free! > I do not understand what you mean. You cannot get derivatives of a function for "free". This goes against basic complexity analysis. You can automatically compute derivatives, if that is what you mean, but the computation will not be free, and it will be as expensive as a manual implementation by the user. > > If using the "forward" formula for first-order derivative, then knowing the > value of the function spares one function evaluation per optimized > parameter. > For my example above you about doubled your computational complexity. Why is this not important? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org