Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Running Example Problem #7

Closed
jshan432 opened this issue Jan 10, 2020 · 3 comments
Closed

Error Running Example Problem #7

jshan432 opened this issue Jan 10, 2020 · 3 comments

Comments

@jshan432
Copy link

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.

@Gnimuc
Copy link
Owner

Gnimuc commented Jan 10, 2020

Sorry, I forgot to tag a newer version after merging #6.

@Gnimuc
Copy link
Owner

Gnimuc commented Jan 10, 2020

New version tagging is in progress, please try pkg> update LBFGSB after v0.2.1 is tagged.

@Gnimuc
Copy link
Owner

Gnimuc commented Jan 10, 2020

v0.2.1 has been tagged.

@Gnimuc Gnimuc closed this as completed Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants