Article
Details
Citation
Fornagiel P, Achtelik W, Ochoa G, Guzowski H, Smo?ka M & Mańdziuk J (2026) lonkit: A Python toolkit for local optima networks in continuous and discrete search spaces. SoftwareX, 36, p. 103209. https://doi.org/10.1016/j.softx.2026.103209
Abstract
Local Optima Networks (LONs) provide a graph-based view of a fitness landscape, representing local optima as nodes and the transitions between them as edges. LONs have become established tools for understanding the structure of optimization problems. While the LON literature continues to grow, reusable software for LON analysis remains limited: most implementations are tailored to individual studies and are difficult to reuse. We introduce lonkit, an open-source Python toolkit for constructing, analyzing, and visualizing LONs that aims to make such analysis more accessible across both continuous and discrete search spaces. Building on igraph and the scientific Python ecosystem, the package combines Basin-Hopping and Iterated Local Search samplers with configurable graph construction, metric computation, and visualization. We illustrate its use on continuous benchmark functions, where it recovers known funnel structure, and on the Number Partitioning Problem (NPP), where it tracks the landscape changes associated with its phase transition.
Keywords
Local optima networksFitness landscape analysis
Journal
SoftwareX: Volume 36
| Status | Published |
|---|---|
| Publication date | 31/12/2026 |
| Publication date online | 30/11/2026 |
| Date accepted by journal | 02/11/2026 |
| Publisher | Elsevier BV |
| ISSN | 2352-7110 |
People (1)
Professor, Computing Science