thieu1995/mealpy
A Collection Of The State-of-the-art Metaheuristic Algorithms In Python (Metaheuristic/Optimizer/Nature-inspired/Biology) observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 94
- Release rhythm 31
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 78
- age_days: 2361
- days_rel: 382
- days_push: 40
- n_releases_24m: 2
Adoption not part of the score
1272 stars · 273 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Mealpy is a Python library providing a large collection (233+) of state-of-the-art metaheuristic optimization algorithms, including nature-inspired, bio-inspired, and evolutionary methods. It offers a simple unified interface for solving arbitrary optimization problems, analyzing convergence, and benchmarking algorithm performance.
Use cases
- solve a black-box optimization problem in python
- run particle swarm optimization on my objective function
- compare convergence of metaheuristic algorithms
- apply genetic algorithm or differential evolution to a scheduling problem
- benchmark nature-inspired optimizers on test functions
- find a grey wolf optimizer implementation in python
When to choose
- you need many metaheuristic optimizers behind one consistent API
- you want to benchmark or compare population-based algorithms
- you need derivative-free/global search for non-differentiable objectives
When to avoid
- you need exact or gradient-based optimization like linear programming
- you need a commercial-grade solver with guarantees (e.g., Gurobi, CPLEX)
- your problem is small enough for scipy.optimize
Facets
library · maturity active
math sdk developer-tools artificial-intelligence data-science mathematics python cross-platform metaheuristics optimization nature-inspired-algorithms swarm-intelligence evolutionary-computation genetic-algorithm particle-swarm-optimization black-box-optimization global-optimization algorithms
2 sources
- readme: https://github.com/thieu1995/mealpy · fetched 2026-08-28 · 2582c7393b5e
- registry_pypi: https://pypi.org/pypi/mealpy/json · fetched 2026-08-29 · a77d78176e29
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thieu1995/mealpy | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="thieu1995/mealpy")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem