Runge Kutta Optimizer
Runge Kutta Optimizer (RUN)
- Year introduced
- 2021
- Original authors
- Iman Ahmadianfar; Ali Asghar Heidari; Amir H. Gandomi; Xuefeng Chu; Huiling Chen
- Source of inspiration
- The Runge–Kutta numerical method for solving differential equations
- Search space
- Continuous
- Optimization types
- Hyperparameter Optimization
- Applied research in the repository
- 0
Overview
An approximate slope is computed from differences between population solutions (best/worst) with four weights as in RK4, and an enhanced solution quality mechanism (ESQ) is added for exploitation.
Source of inspiration and mechanism

It does not rely on a metaphor; RUN estimates the search direction by approximating the slope in the fourth-order Runge–Kutta style over the population of solutions.
Initialization
Random.
Update mechanism
Inspired by numerical integration.
Exploration
The SM search mechanism.
Exploitation
ESQ.
Mathematical description
The detailed formulas are long; see the original paper.
The RK4 idea
y_{n+1} = y_n + \frac{h}{6}(k_1 + 2k_2 + 2k_3 + k_4)The structure is borrowed to estimate the search direction.
Computational complexity: O(T\cdot N\cdot (D + C_f))
Flowchart
A simplified chart summarising the algorithm phases as described on its card in the lab; it is not the original figure published in the paper.
Pseudocode
Initialize
for t = 1..T:
for each solution: compute search mechanism via RK-based slope SM
apply Enhanced Solution Quality (ESQ)
return bestPython implementation
There is currently no tested python implementation of this algorithm in the lab. We did not include untested code so that it is not used as a reference implementation.
Coefficients
No parameters recorded.
Advantages
It presents itself explicitly as metaphor-free (beyond the metaphor).
Limitations
A complex formulation.
Use in artificial intelligence
Domains documented in the card: Machine learning, hyperparameter tuning
Continuous optimization, engineering problems.
Hybridization potential
These are partnerships suggested theoretically in the card; any resulting design is presented as a "proposed hybrid method" until its results are compared with the literature.
Applied research from the repository
An aspect that did not appear in the current search results within the repository. This does not mean there is no published research outside it.
Original reference
Iman Ahmadianfar; Ali Asghar Heidari; Amir H. Gandomi; Xuefeng Chu; Huiling Chen (2021). RUN beyond the metaphor: An efficient optimization algorithm based on Runge Kutta method. Expert Systems with Applications, Elsevier BV.
Verified DOI: 10.1016/j.eswa.2021.115079
External links collected from a search index and from paper abstracts; check that they are the original authors’ code and that they work before relying on them.
There is no tested Python code for this algorithm in this version.
