Royal Crown Optimization (RCO) Algorithm
Version 1.0.0 (2.21 KB) by
praveen kumar
sphere function is tested
Explanation of the Code
- Initialization: Agents are randomly distributed within the search space, and their initial fitness values are computed.
- Roles and Hierarchy:
- King: Represents the best solution found so far.
- Nobles: Make small adjustments around the King's position to refine the search.
- Knights: Explore new regions to ensure diversity and avoid getting trapped in local optima.
- Iteration: The algorithm iteratively updates the Nobles and Knights and checks if a better King (solution) has been found.
- Termination: The loop runs until the maximum number of iterations is reached, or if no significant improvement is observed.
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
RCO
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |