Home > Publications database > CBX: Python and Julia Packages for Consensus-Based Interacting Particle Methods |
Journal Article | PUBDB-2025-02129 |
; ; ; ; ; ;
2024
This record in other databases:
Please use a persistent id in citations: doi:10.21105/joss.06611 doi:10.3204/PUBDB-2025-02129
Abstract: We introduce CBXPy and ConsensusBasedX.jl, Python and Julia implementations of consensus based interacting particle systems (CBX), which generalise consensus-based optimization methods (CBO) for global, derivative-free optimisation. The raison d’être of our libraries is twofold: on the one hand, to offer high-performance implementations of CBX methods thatthe community can use directly, while on the other, providing a general interface that canaccommodate and be extended to further variations of the CBX family. Python and Juliawere selected as the leading high-level languages in terms of usage and performance, as wellas for their popularity among the scientific computing community. Both libraries have beendeveloped with a common ethos, ensuring a similar API and core functionality, while leveragingthe strengths of each language and writing idiomatic code.
![]() |
The record appears in these collections: |