Skip to content

Conversation

@karahanballi
Copy link

Description

This pull request adds the Cuckoo Catfish Optimizer (CCO) to the Mealpy library under the swarm_based module.

The implementation follows the original algorithm design while fully complying with Mealpy’s optimizer interface. It relies on the internal random generator for reproducibility, uses built-in boundary correction, and applies min/max-safe greedy selection. A lightweight pytest-based smoke test is included to validate basic functionality.

Changes

  • Added OriginalCCO implementation in mealpy/swarm_based/CCO.py
  • Registered CCO in mealpy/__init__.py
  • Added basic unit test for CCO (tests/swarm_based/test_CCO.py)

✅ Checks

  • Code style follows the project conventions
  • Tests passed locally (python -m pytest -q tests/swarm_based/test_CCO.py)

ℹ Additional Information

  • Lévy flight is implemented using Mantegna’s method with NumPy only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant