Skip to content
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

Wrong syntax for Fminbox in example #1006

Closed
lamorton opened this issue Sep 13, 2022 · 1 comment
Closed

Wrong syntax for Fminbox in example #1006

lamorton opened this issue Sep 13, 2022 · 1 comment

Comments

@lamorton
Copy link

Example code here:

results = optimize(od, initial_x, lower, upper, Fminbox{GradientDescent}())

Doesn't work. This comment notes that the syntax was changed to:

result1 = optimize(restmp_a, lower, upper, abc, Fminbox(GradientDescent()); iterations = 20)
@pkofod
Copy link
Member

pkofod commented Nov 23, 2022

How did you find that? The page you're pointing to is for a very very old version of Optim. The current docs are here https://julianlsolvers.github.io/Optim.jl/stable/#user/minimization/

@pkofod pkofod closed this as completed Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants