Abstract
The present study aimed to use artificial intelligence to obtain a mathematical model to approximate the exact solution for linear and nonlinear ordinary differential equations with initial conditions arising in physics and engineering. To this end, genetic programming has been implemented, along with its combination with the Runge–Kutta fourth order method (RK4). Regarding formulation, the produced mathematical models by this new hybrid method (GPN) are flexible (in terms of functions used in the model structure and the number of them) and have acceptable accuracy compared to other existing traditional powerful methods now in use. Numerical experiments have been adequately conducted to indicate the sufficient accuracy and productive power of GPN to generate human-competitive results.
Similar content being viewed by others
References
P. Balasubramaniam, A. Vincent Antony Kumar, Solution of matrix Riccati differential equation for nonlinear singular system using genetic programming. Genetic Programming and Evolvable Machines. 10, 71–89(2009). https://doi.org/10.1007/s10710-008-9072-z
W. Banzhaf, Artificial intelligence: Genetic programming. International Encyclopedia of the Social and Behavioral Sciences (Second Edition). 41-45(Available online 12 March )(2015). https://doi.org/10.1016/B978-0-08-097086-8.43003-5
A.H. Bukhari, M.A.Z. Raja, N. Rafiq, M. Shoaib, A.K. Kiani, C.M. Shu, Design of intelligent computing networks for nonlinear chaotic fractional Rossler system. Chaos, Solitons & Fractals 157, 111–985 (2022). https://doi.org/10.1016/j.chaos.2022.111985
S. Chakraverty, N. Mahato, P. Karunakar, TD. Rao, Advanced numerical and semi-analytical methods for differential equations. John Wiley & Sons(2019)
V. Chauhan, P.K. Srivastava, Computational techniques based on Runge-Kutta method of various order and type for solving differential equations. International Journal of Mathematical, Engineering and Management Sciences. 4, 375–386 (2019). https://doi.org/10.33889/IJMEMS.2019.4.2-030
Two-step Runge-Kutta methods for stochastic differential equations, DAmbrosio, R., Scalone, C. Applied Mathematics and Computation. 403, 125–930 (2021). https://doi.org/10.1016/j.amc.2020.125930
Ch. Darwin, On the Origin of Species...(John Murray, London). Mentor edition, New American Library, New York City(1859)
W.J. de Araujo Lobão, M.A.C. Pacheco, D.M. Dias, A.C.A. Abreu, Solving stochastic differential equations through genetic programming and automatic differentiation. Engineering Applications of Artificial Intelligence. 68, 110–120(2018). https://doi.org/10.1016/j.engappai.2017.10.021
K. Deb, A. Pratap, S. Agarwal, T. Meyarivan, "A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation. 6, 182–197 (2002). https://doi.org/10.1109/4235.996017
S. Durmaz, S.A. Demirbağ, M. Kaya, High order He’s energy balance method based on collocation method. International Journal of Nonlinear Sciences and Numerical Simulation. 11, 1–6 (2010). https://doi.org/10.1515/IJNSNS.2010.11.S1.1
Y.O. El-Dib, G.M. Moatimid, Stability Configuration of a Rocking Rigid Rod over a Circular Surface Using the Homotopy Perturbation Method and Laplace Transform. Arabian Journal for Science and Engineering. 44, 6581–6591 (2019). https://doi.org/10.1007/s13369-018-03705-6
A. El-Naggar, G. Ismail, Analytical solution of strongly nonlinear Duffing oscillators. Alexandria Engineering Journal. 55, 1581–1585 (2016). https://doi.org/10.1016/j.aej.2015.07.017
DD. Ganji, MM. Alipour, AH. Fereydoun, Y. Rostamian, Analytic approach to investigation of fluctuation and frequency of the oscillators with odd and even nonlinearities. International Journal of Engineering. 23, 41–56(2010). http://www.ije.ir/article_71830.html
DE. Goldberg, A note on Boltzmann tournament selection for genetic algorithms and population-oriented simulated annealing. Complex Systems. 4, 445–460(1990). https://www.complex-systems.com/abstracts/v04_i04_a05/
M. Hatami, D.D. Ganji, M. Sheikholeslami, Differential Transformation method for Mechanical Engineering Problems (Academic Press-Reed Elsevier, Netherlands, 2016)
J.H. He, Homotopy perturbation technique. Computer methods in applied mechanics and engineering. 178, 257–262 (1999). https://doi.org/10.1016/S0045-7825(99)00018-3
J.H. He, Variational iteration method-a kind of non-linear analytical technique: some examples. International journal of non-linear mechanics. 34, 699–708 (1999). https://doi.org/10.1016/S0020-7462(98)00048-1
J.H. He, Preliminary report on the energy balance for nonlinear oscillations. Mechanics Research Communications. 29, 107–111 (2002). https://doi.org/10.1016/S0093-6413(02)00237-9
J.H. He, Homotopy perturbation method: a new nonlinear analytical technique. Applied Mathematics and computation. 135, 73–79 (2003). https://doi.org/10.1016/S0096-3003(01)00312-5
M. Hermann, M. Saravi, Nonlinear ordinary differential equations. Springer (2016). https://doi.org/10.1007/978-81-322-2812-7
H. Iba, Inference of differential equation models by genetic programming. Information Sciences. 178, 4453–4468 (2008). https://doi.org/10.1016/j.engappai.2017.10.021
D. Jackson, Phenotypic diversity in initial genetic programming populations. European Conference on Genetic Programming. Springer, Berlin, Heidelberg., 98–109(2010). https://doi.org/10.1007/978-3-642-12148-7_9
D. Jackson, Promoting phenotypic diversity in genetic programming. International Conference on Parallel Problem Solving from Nature. Springer, Berlin, Heidelberg., 472–481(2010). https://doi.org/10.1007/978-3-642-15871-1_48
A. Jamali, E. Khaleghi, I. Gholaminezhad, N. Nariman-Zadeh, Modelling and prediction of complex non-linear processes by using Pareto multi-objective genetic programming. International Journal of Systems Science. 47, 1675–1688 (2016). https://doi.org/10.1080/00207721.2014.945983
R.N. Jazar, Perturbation Methods in Science and Engineering. Springer (2021). https://doi.org/10.1007/978-3-030-73462-6
S.H.H. Kachapi, DD. Ganji, Dynamics and vibrations. Springer(2015)
C.A. Kennedy, M.H. Carpenter, Higher-order additive Runge-Kutta schemes for ordinary differential equations. Applied numerical mathematics. 136, 183–205 (2019). https://doi.org/10.1016/j.apnum.2018.10.007
I. Kovacic, M.J. Brennan, The Duffing equation: nonlinear oscillators and their behaviour. John Wiley & Sons(2011)
J.R. Koza, Genetic programming: A paradigm for genetically breeding populations of computer programs to solve problems (Vol. 34). Stanford, CA: Stanford University, Department of Computer Science.(1990)
J.R. Koza, Genetic programming II: Automatic discovery of reusable subprograms. MIT Press(1994)
J.R. Koza, Genetic programming as a means for programming computers by natural selection. Statistics and Computing. 4, 87–112 (1994). https://doi.org/10.1007/BF00175355
J.R. Koza, Genetic programming In Search methodologies. Springer, Boston, MA.(2005). https://doi.org/10.1007/0-387-28356-0_5
J.R. Koza, M.A. Keane, M.J. Streeter, W. Mydlowec, J. Yu , G. Lanza, Genetic programming IV: Routine human-competitive machine intelligence. Springer Science & Business Media(2006)
J.R. Koza, Human-competitive results produced by genetic programming. Genetic programming and evolvable machines. 11(3), 248–251 (2010). https://doi.org/10.1007/s10710-010-9112-3
S. Liao, Homotopy analysis method in nonlinear differential equations. Beijing Higher education press(2012). https://doi.org/10.1007/978-3-642-25132-0
W.JA. Lobão, D.M. Dias, M.A. Pacheco, Genetic programming and automatic differentiation algorithms applied to the solution of ordinary and partial differential equations. IEEE Congress on Evolutionary Computation (CEC)., 5286–5292(2016). https://doi.org/10.1109/CEC.2016.7748362.
V. Marinca, N. Herişanu, I. Laza, E. Ghita, An Application of the Optimal Homotopy Asymptotic Method to Generalized Van der Pol Oscillator. Applied Mechanics and Materials. 801, 33–37 (2015). https://doi.org/10.4028/www.scientific.net/AMM.801.33
V. Marinca, N. Herişanu, Determination of periodic solutions for the motion of a particle on a rotating parabola by means of the optimal homotopy asymptotic method. Journal of Sound Vibration. 329, 1450–1459 (2010). https://doi.org/10.1016/j.jsv.2009.11.005
A. Nayfeh, D.T. Mook, Nonlinear oscillations. John Wiley & Sons(2008)
S. Nguyen, Y. Mei, M. Zhang, Genetic programming for production scheduling: a survey with a unified framework. Complex and Intelligent Systems. 3, 41–66 (2017). https://doi.org/10.1007/s40747-017-0036-x
S. Nourazar, A. Mirzabeigy, Approximate solution for nonlinear Duffing oscillator with damping effect using the modified differential transform method. Scientia Iranica. 20, 364–368 (2013). https://doi.org/10.1016/j.scient.2013.02.023
D.P. Searson, GPTIPS 2: an open-source software platform for symbolic data mining. Handbook of genetic programming applications. Springer, Cham. 551-573(2015). https://doi.org/10.1007/978-3-319-20883-1_22
T. Seaton, G. Brown, J.F. Miller, Analytic Solutions to Differential Equations under Graph-Based Genetic Programming. Genetic Programming: 13th European Conference, EuroGP 2010, Istanbul, Turkey, April 7-9, 2010. Proceedings.Springer, Berlin, Heidelberg. 21, 232-243(2010). https://doi.org/10.1007/978-3-642-12148-7_20
G.F. Smits, M. Kotanchek, Pareto-front exploitation in symbolic regression. Genetic programming theory and practice II. Springer, Boston, MA. 283-299(2005). https://doi.org/10.1007/0-387-23254-0_17
G. Strang, Differential equations and linear algebra. Wellesley-Cambridge Press Wellesley(2014)
M. Tsatsos, Theoretical and Numerical study of the Van der Pol equation (Aristotle University of Thessaloniki, Doctoral desertation, 2006)
D. Wackerly, W. Mendenhall, R.L. Scheaffer, Mathematical statistics with applications. Cengage Learning(2014)
A.R. Walmsley, A.G. Lowe, Multifit: a flexible non-linear least squares regression program in BASIC. Computer methods and programs in biomedicine. 21, 113–118 (1985). https://doi.org/10.1016/0169-2607(85)90070-7
W. Wang, Y. Li, K. Wu, Y. Cui, Y. Song, Nonlinear Dynamics Analysis of Electric Energy Regeneration Device Based on Vibration Energy Recovery. In Advances in Nonlinear Dynamics. Springer, Cham, 241–253(2022). https://doi.org/10.1007/978-3-030-81170-9_22
W.C. Xie, Differential Equations for Engineers. Cambridge University Press(2010)
F. Zhang, S. Nguyen, Y. Mei, M. Zhang, Genetic Programming for Production Scheduling. Springer Singapore(2021). https://doi.org/10.1007/978-981-16-4859-5
M. Zhu, B. Chang, C. Fu, Convolutional neural networks combined with runge-kutta methods. Computer methods and programs in biomedicine. arXiv preprint arXiv:1802.08831(2018). https://doi.org/10.48550/arXiv.1802.08831
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflicts of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Mirshafaei, S.R., Najafi, H.S., khaleghi, E. et al. A new hybrid method of Evolutionary-Numerical algorithms to solve ODEs arising in physics and engineering. Genet Program Evolvable Mach 24, 1 (2023). https://doi.org/10.1007/s10710-023-09450-6
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10710-023-09450-6