-
Notifications
You must be signed in to change notification settings - Fork 56
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
Importing MemoizeJac
from SciPy raises a deprecation warning.
#160
Comments
What is the reason for using (the now seemingly private) MemoizeJac? Does caching function/Jacobian evaluations help noticeably in continuous optimisers like Ipopt? I would assume it has no effect? |
I don't know. I didn't write that code. |
My guess would be that has little to no effect because those functions would rarely be called with the same arguments. |
Opened a PR to remove it: #161 |
Depends on the optimization problem. For instance, for an objective function that contains some expensive-to-evaluate expression IIRC, the main intention for adding this feature to cyipopt's scipy interface was because it's in scipy.optimize.minimize too. |
Yes, I think we should leave it in. After watching the discussion over at SciPy I think we will just have to import from |
See #157, but that didn't seem to help. See this issue on SciPy: scipy/scipy#17572
The text was updated successfully, but these errors were encountered: