Known Issues¶
This page collects everything you should know before selecting or benchmarking an algorithm, organized by the same taxonomy used throughout the catalog. Issues fall into four groups:
Label |
Meaning |
|---|---|
Plagiarism |
The method is suspected of duplicating another algorithm’s mathematics under a new name. Avoid in comparative studies. |
Quality |
The original implementation is known to be weak or sensitive; a developed variant is usually preferred. |
Fixed |
A bug that was found and repaired during the 2026 Cython refactor. Kept here for traceability. |
Open |
A defect present in the current build that has not been fixed yet. |
Which algorithms evaluate a whole batch at once, and which are order-dependent
and only batch in mode="swarm"/"parallel", is listed in
Batch and parallel evaluation.
The quality annotations are the maintainer’s own notes; the plagiarism list follows the warning in the upstream MEALPY project. Every flagged algorithm is shipped by clypto — follow the module links to its category page.
Swarm-based¶
Suspected plagiarism¶
Name |
Module |
Class |
Year |
Params |
|---|---|---|---|---|
Coati Optimization Algorithm |
|
2023 |
2 |
|
Fennec For Optimization |
|
2022 |
2 |
|
Northern Goshawk Optimization |
|
2021 |
2 |
|
Osprey Optimization Algorithm |
|
2023 |
2 |
|
Pelican Optimization Algorithm |
|
2023 |
2 |
|
Serval Optimization Algorithm |
|
2022 |
2 |
|
Siberian Tiger Optimization |
|
2022 |
2 |
|
Tasmanian Devil Optimization |
|
2022 |
2 |
|
Walrus Optimization Algorithm |
|
2022 |
2 |
|
Zebra Optimization Algorithm |
|
2022 |
2 |
These algorithms are typically published under different names yet share the same core equations and update rules, with only superficial changes in metaphor. Several are flagged on PubPeer.
Quality annotations¶
OriginalMFO— weak. PreferBaseMFOwhen using Moth-Flame Optimization.OriginalFOA,BaseFOA— weak;WhaleFOAperforms better.OriginalCHIO— too weak;BaseCHIOuses a mixed strategy.HGSO,EHO,PFA,SSO— sensitive to population ordering.
Fixed in 2026¶
DS_GWO— implemented missingevolve()step following Jiang et al. (2022) featuring group-stage competition in the exploration phase and 3-leader convergence in the exploitation phase; removedNotImplementedError.AAO— vectorized epoch-level invariant computations (sigmoid_factor, exploration probability, population mean positionx_mean) outside the agent loop; aligned RNG calls withself.generator.random()instead of globalnp.random.rand(); eliminated unused random index choice overwrite.DevEPC— optimized penguin attractiveness and spiral movement calculation; precomputed trigonometric constants (cos_theta,sin_theta); inlined C-level math and vector operations; eliminated dynamic rotation matrix allocations andnp.allclosecomparisons in inner loops.HI_WOA— dynamically adaptedfeedback_maxdefault to upper bound[2, max(2, 2 + int(epoch / 2))], preventing validator failures on small epoch budgets.OriginalEHO— dynamically adaptedn_clansdefault to upper bound[2, max(2, int(pop_size / 5))], preventing validator failures on small population budgets.SSpiderA— the candidate was appended only in sequential mode, so the batch modes failed with anIndexError. The sequential results are unchanged.CSO—Validator.check_boollist/tuple type mismatch (Cython enforces concrete types at compiled call boundaries).SMO—local_leadersbuilt from the wrong return shape at four call sites.GA— infinite loop in roulette-wheel parent selection under floating-point underflow; replaced with a bounded uniform fallback (affectsMultiGA,SingleGA,EliteMultiGA,EliteSingleGA).BSA,CSO,DO— mixed selection methods, reviewed against the references.
Human-based¶
Suspected plagiarism¶
Name |
Module |
Class |
Year |
Params |
|---|---|---|---|---|
Teamwork Optimization Algorithm |
|
2021 |
2 |
Quality annotations¶
OriginalCHIO— see the swarm note: too weak on its own.LCO,GSKA— update from neighbouring agents, so results are order sensitive.
Fixed in 2026¶
ImprovedBSO— dynamic clamping form_clusterswhenpop_size < 25, preventing validator out-of-bounds errors on small population budgets.OriginalCHIO(andDevCHIO) — dynamically adaptedmax_agedefault to upper bound[1, max(1, 1 + int(epoch / 5))], preventing validator failures on small epoch budgets.OriginalGSKA— dynamically adaptedkgdefault to upper bound[1, max(1, 1 + int(epoch / 2))], preventing validator failures on small epoch budgets.DOA—idx/jdxvariable mixup caused out-of-bounds bound-array indexing.
Bio-based¶
Fixed in 2026¶
SBO—roulette_wheel_selection__list-vs-ndarraymismatch; the annotation now accepts both.BCO—n_chemotaxisbound mismatch (the tuple bound is exclusive and the default sat exactly on the excluded boundary).BFO— odd-pop_sizepopulation-halvingIndexError(integer division silently dropped a member).BCO— removed an unfinished “reproduction and elimination” block that referenced attributes and hyper-parameters never defined on the class.
Physics-based¶
Quality annotations¶
OriginalEFO— changes only a single solution per generation and is weak;BaseEFOuses a swarm-inspired strategy.OriginalTWO— oddpop_sizehandling was fragile (see fixed bugs).
Fixed in 2026¶
OriginalASO— vectorized Lennard-Jones (LJ) potential and acceleration calculations; inlined potential evaluations; eliminated per-atom quadratic array allocations and Python-level loop overhead in atom force calculation.SOO— the second phase appended to the first phase’s candidate list, somode="swarm"/"parallel"failed (greedyof two populations of different length). The sequential results are unchanged.TWO(OppoTWO) — odd-pop_sizepopulation-halvingIndexError.MSO—self.nfe_countertypo (the real attribute isself.nf_counter).MSO—nf_counternow starts at 0 on everysolve()(it started at 1 and accumulated across runs), so results changed. Its equations still use the evaluation count where the iteration count (epoch) looks intended.
Evolutionary-based¶
Quality annotations¶
DE(BaseDE,JADE,SADE,SHADE,L_SHADE,SAP_DE),GA,CRO,FPA— selection picks random or roulette-wheel agents, so runs are more sensitive to population ordering.
Fixed in 2026¶
OriginalGA— repaired by inheriting fromBaseGA, implementing full GA lifecycle and evolve loop with configurable multi-point and single-point mutation strategies; removedNotImplementedError.MultiGA/EliteMultiGA— optimized swap mutation by directly swapping two elements viagenerator.integersinstead of generating set differences; vectorized flip mutation viagenerator.random.OCRO— dynamically adaptedrestart_countdefault to upper bound[2, max(2, int(epoch / 2))], preventing validator failures on small epoch budgets.GA,MA—k_wayfloat/int coercion inget_index_kway_tournament_selectionbrokenumpy.random.Generator.choice()under NumPy 2.5; fixed by truncating into a separateint-typed variable (affectsBaseGA,MultiGA,SingleGA,OriginalMA).MA— off-by-oneIndexErrorfrom eagerly-evaluated ternary indexing in offspring pairing.GA— off-by-oneIndexErrorfrom population-size mismatch after crossover in survivor selection.
Math-based¶
Quality annotations¶
OriginalHC— neighbourhood-size based;BasicHCreworks it as a swarm-based method.SCA,AOA,CEM— stable under reordering.
System-based¶
Quality annotations¶
AEO(BaseAEO,ImprovedAEO,ModifiedAEO,AugmentedAEO,EnhancedAEO) — picks random agents but converges strongly at the end.GCO,WCA— selection depends on a best-agent list.
Music-based¶
No known issues.
Game-based¶
No known issues.
SOTA-based¶
Quality annotations¶
OriginalIMODEcompares as if minimizing. Its selection step (and the archive and operator-probability updates that follow it) uses a fixedis_better(..., "min")rather than the problem’s sense, so on a maximization problem it keeps the worse trial vector. The behaviour is inherited, not clypto’s:mealpy-ltscallscompare_target(agent.target, self.pop[idx].target)and letsminmaxfall back to its"min"default (IMODE.py:277,optimizer.py:444). See Min-only comparisons under Core framework. UseOriginalLSHADEcnEpSin, which passes the sense correctly.
Core framework¶
These affect every optimizer rather than a single taxonomy group.
Open issues¶
Min-only comparisons. Six sites compare agents with a fixed
"min"sense instead ofself.problem.sense, so they select the worse agent on a maximization problem:OriginalIMODE(selection, archive and operator probabilities),OriginalNGO(Eq. 4 neighbour test),OriginalESO(survivor selection),C_PSO(chaotic local-search acceptance) andOriginalBCO(both neighbour and global-best exchange). Every one of them transcribes the same call inmealpy-lts, wherecompare_target(...)is invoked without itsminmaxargument and therefore defaults to"min"(optimizer.py:444;IMODE.py:277,NGO.py:74,ESO.py:159,PSO.py:600,BCO.py:150,154). The behaviour is kept for fidelity — “fixing” it would move clypto away from the pinned reference, as with the dead personal-best comparisons inABFO/ModifiedSLO. Avoid these five on maximization problems.g_worstis the agent that was worst at initialization. It is set once inafter_initializationand never refreshed, which is deliberately whatmealpy-ltsdoes: its loop assigns onlyself.g_best(optimizer.py:266), leavingself.g_worston the initialization object. The classes that read it (OriginalBBOA,OriginalEVO) are bit-identical for that reason, andOriginalDO,OriginalHGS,OriginalSSA, theJAfamily andOriginalGBOset their own current worst insideevolve()and are unaffected either way.Evaluation of a vector other than the agent’s solution. A few MEALPY algorithms give an agent the fitness of a vector it does not hold:
OriginalWOAandOriginalSBOevaluate the new position into the current agent,OriginalArchOA,OppoTWO,LevyTWOandEnhancedTWOevaluate the position before its last correction, and the FOA variants evaluate the position rather than the smell vector the fly stores. The behaviour is kept and each site is marked in the source (agent.update_solution(candidate, agent.solution)). It was earlier documented here as leaving results unchanged versus MEALPY — true only for the variants that give themselves per-agent elitism (OriginalFOAandWhaleFOAcallcy.get_better_agentright after and stay bit-identical). ForOriginalWOA,OriginalSBOandOriginalArchOAthe reported result differed until theg_bestratchet below landed; the quirk itself is byte-for-byte identical on both sides.
Fixed in 2026¶
g_bestwas the best of the current population, not the best ever found.LegacyOptimizer.after_evolve()overwroteself.g_bestwithpopulation.sort()[0]every epoch, with no comparison against the previously stored value, andDecoratedOptimizer.solve()(@cy.optimizer) did the same withself.population.best. An algorithm whoseevolve()replaces the population without per-agent elitism — which is how most “Original”, paper-faithful variants are published — therefore lost results it had already found and reported the worse one:OriginalESOreturned0.0404for a run that had reached5e-34. Both engines now ratchet:g_bestis replaced only when the candidate is better, and is stored as an independent snapshot (a clone whose solution vector is copied, so a later in-place mutation of the population cannot corrupt it retroactively —OriginalHBOandOriginalBCOmutate solution vectors in place). This also restoresmealpy-lts’s own semantics, whereg_bestis theget_better_agent(current, historical)clone taken afterevolve(): the pre-fix aliasing meant the PSO family read a global best that other agents in the same epoch had already improved, whichmealpy-ltsdoes not do. The change is catalog-wide, not limited to the non-elitist classes (the reported-value bug was, but the trajectory effect was not): 98 of 243 classes changed their result across the two golden captures, and paired againstmealpy-ltsat 20 seeds the same set went from 17distribution_mismatchflags to none (re-measure withbenchmarks/bench_correctness.py). There is no automated guard: the golden captures and the per-epoch ratchet test were removed, so assert monotonicity by hand withdebug=True, after_iteration=...overepoch=1..Nat a fixed seed.max_early_stopwas ignored by@cy.optimizer. The decorated engine passed a literal0as the no-improvement counter toTermination.should_terminate, so early stopping could never fire there; it now counts epochs in whichg_bestdid not improve, as the legacy engine does.Memory corruption from
wraparound: False. The codebase uses negative list indexing (pop[-1]) across 55+ files; disabling wraparound corrupted memory once compiled. Set back toTrue.Terminationanddebug=Truetracking. The per-epoch early-stopping check no longer reads an uninitialized__historybuffer, the dict form no longer reads nonexistentProblem.log_to/log_fileattributes, anddebug=Truenow records per-epoch metrics (and, withtrack_population=True, full population snapshots) into the in-memorymodel.tracker.