DetPy documentation
Welcome to DetPy documentation!
The DetPy library contains an implemented differential evolution algorithm with 29 of its modifications. We encourage you to use this library to solve advanced optimization problems.
The current source code is available at: https://github.com/Blazej-Zielinski/detpy
Citation
If you use DetPy in your research, please cite:
Zieliński, B., Ściegienny, S., Orlicki, H., & Książek, W. (2025). DetPy (Differential Evolution Tools): A Python toolbox for solving optimization problems using differential evolution. SoftwareX, 29, 102014. https://doi.org/10.1016/j.softx.2024.102014
- @article{Zielinski2025DetPy,
title = {DetPy (Differential Evolution Tools): A Python toolbox for solving optimization problems using differential evolution}, author = {Zieliński, Błażej and Ściegienny, Szymon and Orlicki, Hubert and Książek, Wojciech}, journal = {SoftwareX}, volume = {29}, pages = {102014}, year = {2025}, doi = {10.1016/j.softx.2024.102014}
}
General
API
DetPy
- Optimization of the Ackley function based SADE
- Optimization of the Ackley function with all DE variants
- Optimization of common benchmark functions
- Optimization of functions from Opfunu
- Optimization of custom fitness function
- Optimization of CEC function with Detpy 2.0
- LShade example
- Using an extra stopping criterion