-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cooperation #16
Comments
One straightforward way would be to copy and paste this code as is into Optim and have I think it should be possible to fill in the fields of Would you be happy with a new type |
For now, I have no problem prepending |
I should add, that I'd be happy to participate in "experimenting" in this repo before we move stuff into Optim. |
Ok, I started this over here #17 . I left out some fields from |
I'm wondering, how much did you actually modify from LineSearches? edit: seems like it's just checking the order |
There should be two changes.
|
Okay, I will try to see if we can't just call the linesearches functions directly, as that would certainly simplify the code. |
Hm, I basically took the code for the line search, and inserted it into a function, and I get
instead of
I wonder what optimization we're cheating ourselves for by putting it in a function. |
I've also tried to put the linesearch code in a function, but my results are similar to yours. Using |
I never got around to figuring this out, but might have some time tonight |
I tagged an initial version for this package and updated the readme. I'm not sure if you still want the functionality in Optim since there might not be a way to reuse the existing linesearch code. This package does a few other things besides multivariate optimization too (root-finding, univariate optimization) so it's useful by itself. |
That's fine! I have another package that covers the same things you mention in the making, that I intend to be a back-end for Optim, but since you're using this already don't let me hold you back on anything :) |
We're/I'm still interested in cooperating and getting this in Optim. I was reluctant at some point, but adding StaticArrays as a dependency to Optim would be worth it to have this functionality in Optim.
edit: let me say why I was reluctant. My main problem was that I prefer not to depend on the actual type packages (numbers, arrays, ...) as it discourages generic interfaces. However, StaticOptim is almost stdlib, and the traits interface I had been hoping for in v1.0 that describes mutability is probably not coming any time soon.
The text was updated successfully, but these errors were encountered: