You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optim version 1.7.6/ Julia 1.9.2 on Windows 10. Running the basic rosenbrock function and I don't see the candidate solution values just the final objective value. Something missing in my setup?
julia> rosenbrock(x) = (1.0 - x[1])^2 + 100.0 * (x[2] - x[1]^2)^2
rosenbrock (generic function with 1 method)
julia> result = optimize(rosenbrock, zeros(2), BFGS())
Status: success
Candidate solution
Final objective value: 5.471433e-17
Optim version 1.7.6/ Julia 1.9.2 on Windows 10. Running the basic rosenbrock function and I don't see the candidate solution values just the final objective value. Something missing in my setup?
julia> rosenbrock(x) = (1.0 - x[1])^2 + 100.0 * (x[2] - x[1]^2)^2
rosenbrock (generic function with 1 method)
julia> result = optimize(rosenbrock, zeros(2), BFGS())
Status: success
Candidate solution
Final objective value: 5.471433e-17
Found with
Algorithm: BFGS
Convergence measures
|x - x'| = 3.47e-07 ≰ 0.0e+00
|x - x'|/|x'| = 3.47e-07 ≰ 0.0e+00
|f(x) - f(x')| = 6.59e-14 ≰ 0.0e+00
|f(x) - f(x')|/|f(x')| = 1.20e+03 ≰ 0.0e+00
|g(x)| = 2.33e-09 ≤ 1.0e-08
Work counters
Seconds run: 0 (vs limit Inf)
Iterations: 16
f(x) calls: 53
∇f(x) calls: 53
The text was updated successfully, but these errors were encountered: