Skip to content

Use SciPy differential evolution vectorisation#946

Merged
NicolaCourtier merged 6 commits into
developfrom
vectorized-not-workers
Jun 4, 2026
Merged

Use SciPy differential evolution vectorisation#946
NicolaCourtier merged 6 commits into
developfrom
vectorized-not-workers

Conversation

@NicolaCourtier

Copy link
Copy Markdown
Member

Description

Fix SciPy differential evolution to use vectorized instead of workers by default, to avoid creating nested multiprocessing pools.

Type of change

Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #).

Important checks:

Please confirm the following before marking the PR as ready for review:

  • No style issues: $ pre-commit run or $ nox -s pre-commit (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
  • All tests pass: nox -s tests
  • The documentation builds: nox -s doctest
  • Code is commented for hard-to-understand areas
  • Tests added that prove fix is effective or that feature works

@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.12%. Comparing base (4628a65) to head (a9eabe2).
⚠️ Report is 58 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #946      +/-   ##
===========================================
+ Coverage    89.41%   92.12%   +2.70%     
===========================================
  Files           63       74      +11     
  Lines         4857     5789     +932     
===========================================
+ Hits          4343     5333     +990     
+ Misses         514      456      -58     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@brosaplanella brosaplanella left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@NicolaCourtier NicolaCourtier merged commit faaffe3 into develop Jun 4, 2026
35 checks passed
@NicolaCourtier NicolaCourtier deleted the vectorized-not-workers branch June 4, 2026 14:42
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.

2 participants