This repository contains the implementation of the attraction basin analysis methods used in the research paper "New Solutions to Cooke Triplet Problem via Analysis of Attraction Basins" by Kirill Antonov, Tiago Botari, Teuss Tukker, Thomas Bäck, Niki van Stein, and Anna V Kononova. The code is designed to analyze optimization landscapes and classify solutions into attraction basins.
The methodology enables efficient partitioning of high-quality solutions in complex search spaces, such as optical system design, by analyzing the structure of attraction basins. This approach is independent of problem dimensionality and can be applied to various optimization problems.
Figure: Example of an optimization landscape and two points in panel (a). The results of the processing by the proposed algorithm are depicted in panel (b). The improving path between magenta points has been identified; therefore, they are located in the same attraction basin.- Attraction Basin Analysis: Identifies and partitions solutions based on attraction basins.
- Evolutionary Search Heuristics: Uses pathfinding techniques to approximate attraction basin structures.
- Applications in Optical System Design: Can be used for problems like Cooke Triplet optimization.
To run the code, install the following dependencies:
- Python 3.x
- NumPy
- Matplotlib
Clone this repository and install the necessary dependencies:
git clone --recursive https://github.com/BasinAttribution.git
cd BasinAttribution
pip install -r requirements.txtWe provide an example of application in the Jupyter notebook examples.ipynb, which demonstrates how to analyze attraction basins step by step.
The code is structured into several main components:
To analyze an optimization landscape and classify solutions into attraction basins, run:
python analyze_basins.py --input solutions.csv --function rastriginThis will partition the solutions and identify attractors.
solutions.csv: Stores solutions used for attraction basin analysis.
- Attraction basin analysis reveals the structure of optimization landscapes.
- The methodology is useful for optical system design and other applications.
If you use this code for research, please cite:
@inproceedings{10.1117/12.2675836,
author = {Kirill Antonov and Tiago Botari and Teuss Tukker and Thomas B{\"a}ck and Niki van Stein and Anna V. Kononova},
title = {{New solutions to Cooke triplet problem via analysis of attraction basins}},
volume = {12624},
booktitle = {Digital Optical Technologies 2023},
organization = {International Society for Optics and Photonics},
publisher = {SPIE},
pages = {126240T},
year = {2023},
doi = {10.1117/12.2675836},
URL = {https://doi.org/10.1117/12.2675836}
}
This project is licensed under the MIT License - see the LICENSE file for details.
For questions and collaborations, please contact Kirill Antonov at k.antonov@liacs.leidenuniv.nl.
