Skip to content

A scipy.optimize.minimize interface#488

Open
FrancoisGallard wants to merge 9 commits into
cvanaret:mainfrom
FrancoisGallard:scipy-f
Open

A scipy.optimize.minimize interface#488
FrancoisGallard wants to merge 9 commits into
cvanaret:mainfrom
FrancoisGallard:scipy-f

Conversation

@FrancoisGallard

Copy link
Copy Markdown

This implements an interface that is compatible with the https://docs.scipy.org/doc/scipy-1.16.2/reference/generated/scipy.optimize.minimize.html method.

It is used a lot in Python, and it will be faster for many users to use this interface.

Currently it does not support the Hessian and Hvp. I tried to implement it in a different branch but it does not work yet (I dont know why).

@cvanaret

Copy link
Copy Markdown
Owner

Thanks a lot @FrancoisGallard! I'll have a look at the submission. Anything I can help with regarding 2nd-order information?
It would also be nice to have a Github Action that runs test_scipy_interface.py.

@FrancoisGallard

Copy link
Copy Markdown
Author

Thanks a lot @FrancoisGallard! I'll have a look at the submission. Anything I can help with regarding 2nd-order information? It would also be nice to have a Github Action that runs test_scipy_interface.py.

Sure for the github action. It seems mandatory. I dont know how to do that. Do you?

For the hessian, yes I think we could take some time to debug together but before maybe you can have a look at this branch there is a test for the hessian that fails. Its really weird it crashed when accessing the x value, but I think the real bug source is elsewhere, peobably the way I pass the hessian.

https://github.com/FrancoisGallard/Uno/tree/scipy_hess

@amontoison amontoison force-pushed the main branch 5 times, most recently from 5a5ca03 to 21482ad Compare April 15, 2026 06:33
@cvanaret

cvanaret commented May 5, 2026

Copy link
Copy Markdown
Owner

@FrancoisGallard gentle bump :) Let me know if I can help.

@FrancoisGallard

FrancoisGallard commented May 10, 2026

Copy link
Copy Markdown
Author

I just created a new PR with Hessian, its a re implementation with Claude and @jgiret #705

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants