Javascript is required
[1] Boyce, W.E., DiPrima, R.C., Coombes, K.R., Hunt, B.R., Lipsman, R.L. (1997). Elementary differential equations and boundary value problems, 6th ed, J. Wiley Sons, New York.
https://www.amazon.com/Elementary-Differential-Equations-Boundary-Mathematica/dp/0471282928.
[2] Shen, J., Tang, T., Wang, L.L. (2011). Spectral methods: Algorithms, analysis and applications, Vol. 41. Springer Science & Business Media.
[3] Boussaïd, I., Lepagnot, J., Siarry, P. (2013). A survey on optimization metaheuristics. Information Sciences, 237: 82-117. [Crossref]
[4] Črepinšek, M., Liu, S.H., Mernik, M. (2013). Exploration and exploitation in evolutionary algorithms: A survey. ACM Computing Surveys (CSUR), 45(3): 1-33. [Crossref]
[5] Yang, X.S., Karamanoglu, M. (2020). Nature-inspired computation and swarm intelligence: A state-of-the-art overview. Nature-Inspired Computation and Swarm Intelligence, Algorithm Academic Press, 3-18. [Crossref]
[6] Holland, J.H. (1984). Genetic algorithms and adaptation. Adaptive Control of Ill-Defined Systems, Springer, Boston, MA., 16: 317-333. [Crossref]
[7] Kennedy, J., Eberhart, R. (1995). Particle swarm optimization. In Proceedings of The IEEE International Conference on Neural Networks, Perth, WA, Australia, pp. 1942-1948. [Crossref]
[8] Karaboga, D. (2010). Artificial bee colony algorithm. Scholarpedia, 5(3): 6915. [Crossref]
[9] Yang, X.S. (2010) Firefly algorithm, an introduction with metaheuristic applications. Engineering Optimization: An Introduction with Metaheuristic Applications, 221-230. [Crossref]
[10] Yang, X.S. (2010). Nature-inspired metaheuristic algorithms. Luniver Press.
[11] Gandomi, A.H., Yang, X.S., Alavi, A.H. (2013). Cuckoo search algorithm: A metaheuristic approach to solve structural optimization problems. Engineering with Computers, 29(2): 17-35. [Crossref]
[12] Mirjalili, S., Lewis, A. (2016). The whale optimization algorithm. Advances in Engineering Software, 95: 51-67. [Crossref]
[13] Sulaiman, M.H., Mustaffa, Z., Saari, M.M., Daniyal, H. (2020). Barnacles mating optimizer: A new bio-inspired algorithm for solving engineering optimization problems. Engineering Applications of Artificial Intelligence, 87: 103330. [Crossref]
[14] Zhao, S., Zhang, T., Ma, S., Chen, M. (2022). Dandelion Optimizer: A nature-inspired metaheuristic algorithm for engineering applications. Engineering Applications of Artificial Intelligence, 114: 105075. [Crossref]
[15] Agushaka, J.O., Ezugwu, A.E., Abualigah, L. (2022). Dwarf mongoose optimization algorithm. Computer Methods in Applied Mechanics and Engineering, 391: 114570. [Crossref]
[16] Ahmadkhanpour, F., Kheiri, H., Azarmir, N., Khiyabani, F.M. (2025). Solving initial value problems using multilayer perceptron artificial neural networks. Computational Methods for Differential Equations, 13(1): 13-24. 10.22034/cmde.2024.58774.2486
[17] Lu, L., Meng, X., Mao, Z., Karniadakis, G.E. (2021). DeepXDE: A deep learning library for solving differential equations. Society of Industrial and Applied Mathematics Review, 63(1): 208-228. [Crossref]
[18] Parand, K., Aghaei, A.A., Kiani, S., Zadeh, T.I., Khosravi, Z. (2024). A neural network approach for solving nonlinear differential equations of Lane-Emden type. Engineering with Computers, 40(2): 953-969. [Crossref]
[19] Yang, X.S. (2012). Flower pollination algorithm for global optimization. In International Conference on Unconventional Computing and Natural Computation. Berlin, Heidelberg: Springer Berlin Heidelberg, pp. 240-249. [Crossref]
[20] Babaei, M. (2013). A general approach to approximate solutions of nonlinear differential equations using particle swarm optimization. Applied Soft Computing, 13(7): 3354-3365. [Crossref]
Search

Acadlore takes over the publication of IJCMEM from 2025 Vol. 13, No. 3. The preceding volumes were published under a CC BY 4.0 license by the previous owner, and displayed here as agreed between Acadlore and the previous owner. ✯ : This issue/volume is not published by Acadlore.

Open Access
Research article

Spectral Approximations Optimized by Flower Pollination Algorithm for Solving Differential Equations

ghedjemis fatiha1*,
khelil naceur2
1
Department of Mathematics, Mohamed Khider University, 07000 Biskra, Algeria
2
Laboratory of Mathematical Analysis Probabilities Optimizations, Mohamed Khider University, 07000 Biskra, Algeria
International Journal of Computational Methods and Experimental Measurements
|
Volume 13, Issue 2, 2025
|
Pages 343-349
Received: 04-23-2025,
Revised: 06-11-2025,
Accepted: 06-19-2025,
Available online: 06-29-2025
View Full Article|Download PDF

Abstract:

This study introduces Chebyshev Metaheuristic Solver Approach (CMSA), a new computational approach, to get approximate solutions with high-accuracy to a vast range of linear and non-linear differential equations (DEs). The main idea is changing the differential problem into a continuous optimization task. First the approximate solution was written as a truncated series of Chebyshev polynomials, where they are chosen due to their numerical stability and optimal approximation properties. The undetermined coefficients of this series turn into the decision variables in an optimization task. The objective function is derived from the residual of the differential equation, integrated with penalty terms to achieve initial or boundary conditions enforcement. Then the Flower Pollination Algorithm (FPA), a nature-inspired metaheuristic algorithm, is used to find the optimal polynomial coefficients via the minimization of this objective function. This hybrid approach symbiotically integrates the spectral method’s exponential convergence properties with the metaheuristic’s powerful global search capabilities. The demonstration of the efficiency and robustness of the approach is done through rigorous computational tests on benchmark problems, involving integro-differential and non-linear boundary value problems. A comparison of the computed results with known exact solutions, validates this optimization-driven spectral technique, showing excellent accordance. The approach is simple to implement and displays outstanding potential for tackling complex DE systems where traditional methods maybe stick.

Keywords: Differential equations, Metaheuristic algorithms, Chebyshev polynomials, Flower pollination algorithm

1. Introduction

The real-world phenomena can be modelled mathematically as differential equations (Des). Analytical solutions provide exactness, but they are can be achieved only for a limited case of linear and simple problems [1]. In consequence, researchers run to numerical methods for obtaining approximate solutions.

Classical numerical methods, like the Finite Element Method (FEM) and Finite Difference Method (FDM), work using the problem domain’s discretization into a mesh of points or elements. These techniques are powerful and flexible, but they have local accuracy, where it is restricted by a polynomial order of convergence. Attaining high accuracy often necessitates a prohibitively fine mesh, yielding to wide systems of equations, that leads to significant computational cost.

To master these limitations, spectral methods have achieved eminence as a class of highly accurate numerical approaches [2]. Opposed to local methods, spectral methods give global approximate solution utilizing a basis of smooth, infinitely differentiable functions, like orthogonal or trigonometric polynomials. This global technique allows them to attain "spectral" or exponential convergence for problems with smooth solutions. This signifies as the number of basis functions increases the error decreases exponentially, yielding to solutions with high accuracy, accompanied by a relatively small number of degrees of freedom.

However, the principal challenge in spectral methods is the determination of the basis expansion’s coefficients. In classical approaches such as collocation or Galerkin methods the DE is imposed at specific points or in a weighted-integral sense. This generally yields to complex structured systems of algebraic equations, which may become difficult to solve or il-conditioned, particularly for non-linear DEs.

Reframing the coefficient-getting problem as an optimization task is an alternative paradigm. The aim becomes to obtain the set of coefficients that minimizes the residual, or "error”, of the approximate solution among the entire domain. This technique based on transforming the DE problem into a continuous optimization problem, generally high-dimensional. The power of this technique lies in its adaptability and its capability to handle non-linearities implicitly in the objective function.

