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.
2 parents 2bab653 + 42474ca commit d66a321Copy full SHA for d66a321
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