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 2bab653 commit 6d19cefCopy full SHA for 6d19cef
lib/OptimizationNLopt/src/OptimizationNLopt.jl
@@ -44,7 +44,7 @@ function SciMLBase.requireshessian(opt::Union{NLopt.Algorithm, NLopt.Opt}) #http
44
string(opt.algorithm)
45
end
46
47
- if str_opt[2] == 'N'
+ if str_opt[2] == 'N' || occursin('LD_LBFGS', str_opt) || occursin('LD_SLSQP', str_opt)
48
return false
49
else
50
return true
0 commit comments