Skip to content

Commit

Permalink
Proposed solution to bug SciML#745
Browse files Browse the repository at this point in the history
The comment edit needs to be performed in SciMLBase and other solver packages.
  • Loading branch information
ParasPuneetSingh authored May 29, 2024
1 parent e0610cd commit 9d7892b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/OptimizationBBO/src/OptimizationBBO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ function SciMLBase.__solve(cache::Optimization.OptimizationCache{
end

t1 = time()

"""
the retcode below is generated and returned to SciMLBase.build_solution function needs to have a case where if not
recognised and the method converges we return success or special warning that the retcode was not recognised
and if the process was successful ignore the warning.
"""
opt_ret = Symbol(opt_res.stop_reason)
stats = Optimization.OptimizationStats(;
iterations = opt_res.iterations,
Expand Down

0 comments on commit 9d7892b

Please sign in to comment.