Metaheuristic algorithms are powerful gradient-free search strategy, for solving such optimization tasks [3-5]. These natural-inspired algorithms, utilize a population of candidate solutions in the aim of exploring the search space and converging towards a global optimum. Notable examples involve:

$\bullet$ Genetic Algorithm (GA): Mimicking the Darwinian evolution, GA utilizes selection, crossover, and mutation operators to develop a population of solutions over generations [6]. It is considered as high effective method at global exploration.

$\bullet$ Particle Swarm Optimization (PSO): Created by Kennedy and Eberhart [7], PSO inspired by the swarm intelligence of birds flocking. Every solution modifies its trajectory depending on its own best-obtained position and the best-obtained position of the entire swarm, this makes an effective balance between individual and social knowledge.

$\bullet$ Artificial Bee Colony (ABC): Developed by Karaboga [8], mimicking the comportment of ants in searching food.

$\bullet$ Firefly Algorithm (FA): Made by Yang [9].

The Flower Pollination Algorithm (FPA), developed by Yang [10], is a newer metaheuristic that imitates the flowers pollination process. It balances global exploration using cross-pollination via Lévy flights, and local exploitation utilizing self-pollination, achieving excellent results for a large range of complex optimization problems.

There are a lots of metaheuristic algorithms that prove their efficiency on solving several problems, including Cuckoo Search [11], Whale Optimization Algorithm [12]. Likewise, recent ones such as Barnacles Mating Optimizer [13], Dandelion Optimizer [14], and Dwarf Mongoose Optimization Algorithm [15].

Artificial intelligence, especially deep learning and Physics-Informed Neural Networks (PINNs) [16-18], has presented another powerful model for solving DEs. PINNs utilize the residual of the DE as part of the loss function for training a neural network that directly constitutes the solution. While extremely powerful, PINNs often necessitate tuning a large number of hyperparameters where their theoretical convergence properties are still a vibrant field of study.

This work deliberately deviates by combining the well-understood, high-accuracy approach of spectral methods with the robust global search of metaheuristics. This framework hybridizes the "best of both worlds" while keeping away from the complexities of deep neural network training.

This paper presents the Chebyshev Metaheuristic Solver Approach (CMSA), an approach that transforms a DE into an optimization task to be solved via Flower Pollination Algorithm.

The remainder of the paper is structured as follows: In Section 2, a description of the proposed approach is given, with an outline of the problem formulation to an optimization task (how to use Chebyschev polynomials and FPA) to clarify its fundamental principles and mechanisms. In section 3, different problems are solved using the method. The results show impressive solutions that underscore the effectiveness of the proposed approach in dealing with various challenges. Finally, a conclusion and future scope of the work are given, where the proposed approach can be extended to a system of DE’s and with other metaheuristic algorithms.

2. Chebyshev Metaheuristic Solver Approach (CMSA)

3. Experimental Results and Discussion

4. Conclusion and Future Works

This paper presented a Chebyshev Metaheuristic Solver Approach (CMSA), a hybrid computational strategy for solving differential equations. By formulating the approximate solution using Chebyshev polynomials and using the Flower Pollination Algorithm to approximate the coefficients based on the minimization of the equation residual and boundary condition deviations, we instituted a versatile framework valid to various DE types.

The experimental results found for both linear integro-differential and non-linear boundary value problems prove the efficiency and accuracy of the suggested approach. The CMSA leaded with success approximations that converge fast towards the exact solutions as the degree of the polynomial expansion augments. The approach integrates the power of spectral approximation with the robust search abilities of metaheuristics.

Future studies could be done:

$\bullet$ Applying the CMSA method to a vast range of challenging DEs, including systems of equations, partial differential equations, and problems with complex boundary conditions, would institute more its applicability.

$\bullet$ Exploring the employ of other metaheuristic algorithms (like GA, PSO, or advanced hybrid variants) within this framework, could conduct to improved effectivity or robustness.

$\bullet$ Investigating adaptive strategies for choosing the polynomial degree or the number of collocation points could improve the approach's automation and performance, could improve the approach's automation and performance.

$\bullet$ Implementing the proposed method for solving practical problems in science and engineering domains is a promising avenue for future exploration.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

