Bahubali-Inspired Optimization Algorithm (BIOA)
Version 1.0.0 (2.43 KB) by
praveen kumar
This optimization is based on Rajamouli's fictional story Bhagubhali, where all the characters are incorporated.
Pseudocode for Bahubali-Inspired Optimization Algorithm (BIOA)
This pseudocode outlines the implementation of BIOA with inspiration from characters and phases in the Bahubali story.
Initialization
- Set problem parameters:
- Number of variables, population size, iteration limit.
- Define bounds for the variables [varmin,varmax][var_{min}, var_{max}][varmin,varmax].
- Define influence factors for each character and phase:
- Loyalty, power, justice, strategy, love, sacrifice, support, war.
- Initialize the population with random values within the bounds.
- Compute initial fitness values for the population.
Optimization Loop (for each iteration until max_iter)
- Evaluate Fitness:
- Compute the fitness of each individual.
- Update the best solution and best fitness found so far.
- Loyalty Phase (Exploration - Kattappa):
- Adjust individuals with small random steps to explore the search space.
- Power Phase (Exploitation - Bhallaladeva):
- Move individuals towards the current best solution with a probabilistic step.
- Justice Phase (Diversity - Mahendra Bahubali):
- Introduce diversity by moving individuals towards randomly chosen peers.
- Strategy Phase (Adaptation - Amarendra Bahubali):
- Replace individuals with randomly generated solutions if they are better.
- Love Phase (Collaboration - Avantika and Bahubali):
- Combine the traits of two randomly selected individuals to create hybrids.
- Replace a parent with the hybrid if it improves the fitness.
- Sacrifice Phase (Guidance - Rajamatha):
- Guide individuals closer to the best solution with small calculated steps.
- Support Phase (Collective Influence - People):
- Adjust individuals towards the average position of the population.
- War Phase (Coordinated Attack - Kattappa and Mahendra Bahubali):
- Use strategic coordination to move individuals towards a strategic point.
- Boundary Handling:
- Ensure all individuals remain within [varmin,varmax][var_{min}, var_{max}][varmin,varmax].
- Progress Update:
- Display iteration number and best fitness so far.
Cite As
praveen kumar (2026). Bahubali-Inspired Optimization Algorithm (BIOA) (https://au.mathworks.com/matlabcentral/fileexchange/177259-bahubali-inspired-optimization-algorithm-bioa), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
