Closed jshan432 closed 4 years ago
Sorry, I forgot to tag a newer version after merging https://github.com/Gnimuc/LBFGSB.jl/pull/6.
New version tagging is in progress, please try pkg> update LBFGSB
after v0.2.1
is tagged.
v0.2.1 has been tagged.
Hello,
I'm trying to use LBFGSB but get the following error when running the example Rosenbrock script. I'm using version 1.2.0 of Julia and the error message is as follows:
ERROR: LoadError: MethodError: no method matching (::L_BFGS_B)(::typeof(f), ::typeof(g!), ::Array{Float64,1}, ::Array{Float64,2}; m=5, factr=1.0e7, pgtol=1.0e-5, iprint=-1, maxfun=15000, maxiter=15000) Closest candidates are: L_BFGS_B(::Any, ::AbstractArray{T,1} where T, ::AbstractArray{T,2} where T; m, factr, pgtol, iprint, maxfun, maxiter) at /Users/lab_home/.julia/packages/LBFGSB/mGpSN/src/wrapper.jl:33 Stacktrace:
This is the same error I was getting when I attempted to write my own problem as well. Any feedback/suggestions that you can give are much appreciated.