References
[1] Boyce, W.E., DiPrima, R.C., Coombes, K.R., Hunt, B.R., Lipsman, R.L. (1997). Elementary differential equations and boundary value problems, 6th ed, J. Wiley Sons, New York.
https://www.amazon.com/Elementary-Differential-Equations-Boundary-Mathematica/dp/0471282928.
[2] Shen, J., Tang, T., Wang, L.L. (2011). Spectral methods: Algorithms, analysis and applications, Vol. 41. Springer Science & Business Media.
[3] Boussaïd, I., Lepagnot, J., Siarry, P. (2013). A survey on optimization metaheuristics. Information Sciences, 237: 82-117. [Crossref]
[4] Črepinšek, M., Liu, S.H., Mernik, M. (2013). Exploration and exploitation in evolutionary algorithms: A survey. ACM Computing Surveys (CSUR), 45(3): 1-33. [Crossref]
[5] Yang, X.S., Karamanoglu, M. (2020). Nature-inspired computation and swarm intelligence: A state-of-the-art overview. Nature-Inspired Computation and Swarm Intelligence, Algorithm Academic Press, 3-18. [Crossref]
[6] Holland, J.H. (1984). Genetic algorithms and adaptation. Adaptive Control of Ill-Defined Systems, Springer, Boston, MA., 16: 317-333. [Crossref]
[7] Kennedy, J., Eberhart, R. (1995). Particle swarm optimization. In Proceedings of The IEEE International Conference on Neural Networks, Perth, WA, Australia, pp. 1942-1948. [Crossref]
[8] Karaboga, D. (2010). Artificial bee colony algorithm. Scholarpedia, 5(3): 6915. [Crossref]
[9] Yang, X.S. (2010) Firefly algorithm, an introduction with metaheuristic applications. Engineering Optimization: An Introduction with Metaheuristic Applications, 221-230. [Crossref]
[10] Yang, X.S. (2010). Nature-inspired metaheuristic algorithms. Luniver Press.
[11] Gandomi, A.H., Yang, X.S., Alavi, A.H. (2013). Cuckoo search algorithm: A metaheuristic approach to solve structural optimization problems. Engineering with Computers, 29(2): 17-35. [Crossref]
[12] Mirjalili, S., Lewis, A. (2016). The whale optimization algorithm. Advances in Engineering Software, 95: 51-67. [Crossref]
[13] Sulaiman, M.H., Mustaffa, Z., Saari, M.M., Daniyal, H. (2020). Barnacles mating optimizer: A new bio-inspired algorithm for solving engineering optimization problems. Engineering Applications of Artificial Intelligence, 87: 103330. [Crossref]
[14] Zhao, S., Zhang, T., Ma, S., Chen, M. (2022). Dandelion Optimizer: A nature-inspired metaheuristic algorithm for engineering applications. Engineering Applications of Artificial Intelligence, 114: 105075. [Crossref]
[15] Agushaka, J.O., Ezugwu, A.E., Abualigah, L. (2022). Dwarf mongoose optimization algorithm. Computer Methods in Applied Mechanics and Engineering, 391: 114570. [Crossref]
[16] Ahmadkhanpour, F., Kheiri, H., Azarmir, N., Khiyabani, F.M. (2025). Solving initial value problems using multilayer perceptron artificial neural networks. Computational Methods for Differential Equations, 13(1): 13-24. 10.22034/cmde.2024.58774.2486
[17] Lu, L., Meng, X., Mao, Z., Karniadakis, G.E. (2021). DeepXDE: A deep learning library for solving differential equations. Society of Industrial and Applied Mathematics Review, 63(1): 208-228. [Crossref]
[18] Parand, K., Aghaei, A.A., Kiani, S., Zadeh, T.I., Khosravi, Z. (2024). A neural network approach for solving nonlinear differential equations of Lane-Emden type. Engineering with Computers, 40(2): 953-969. [Crossref]
[19] Yang, X.S. (2012). Flower pollination algorithm for global optimization. In International Conference on Unconventional Computing and Natural Computation. Berlin, Heidelberg: Springer Berlin Heidelberg, pp. 240-249. [Crossref]
[20] Babaei, M. (2013). A general approach to approximate solutions of nonlinear differential equations using particle swarm optimization. Applied Soft Computing, 13(7): 3354-3365. [Crossref]
Nomenclature

