-
Notifications
You must be signed in to change notification settings - Fork 224
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
extra cg arguments in fminbox #89
Comments
Just wondering if anyone has made any progress on this issue. If not I could probably do it, as I'm trying to get |
See #149 |
Gosh, this was almost 2 years ago, so your guess is as good as mine of what I had in mind then ;-) I believe the reason I opened this issue was that I was using fminbox in a package and I wanted to be able to pass through optimization arguments. It seems the #205 does this. Anyway, I'll close this issue now and open a new issue in case I hit a problem with updating MinFinder. Thanks for cleaning up these old issues! |
I was adapting my little MinFinder algorithm to the new
fminbox
API and I noticed that the remainingcg
function has 3 more arguments than the genericoptimize
currently allows. These areeta
,P
andprecondprep
.Changing the
optimizer=cg
keyword argument infminbox
to another method fails withunrecognized keyword argument "eta"
How about adding these 3 arguments to the
optimize
function definition and using optimize withmethod=optimizer
infminbox
instead of the currentoptimizer
? @timholy, I believe you wrote this code and if you want I can help with writing this in a PR if you agree. You probably also know better how this will play with your pending PR #50.Slightly related, I saw
optimize.jl
is pretty verbose, and that this change will add even a few more lines to it. Maybe this calls for a rewrite?I can assist here if someone has a good idea for it.
The text was updated successfully, but these errors were encountered: