LangZhong36 / immortal-jellyfish-algorithm
PublicA novel bio-inspired swarm intelligence optimizer — immortal Jellyfish Algorithm (IJA)
The Immortal Jellyfish Algorithm (IJA) is a nature-inspired mathematical optimizer that finds the best possible solution to complex problems. Inspired by Turritopsis dohrnii—the only known animal that can live forever by cycling through its life stages—the algorithm works in four phases: broad exploration (like a young polyp), diversification (like budding offspring), focused search (following bright beacons), and fine refinement (like aging gracefully). Available in Python, C++, and Java, the project includes comprehensive testing tools, comparison benchmarks against five other optimization methods, and visualization features that let users see exactly how the algorithm searches through possibilities. It's designed for researchers, engineers, and scientists who need to find optimal solutions to problems with many variables—like optimizing machine learning models, engineering designs, or resource allocations.
How It Works
You hear about an algorithm inspired by nature's most remarkable creature—the immortal jellyfish that can live forever by cycling through its life stages.
The algorithm mimics four life phases: exploring like a polyp, diversifying like a budding jellyfish, following beacons like a mature medusa, and refining like an aging elder.
You describe your problem—finding the best design, the lowest cost, or the ideal configuration—and let the algorithm search through thousands of possibilities.
Watch as the algorithm progressively finds better solutions, moving through its four phases from broad exploration to focused refinement.
See beautiful graphs showing how the solution improved over time
Stack it against five other optimization algorithms to see how it performs
Create heatmaps, box plots, and trajectory diagrams of the search process
The algorithm returns the best solution it found, along with a complete record of how it searched and where it ended up.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.