$a_j$

Vector of Chebyshev polynomial coefficients

$a_{best}$

Best coefficient vector found by FPA

$a_{cand}$

Candidate coefficient vector in FPA

$a^j, a^k$

Randomly chosen coefficient vectors from population in FPA

$a^t$

Coefficient vector at FPA iteration

$C_i(y)$

-th boundary or initial condition operator

$d_i$

Specified value for the -th boundary or initial condition

$f$

Function defining the differential equation

$H$

Heaviside step function

$k$

Order of the highest derivative in the differential equation

$L$

Step size in FPA global pollination, drawn from Lévy distribution

$Lb$

Lower bound for coefficient values in FPA search space

$M$

Number of collocation points

$MaxIter$

Maximum number of iterations for FPA

$N$

Degree of the Chebyshev polynomial approximation

$n_{pop}$

Population size in FPA

$objf$

Objective function to be minimized

$p$

Switching probability in FPA

$R(x;a_i)$

Residual function of the DE using the approximate solution

$ResidualError$

Sum of squared residuals over collocation points

$r$

Random number uniformly distributed in [0,1) for FPA logic

$T_j$

Chebyshev polynomial of the first kind of degree

$t$

Iteration counter in FPA

$U$

Random number drawn from a uniform distribution U (0,1) for FPA local pollination

$Ub$

Upper bound for coefficient values in FPA search space

$w_i$

Weighting factor for the -th condition penalty

$x$

Independent variable

$x_0, x_n$

Start and end points of the domain of interest

$x_p$

-th collocation point

$Y_N(x)$

Approximate solution to the differential equation using -degree polynomial

$y(x)$

General or exact solution to the differential equation

$y^{(k)}(x)$

-th derivative of with respect to

$y_{exact}(x)$

Known exact solution for benchmark problems

Subscripts and Superscripts

$0$

Initial value

$best$

The best solution found so far

$cand$

A candidate solution

$exact$

An exact solution

$i$

Boundary/initial conditions or general counting

$j,k$

Polynomial terms or solutions in FPA

$N$

Degree of polynomial approximation

$n$

Final value

$p$

Collocation points

$t$

Iteration number

$(k)$

Order of differentiation


Cite this:
APA Style
IEEE Style
BibTex Style
MLA Style
Chicago Style
GB-T-7714-2015
Fatiha, G. & Naceur, K. (2025). Spectral Approximations Optimized by Flower Pollination Algorithm for Solving Differential Equations. Int. J. Comput. Methods Exp. Meas., 13(2), 343-349. https://doi.org/10.18280/ijcmem.130211
G. Fatiha and K. Naceur, "Spectral Approximations Optimized by Flower Pollination Algorithm for Solving Differential Equations," Int. J. Comput. Methods Exp. Meas., vol. 13, no. 2, pp. 343-349, 2025. https://doi.org/10.18280/ijcmem.130211
@research-article{Fatiha2025SpectralAO,
title={Spectral Approximations Optimized by Flower Pollination Algorithm for Solving Differential Equations},
author={Ghedjemis Fatiha and Khelil Naceur},
journal={International Journal of Computational Methods and Experimental Measurements},
year={2025},
page={343-349},
doi={https://doi.org/10.18280/ijcmem.130211}
}
Ghedjemis Fatiha, et al. "Spectral Approximations Optimized by Flower Pollination Algorithm for Solving Differential Equations." International Journal of Computational Methods and Experimental Measurements, v 13, pp 343-349. doi: https://doi.org/10.18280/ijcmem.130211
Ghedjemis Fatiha and Khelil Naceur. "Spectral Approximations Optimized by Flower Pollination Algorithm for Solving Differential Equations." International Journal of Computational Methods and Experimental Measurements, 13, (2025): 343-349. doi: https://doi.org/10.18280/ijcmem.130211
FATIHA G, NACEUR K. Spectral Approximations Optimized by Flower Pollination Algorithm for Solving Differential Equations[J]. International Journal of Computational Methods and Experimental Measurements, 2025, 13(2): 343-349. https://doi.org/10.18280/ijcmem.130211