Comparison
directsearch vs nevergrad vs nlopt vs scikit-optimize
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A derivative-free solver for unconstrained minimization
Maintained. Last release 6 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install directsearchA Python toolbox for performing gradient-free optimization
Low maintenance activity. Last release 19 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install nevergradLibrary for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
Maintained. Last release 5 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install nloptSequential model-based optimization toolbox.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install scikit-optimizeIn short
- scikit-optimize is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- nlopt is the most used: 3.7M downloads a month, 3.7× more than nevergrad.
- Maintenance is comparable: directsearch 51, nlopt 49, nevergrad 34 on Pythie’s Index.
- nevergrad is growing fastest: downloads +133% over the last month.
Side by side
| Metric | directsearch | nevergrad | nlopt | scikit-optimize |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 51 | 34 |