We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d5b16c commit 0a64321Copy full SHA for 0a64321
lib/OptimizationSophia/test/runtests.jl
@@ -73,6 +73,6 @@ rosenbrock_comp(x, p = nothing) = (1 - x.a)^2 + 100 * (x.b - x.a^2)^2
73
74
optf_sophia = OptimizationFunction(rosenbrock_comp, AutoEnzyme())
75
prob_sophia = OptimizationProblem(optf_sophia, x0_comp)
76
-res_sophia = solve(prob_sophia, Optimization.Sophia(η=0.01, k=5), maxiters = 50)
+res_sophia = solve(prob_sophia, OptimizationSophia.Sophia(η=0.01, k=5), maxiters = 50)
77
@test res_sophia.objective < rosenbrock_comp(x0_comp) # Test optimization progress
78
@test res_sophia.retcode == Optimization.SciMLBase.ReturnCode.Success
0 commit comments