Skip to content

Add support to pass and use gradient callback in the optim interface#872

Merged
dmitry-kabanov merged 11 commits into
MaRDI4NFDI:mainfrom
dmitry-kabanov:optim-grad
May 12, 2026
Merged

Add support to pass and use gradient callback in the optim interface#872
dmitry-kabanov merged 11 commits into
MaRDI4NFDI:mainfrom
dmitry-kabanov:optim-grad

Conversation

@dmitry-kabanov

Copy link
Copy Markdown
Collaborator

MaRDI Pull Request

Changes:

  • Add set_grad_fn to the optim interace
  • Implement and use it in scipy_optimize and optim_jl
  • Add tests for Python and Julia

@dmitry-kabanov
dmitry-kabanov merged commit d901c61 into MaRDI4NFDI:main May 12, 2026
8 checks passed
@dmitry-kabanov
dmitry-kabanov deleted the optim-grad branch May 12, 2026 09:48
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

Successfully merging this pull request may close these issues.

1 participant