Skip to content

Add the derivative-free optimizers to the nanobind layer - #1572

Merged
NAThompson merged 1 commit into
developfrom
nanobind-optimization
Oct 12, 2026
Merged

NAThompson merged 1 commit into
developfrom
nanobind-optimization

Conversation

@NAThompson

@NAThompson NAThompson commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

differential_evolution, jso, random_search and (where Eigen is found) cma_es, minimizing a Python callable over a box. Worker threads take the GIL per call, and an exception from the callable cancels the run and is raised.
Fix test_logcdf on 80/128-bit long double: 40-digit references, and 2048 ulps for tiny tails in wider types (ibeta/gamma_p error there).
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

🤖 Generated with Claude Code

@NAThompson

Copy link
Copy Markdown
Collaborator Author

@dschmitz89 : Here are the python bindings to our current optimizer suite.

@NAThompson
NAThompson force-pushed the nanobind-optimization branch from d277b0b to c3de668 Compare October 12, 2026 18:31
differential_evolution, jso, random_search and (where Eigen is found) cma_es, minimizing a Python callable over a box. Worker threads take the GIL per call, and an exception from the callable cancels the run and is raised.
Fix test_logcdf on 80/128-bit long double: 40-digit references, and 2048 ulps for tiny tails in wider types (ibeta/gamma_p error there).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NAThompson
NAThompson force-pushed the nanobind-optimization branch from c3de668 to 11f513a Compare October 12, 2026 20:22
@NAThompson
NAThompson merged commit 4e7ca95 into develop Oct 12, 2026
50 checks passed
@NAThompson
NAThompson deleted the nanobind-optimization branch October 12, 2026 22:23
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