-
-
Notifications
You must be signed in to change notification settings - Fork 99
update Manopt and associated packages #906
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,7 +33,7 @@ end | |
| x0 = zeros(2) | ||
| p = [1.0, 100.0] | ||
|
|
||
| stepsize = Manopt.ArmijoLinesearch(R2) | ||
| stepsize = Manopt.ArmijoLinesearch() | ||
|
||
| opt = OptimizationManopt.GradientDescentOptimizer() | ||
|
|
||
| optprob_forwarddiff = OptimizationFunction(rosenbrock, Optimization.AutoEnzyme()) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can for example stay as before, as I just wrote in the general comment
ArmijoLiineSearchnow introduces a factory (ok it is not aStepsisetype then, and when necessary one canproduce_typeon that, see the pattern in action athttps://github.com/JuliaManifolds/Manopt.jl/blob/013feadf95736639cdedb1bff2c4f1723f7dfe64/src/solvers/gradient_descent.jl#L208-L210
(note the new union there)
as well as
https://github.com/JuliaManifolds/Manopt.jl/blob/013feadf95736639cdedb1bff2c4f1723f7dfe64/src/solvers/gradient_descent.jl#L233C1-L233C45
which “turns” a factory into the concrete thing (here the stepwise) and is the identity if one already provides a stepwise.