-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finite differences: shouldn't we count f_calls? #219
Comments
Yes, but we can't ask that library to do that. We should still be able to do it by assuming it's |
It is sort of possible to have the library do it by passing in a closure that modifies the variable when it is called but the performance for this has been quite shaky lately on master. |
That's technically possible but seems to needlessly complicated the finite differencing code. |
I was just thinking about the |
Only if we don't specify that we want central differencing and the default were to change. |
Okay, I guess we'll just have to be careful then :) I guess we do need some sort of flag though, to pass through to the optimizer, so it knows if it is using finite differences or not (we could show a |
Aren't there techniques to compute multiple finite difference at the same time, if the sparsity structure is known? Maybe better to fix the packages that perform the fds? |
Shouldn't we count the function evaluations done in finite differences towards
f_calls
?The text was updated successfully, but these errors were encountered: