-
Notifications
You must be signed in to change notification settings - Fork 20
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
CUTEst.jl and AutoDiff -- compute high-order derivatives #318
Comments
Hi @mahaa2 ! |
Hi @tmigot, Thanks for the reply. Thanks. |
Sure, no problem.
would return the problem in NLS (nonlinear least squares) format so you can access the residual directly. Feel free to have a look at the package documentation https://jso.dev/OptimizationProblems.jl/dev/ . In particular, it shows how to run benchmark, etc. The aim is to add as much problem as possible there, but a this is a slow process. |
Hi @tmigot, Thanks again. OptimizationProblems.ADNLPProblems.watson() doesn't seems to give me any output nor it seems to be in the list of models ... |
Another thing, for example, this didn't run. If I am doing mistakes let me know, using OptimizationProblems nlp = OptimizationProblems.ADNLPProblems.chnrosnb_mod() x = randn(nlp.meta.nvar); f(t) = -hprod(nlp, x + v * t, v) |
I am not sure, to understand. I tried this with
In case, computing the directional derivative of Adding more problems to OptimizationProblems.jl is a work in progress and quite slow as we are understaffed. Maybe @dpo or @abelsiqueira would have more insights. |
@mahaa2 The code that Tangi shows also works for me on macOS with Julia 1.10.0 and
Could you say what platform you are on, what version of Julia, and what version of the packages you are using? You have to add and use However, what you’re trying to do isn’t currently working. We will investigate. |
I am using :
I have just changed the package version of OptimizationProblems, now it seems to work |
Looks like the issue was solved, so I am closing this. Feel free to reopen otherwise. |
Hi is there a way to use auto-diff within CUTEst.jl ?
For example, whenever using something like,
f(t) = -hprod(cute_model, x + u *t, u)
ForwardDiff.derivative(f, 0.0)
I get an error
The text was updated successfully, but these errors were encountered: