#21 · Primary category: Optimization & Heuristic Algorithms

Solid

algorithm artificial-intelligence continuous-optimization discrete-optimization evolutionary-algorithm genetic-algorithm genetic-algorithm-framework harmony-search hill-climbing library machine-learning machine-learning-algorithms metaheuristics optimization optimization-algorithms particle-swarm-optimization python simulated-annealing stochastic-optimizers tabu-search

🎯 A comprehensive gradient-free optimization framework written in Python

Project last updated:07/19/19

GitHub Stars

583

Forks

60

Contributors

4

License

MIT

Why we included this project

Solid collects the classic gradient-free optimization methods into one Python library with a shared interface. Instead of pulling together separate packages for genetic algorithms, simulated annealing, particle swarm, tabu search, harmony search, and evolutionary algorithms, you subclass the algorithm you want, implement a few abstract methods, and call run() to get the best solution and its objective value. That consistency is what makes it useful: you can prototype a metaheuristic quickly or compare several approaches on the same problem without rewriting boilerplate. The implementations are deliberately basic and readable, so the library doubles as a teaching tool and is easy to modify when you need a custom variant. It suits optimization problems where gradients are unavailable or impractical, such as discrete search, scheduling, and black-box tuning.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category