mlpack/ensmallen

A header-only C++ library for numerical optimization --

59
/ 100
Established

Engineers and researchers building C++ applications can use this library to solve complex numerical optimization problems. It takes your problem definition (the function to optimize, constraints) and provides various algorithms like gradient descent or simulated annealing to find the best solution. This is for anyone developing C++ software that requires efficient, high-quality mathematical optimization capabilities.

805 stars.

Use this if you are a C++ developer needing to embed robust numerical optimization routines directly into your application, ranging from simple function minimization to complex constrained problems.

Not ideal if you prefer using a higher-level language like Python or R for your data analysis, or if you need a visual interface for optimization.

numerical-analysis algorithm-development scientific-computing machine-learning-engineering operations-research
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 23 / 25

How are scores calculated?

Stars

805

Forks

133

Language

C++

License

Category

cpp-ml-libraries

Last pushed

Feb 02, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/mlpack/ensmallen"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.