-
-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Currently, the OptimizationFunction docs don't really explain the boolean type parameter (iip).
The only mention is
iip: In-Place vs Out-Of-Place
For more details on this argument, see the ODEFunction documentation.
This is not very illuminiating in the OptimizationFunction case, especially as the cost function there is usually a scalar function, which would be straightforwardly considered to be out-of-place, just going by the signature – yet, as mentioned in #852, the type parameter appears to actually influence (mostly?) the form of gradients, etc. as e.g. generated by AD.
To phrase it a different way: Because OptimizationFunction is a general interface type, I'd expect iip to be meant to describe the objective function I supply, rather than to influence whatever AD/… later make of the code internally to the solvers.