From 60c7dc2b4ad394b093c154c29b3a98cd8a44a48d Mon Sep 17 00:00:00 2001 From: Vaibhav Kumar Dixit Date: Fri, 17 Nov 2023 12:26:11 -0500 Subject: [PATCH] Update lib/OptimizationPolyalgorithms/src/OptimizationPolyalgorithms.jl --- .../src/OptimizationPolyalgorithms.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OptimizationPolyalgorithms/src/OptimizationPolyalgorithms.jl b/lib/OptimizationPolyalgorithms/src/OptimizationPolyalgorithms.jl index 18c6f4108..aec10718c 100644 --- a/lib/OptimizationPolyalgorithms/src/OptimizationPolyalgorithms.jl +++ b/lib/OptimizationPolyalgorithms/src/OptimizationPolyalgorithms.jl @@ -37,7 +37,7 @@ function SciMLBase.__solve(prob::OptimizationProblem, else res1 = Optimization.solve(prob, Optimisers.ADAM(0.1), args...; maxiters, kwargs...) optprob2 = remake(prob, u0 = res1.u) - res1 = Optimization.solve(optprob2, Optimisers.ADAM(0.1), args...; + res1 = Optimization.solve(optprob2, Optimisers.ADAM(0.01), args...; maxiters÷10, kwargs...) end end