1 Introduction

The study of two and three trophic-level based on food chain systems using the structure of logistic prey X, specialist Lotka–Volterra predator Y and top-predator Z (Freedman and Waltman 1977; Freedman and So 1985; Muratori and Rinaldi 1992; Kuznetsov and Rinaldi 1996; Rinaldi et al. 1996; El-Owaidy et al. 2001; Umar et al. 2019). The general form of the state system based on the three species food chain nonlinear model is written as (Aziz-Alaoui 2002):

$$\left\{\begin{array}{l}{X}^{^{\prime}}({T})={a}_{0}X({T})-{b}_{0}{X}^{2}({T})-\frac{{\upsilon }_{0}X({T})Y({T})}{X({T})+{d}_{0}},X(0)={l}_{1},\\ {Y}^{^{\prime}}({T})=-{a}_{1}Y({T})+\frac{{\upsilon }_{1}X({T})Y({T})}{{d}_{1}+X({T})}-\frac{{\upsilon }_{2}Y({T})Z({T})}{Y({T})+{d}_{2}},Y(0)={l}_{2},\\ {Z}^{^{\prime}}({T})={c}_{3}{Z}^{2}({T})-\frac{{\upsilon }_{3}{Z}^{2}({T})}{Y({T})+{d}_{3}},Z(0)={l}_{3}.\end{array}\right.$$
(1)

The above system represents the three-dimensional food chain nonlinear model that has been investigated analytically/numerically with the prey population X, which implemented as a single food predator Y together with prey of a top-predator Z. The features of prey X along with the species Y present the modeling of Volterra scheme, which indicates the predator population reduces exponentially in the absence of prey. The association of species Z together with its prey Y is formed based on the Leslie–Gower scheme (Leslie and Gower 1960), which indicates the predator population reduces to the reciprocal of per capita availability of its most special food (Upadhyay et al. 1998). \({l}_{1}\), \({l}_{2}\) and \({l}_{3}\) are the positive initial conditions (Ics). The model parameter’s detail of the three-dimensional food chain nonlinear model is expressed in the Table 1.

Table 1 Illustrations of the three-dimensional food chain nonlinear model

The stochastic computing processes have been executed to solve a large variety of nonlinear systems, few of them are fractional singular systems (Sabir et al. 2021c, d, e), like higher order singular systems (Ayub et al. 2021; Sabir et al. 2021a), dengue fever system (Umar et al. 2020b, c, d, e), SITR based COVID-19 models (Umar et al. 2020b, c, d, e, 2021a, b), delay singular function system (Khan et al. 2021; Sabir et al. 2021b), SIR system for spreading infection and treatment (Umar et al. 2021a, b), mosquito release system in the heterogeneous environment (Umar et al. 2020a), doubly singular nonlinear models (Raja et al. 2019; Sabir et al. 2020a, b, c), rank-constrained spectral clustering (Li et al. 2018a, b), zero-shot event detection system (Li et al. 2019), fuzzy K-means clustering associated discriminative embedding scheme (Li et al. 2018a, b), multiclass classification systems (Yan et al. 2020). dynamic affinity graph construction strategy for spectral clustering (Nie et al. 2020), enhanced multilayer piezoelectric transducer design (Naz et al. 2021), performance investigation of the heat sink of functionally graded material of the porous fin (Ahmad et al. 2021), impact of heat transfer in a Bodewadt flow model (Awais et al. 2021), thin film flow model over a stretched surface (Uddin et al. 2021) and state estimation problems arising in underwater Markov chain maneuvering targets (Ali et al. 2021). All these utmost applications inspired the authors to explore/exploit/investigate artificial intelligence-based computational solver to solve the governing model of three-species food chain nonlinear model as presented in a set of Eq. (1). A brief summary of innovative insights and contributions of the presented study is listed in terms of salient features as follows:

  • A novel application of artificial intelligent knacks via Gudermannian neural networks (GNNs) models optimized with genetic algorithm and active-set approach (GA-ASA), i.e., GNNs-GA-ASA is introduced to solve a mathematical model of the three-species food chain nonlinear systems (TS-FCNS).

  • The design of an error-based fitness function is effectively portrayed for TS-FCNS for the dynamics of the prey populations, top-predator and specialist predator.

  • The numerical results of the TS-FCNS have been obtained by exploiting computation heuristics of GNNs-GA-ASA and comparison with the outcomes of the Runge–Kutta method substantiated the correctness of the designed approach.

  • The reliability, efficacy and authenticity of the proposed GNNs-GA-ASA are further scrutinized through different statistical measures based on single and multiple executions for solving the three-species food chain nonlinear model.

The paper is organized as: Sect. 2 defines the computational procedures based on GNNs-GA-ASA along with the statistical measures are provided in the next section. The result and discussion are provided in Sect. 3. The concluding remarks and future research directions are provided in Sect. 4.

2 Designed procedures: GNNs-GA-ASA

The mathematical formulations of the three-dimensional food chain nonlinear model together with derivatives are derived as:

$$ \begin{aligned} \left[\widehat{X}\left({T}\right),\widehat{Y}\left({T}\right),\widehat{Z}\left({T}\right)\right] & =\left[\begin{array}{l}{\sum }_{q=1}^{s}{r}_{X,q}M\left({w}_{X,q}{T}+{n}_{X,q}\right),{\sum }_{q=1}^{s}{r}_{Y,q}M\left({w}_{Y,q}{T}+{n}_{Y,q}\right),\\ {\sum }_{q=1}^{s}{r}_{Z,q}M\left({w}_{Z,q}{T}+{n}_{Z,q}\right),\end{array}\right], \\ [{\widehat{X}}^{^{\prime}}({T}),{\widehat{Y}}^{^{\prime}}({T}),{\widehat{Z}}^{^{\prime}}({T})] & =\left[\begin{array}{l}{\sum }_{q=1}^{s}{r}_{X,q}{M}^{^{\prime}}({w}_{X,q}{T}+{n}_{X,q}),{\sum }_{q=1}^{s}{r}_{Y,q}{M}^{^{\prime}}({w}_{Y,q}{T}+{n}_{Y,q}),\\ {\sum }_{q=1}^{s}{r}_{Z,q}{M}^{^{\prime}}({w}_{Z,q}{T}+{n}_{Z,q}),\end{array}\right], \end{aligned}$$
(2)

where, W indicates an unidentified weight vector, given as:

\(W=[{W}_{X},{W}_{Y},{W}_{Z}]\), for \({W}_{X}=[{r}_{X},{\omega }_{X},{n}_{X}]\), \({W}_{Y}=[{r}_{Y},{\omega }_{Y},{n}_{Y}]\), and \({W}_{Z}=[{r}_{Z},{\omega }_{Z},{n}_{Z}]\), where

$$\begin{aligned} {r}_{X} & =[{{r}_{X}}_{,1},{{r}_{X}}_{T,2},{{r}_{X}}_{,3}, \ldots ,{{r}_{X}}_{,s}],{r}_{Y}=[{{r}_{Y}}_{,1},{{r}_{Y}}_{,2},{{r}_{Y}}_{,3}, \ldots ,{{r}_{Y}}_{,s}]{r}_{Z}=[{{r}_{Z}}_{,1},{{r}_{Z}}_{,2},{{r}_{Z}}_{,3}, \ldots ,{{r}_{Z}}_{,s}] \\ {w}_{X} & =[{{w}_{X}}_{,1},{{w}_{X}}_{T,2},{{w}_{X}}_{,3}, \ldots ,{{w}_{X}}_{,s}],{w}_{Y}=[{{w}_{Y}}_{,1},{{w}_{Y}}_{,2},{{w}_{Y}}_{,3}, \ldots ,{{w}_{Y}}_{,s}]{w}_{Z}=[{{w}_{Z}}_{,1},{{w}_{Z}}_{,2},{{w}_{Z}}_{,3}, \ldots ,{{w}_{Z}}_{,s}] \\ {n}_{X} & =[{{n}_{X}}_{,1},{{n}_{X}}_{,2},{{n}_{X}}_{,3}, \ldots ,{{n}_{X}}_{,s}],{n}_{Y}=[{{n}_{Y}}_{,1},{{n}_{Y}}_{,2},{{n}_{Y}}_{,3}, \ldots ,{{n}_{Y}}_{,s}]{n}_{Z}=[{{n}_{Z}}_{,1},{{n}_{Z}}_{,2},{{n}_{Z}}_{,3}, \ldots ,{{n}_{Z}}_{,s}] \end{aligned}$$

A merit function, i.e., Gudermannian function \(M(\Psi )=2{{\tan}}^{-1}\left[\mathit{exp}(\Psi )\right]-\frac{1}{2}\pi \) (Sabir et al. 2021c, d, e) is used as

$$ \begin{aligned} [\widehat{X}(\Psi ),\widehat{Y}(\Psi ),\widehat{Z}(\Psi )] & =\left[\begin{array}{l}{\sum }_{k=1}^{r}{q}_{X,k}\left(2{{\tan}}^{-1}{e}^{({w}_{X,k}\Psi +{n}_{X,k})}-\frac{\pi }{2}\right),{\sum }_{k=1}^{r}{q}_{Y,k}\left(2{{\tan}}^{-1}{e}^{({w}_{Y,k}\Psi +{n}_{Y,k})}-\frac{\pi }{2}\right),\\ {\sum }_{k=1}^{r}{q}_{Z,k}\left(2{{\tan}}^{-1}{e}^{({w}_{Z,k}\Psi +{n}_{Z,k})}-\frac{\pi }{2}\right)\end{array}\right], \\ [{\widehat{X}}^{^{\prime}}(\Psi ),{\widehat{Y}}^{^{\prime}}(\Psi ),{\widehat{Z}}^{^{\prime}}(\Psi )] & =\left[\begin{array}{l}{\sum }_{k=1}^{r}2{q}_{X,k}{w}_{X,k}\left(\frac{{e}^{({w}_{X,k}\Psi +{n}_{X,k})}}{1+{\left({e}^{({w}_{X,k}\Psi +{n}_{X,k})}\right)}^{2}}\right),\\ {\sum }_{k=1}^{r}2{q}_{Y,k}{w}_{Y,k}\left(\frac{{e}^{({w}_{Y,k}\Psi +{n}_{Y,k})}}{1+{\left({e}^{({w}_{Y,k}\Psi +{n}_{Y,k})}\right)}^{2}}\right),\\ {\sum }_{k=1}^{r}2{q}_{Z,k}{w}_{Z,k}\left(\frac{{e}^{({w}_{Z,k}\Psi +{n}_{Z,k})}}{1+{\left({e}^{({w}_{Z,k}\Psi +{n}_{Z,k})}\right)}^{2}}\right)\end{array}\right],\end{aligned} $$
(3)

The merit function is provided as:

$${\xi }_{f}={\xi }_{f-1}+{\xi }_{f-2}+{\xi }_{f-3}+{\xi }_{f-4}$$
(4)
$${{\xi }_{f-}}_{1}=\frac{1}{N}{\sum }_{j=1}^{N}{\left[{\widehat{X}}_{j}^{^{\prime}}+{a}_{0}{\widehat{X}}_{j}+b{X}_{j}^{2}+\frac{{\upsilon }_{0}{\widehat{X}}_{j}{\widehat{Y}}_{j}}{{d}_{0}+{\widehat{X}}_{j}}\right]}^{2},$$
(5)
$${{\xi }_{f-}}_{2}=\frac{1}{N}{\sum }_{j=1}^{N}{\left[{\widehat{Y}}_{j}^{^{\prime}}+a{\widehat{Y}}_{j}-\frac{{\upsilon }_{1}{\widehat{Y}}_{j}{\widehat{Y}}_{j}}{{d}_{1}+{\widehat{X}}_{j}}+\frac{{v}_{2}{\widehat{Y}}_{j}{\widehat{Z}}_{j}}{{d}_{2}+{\widehat{Y}}_{j}}\right]}^{2},$$
(6)
$${{\xi }_{f-}}_{3}=\frac{1}{N}{\sum }_{j=1}^{N}{\left[{\widehat{Z}}_{j}^{^{\prime}}-{C}_{3}{\widehat{Z}}_{j}+\frac{{\upsilon }_{3}{\widehat{Z}}_{j}}{{d}_{3}+{\widehat{Y}}_{j}}\right]}^{2},$$
(7)
$${\xi }_{f-4}=\frac{1}{3}\left[{\left({\widehat{X}}_{0}-{l}_{1}\right)}^{2}+{\left({\widehat{Y}}_{0}-{l}_{2}\right)}^{2}+{\left({\widehat{Z}}_{0}-{l}_{3}\right)}^{2}\right],$$
(8)

where \({{\widehat{X}}_{j_{i}}}=X\left({T}_{j}\right),{\widehat{Y}}_{j}=Y\left({T}_{j}\right),{\widehat{Z}}_{j}=Z\left({T}J\right),Nh=1,\) and \({T}_{j}=hJ\). \({\widehat{X}}_{j}\), \({\widehat{Y}}_{j}\) and \({\widehat{Z}}_{j}\) indicate the proposed results of the system (1). Likewise, the Eqs. (5)–(7) represent an error function of the three-dimensional food chain nonlinear model and its ICs.

2.1 Optimization: GNN-GA-ASA

This section indicates the optimization procedures to solve the three-dimensional food chain nonlinear model using the stochastic procedures based on GNN-GA-ASA.

Genetic algorithm is known as a famous, optimization global search scheme implemented to solve the linear/nonlinear models. It is performed to tackle both constrained/unconstrained systems using the typical selection processes. GA is usually applied to regulate the results of the accurate population to solve the numerous complex/steep models of ideal training. Recently, GA is implemented in the brain tumor images (Simi et al. 2020), hospitalization expenditure systems (Tao et al. 2019), Thomas–Fermi model (Sabir et al. 2018), feature diversity in cancer microarray (Sayed et al. 2019), radiation protective in the bismuth-borate glasses (Wilson 2019), nonlinear electric circuit models (Mehmood et al. 2020), heat conduction model (Raja et al. 2018), HIV infection model (Umar et al. 2020b, c, d, e), wire coating with Oldroyd 8-constant fluid model (Munir et al. 2019), prediction differential system (Sabir et al. 2020a, b, c), periodic differential model (Sabir et al. 2020a, b, c) and cloud service optimization procedures (Yang et al. 2019). ASA is applied in pricing American better-of option on two assets (Gao et al. 2020), pressure-dependent models of water distribution systems with flow controls (Piller et al. 2020), nonlinear optimization with polyhedral constraints (Hager and Tarzanagh 2020), numerical solution of the optimal control problem governed by partial differential equation (Azizi et al. 2020), electrodynamic frictional contact problems (Abide et al. 2021) and quadratic semidefinite program with general constraints (Shen et al. 2021). The optimization process-based GA-ASA is applied to control the slowness of GA.

2.2 Performance indices

The performance through statistics based on the semi-interquartile range (S.I.R), mean absolute deviation (MAD), variance account for (VAF) and Theil’s inequality coefficient (TIC) along with the global representation are observed to solve the three-dimensional food chain nonlinear model, given as:

$$\left\{\begin{array}{l}{\text{S.I.R}}=-0.5\left({Q}_{1}-{Q}_{3}\right),\\ {Q}_{1}{Q}_{3} \, \, {\text{are}} \, \, {\text{the}} \, \, {1}{\text{st}} \, \, {3}{\text{rd}} \, \, {\text{quartiles}}, \end{array}\right.$$
(9)
$$[{\text{MAD}}_{X},{\text{MAD}}_{Y}, {\text{MAD}}_{Z}]=\left[{\sum }_{J=1}^{n}\left|{X}_{j}-{\widehat{X}}_{j}\right|,{\sum }_{J=1}^{n}\left|{Y}_{j}-{\widehat{Y}}_{j}\right|,{\sum }_{J=1}^{n}\left|{Z}_{j}-{\widehat{Z}}_{j}\right|\right]$$
(10)
$$ \left\{ {\begin{array}{*{20}l} {\left[ {{\text{VAF}}_{X} ,{\text{VAF}}_{Y} ,{\text{VAF}}_{Z} } \right] = \left[ {\begin{array}{*{20}l} {\left( {1 - \frac{{\text{var} \left( {X_{j} - \widehat{X}_{j} } \right)}}{{\text{var} \left( {X_{j} } \right)}}} \right)*100,\left( {1 - \frac{{\text{var} \left( {Y_{j} - \widehat{Y}_{j} } \right)}}{{\text{var} \left( {Y_{{jS}} } \right)}}} \right)*100,} \\ {\left( {1 - \frac{{\text{var} \left( {Z_{j} - \widehat{Z}_{j} } \right)}}{{\text{var} \left( {Z_{j} } \right)}}} \right)*100,} \\ \end{array} } \right]} \\ {\left[ {{\text{EVAF}}_{X} ,{\text{EVAF}}_{Y} ,{\text{EVAF}}_{Z} } \right] = \left[ {\left| {100 - {\text{VAF}}_{Z} ,100 - {\text{VAF}}_{Y} ,100 - {\text{VAF}}_{Z} } \right|} \right].} \\ \end{array} } \right. $$
(11)
$$\left[{\text{TI}}{\text{C}}_{X},{\text{TI}}{\text{C}}_{Y},{\text{TI}}{\text{C}}_{Z}\right]=\left[\begin{array}{l}\frac{\sqrt{\frac{1}{n}{{\sum }_{J=1}^{n}\left({X}_{j}-{\widehat{X}}_{j}\right)}^{2}}}{\left(\sqrt{\frac{1}{n}{\sum }_{J=1}^{n}{X}_{j}^{2}}+\sqrt{\frac{1}{n}{\sum }_{J=1}^{n}{\widehat{X}}_{j}^{2}}\right)},\frac{\sqrt{\frac{1}{n}{{\sum }_{J=1}^{n}\left({Y}_{j}-{\widehat{Y}}_{j}\right)}^{2}}}{\left(\sqrt{\frac{1}{n}{\sum }_{J=1}^{n}{Y}_{j}^{2}}+\sqrt{\frac{1}{n}{\sum }_{J=1}^{n}{\widehat{Y}}_{j}^{2}}\right)},\\ \frac{\sqrt{\frac{1}{n}{{\sum }_{J=1}^{n}\left({Z}_{j}-{\widehat{Z}}_{j}\right)}^{2}}}{\left(\sqrt{\frac{1}{n}{\sum }_{J=1}^{n}{Z}_{j}^{2}}+\sqrt{\frac{1}{n}{\sum }_{J=1}^{n}{\widehat{Z}}_{j}^{2}}\right)},\end{array}\right],$$
(12)

where \(\widehat{X}\), \(\widehat{Y}\) and \(\widehat{Z}\) are the proposed solutions.

3 Results and discussions

The simplified form of the three-dimensional food chain nonlinear model using suitable parameter values is given as:

$$\left\{\begin{array}{l}{X}^{^{\prime}}({T})=1.5X({T})-0.06{X}^{2}({T})-\frac{X({T})Y({T})}{10+X(\chi )},{ X}_{0}=1.2,\\ {Y}^{^{\prime}}({T})=-Y({T})+\frac{2X({T})Y({T})}{10+X({T})}-\frac{0.405Y({T})Z({T})}{10+Y({T})},{ Y}_{0}=1.2,\\ {Z}^{^{\prime}}({T})=1.5{Z}^{2}({T})-\frac{{Z}^{2}({T})}{20+Y({T})},{Z}_{0}=1.2.\end{array}\right.$$
(13)

An objective function using the three-dimensional food chain nonlinear model is written as:

$$ \begin{aligned} {\xi }_{f} & =\frac{1}{N}{\sum }_{J=1}^{N}\left(\begin{array}{l}{\left[{\widehat{X}}_{J}^{^{\prime}}-1.5{\widehat{X}}_{J}+0.06{\widehat{X}}_{J}^{2}+\frac{{\widehat{X}}_{J}{\widehat{Y}}_{J}}{10+{\widehat{X}}_{J}}\right]}^{2}+{\left[{\widehat{Y}}_{J}^{^{\prime}}+{\widehat{Y}}_{J}-\frac{2{\widehat{X}}_{J}{\widehat{Y}}_{J}}{10+{\widehat{X}}_{J}}+\frac{0.405{\widehat{Y}}_{J}{\widehat{Z}}_{J}}{10+{Y}_{J}}\right]}^{2}\\ +{\left[{\widehat{Z}}_{J}^{^{\prime}}-1.5{\widehat{Z}}_{J}^{2}+\frac{{\widehat{Z}}_{J}^{2}}{20+{\widehat{Y}}_{J}}\right]}^{2}\end{array}\right) \\ & +\frac{1}{3}\left[{\left({\widehat{X}}_{0}-1.2\right)}^{2}+{\left({\widehat{Y}}_{0}-1.2\right)}^{2}+({\widehat{Z}}_{0}-1.2{)}^{2}\right] \end{aligned} $$
(14)

The mathematical results of the stochastic procedures based on GNN-GA-ASA:

$$\begin{aligned} \widehat{X}(\Psi ) & =-4.1215(2{{\tan}}^{-1}{e}^{(-1.2073\Psi +2.0489)}-0.5\pi )-1.1601(2{{\tan}}^{-1}{e}^{-0.3909\Psi -0.3808)}-0.5\pi ) \\ & -0.0100(2{{\tan}}^{-1}{e}^{(1.7292\Psi +0.6374)}-0.5\pi )-0.6757(2{{\tan}}^{-1}{e}^{(1.0278\Psi -0.1355)}-0.5\pi ) \\ & -3.7274(2{{\tan}}^{-1}{e}^{(-1.3829\Psi +3.4601)}-0.5\pi )-0.6447(2{{\tan}}^{-1}{e}^{(1.3228\Psi +1.3535)}-0.5\pi ) \\ & -1.6067(2{{\tan}}^{-1}{e}^{(-0.3206\Psi -0.8162)}-0.5\pi )+0.3827(2{{\tan}}^{-1}{e}^{(0.4292\Psi +1.0041)}-0.5\pi ) \\ & 3.8605(2{{\tan}}^{-1}{e}^{(0.1557\Psi +2.6613)}-0.5\pi )+3.8418(2{{\tan}}^{-1}{e}^{(0.1831\Psi +2.4362)}-0.5\pi ),\end{aligned} $$
(15)
$$ \begin{aligned} \widehat{X}(\Psi ) & =1.0561(2{{\tan}}^{-1}{e}^{(0.3584\Psi +2.3141)}-0.5\pi )+1.5786(2{{\tan}}^{-1}{e}^{(-1.0463\Psi -0.6359)}-0.5\pi ) \\ & -1.8630(2{{\tan}}^{-1}{e}^{(-0.6936\Psi -0.3845)}-0.5\pi )-0.0488(2{{\tan}}^{-1}{e}^{(-1.7367\Psi -2.3627)}-0.5\pi ) \\ & 1.4624(2{{\tan}}^{-1}{e}^{(0.3281\Psi -0.6821)}-0.5\pi )+0.9619(2{{\tan}}^{-1}{e}^{(0.2794\Psi +0.3296)}-0.5\pi ) \\ & 1.7775(2{{\tan}}^{-1}{e}^{(-0.1763\Psi +2.3006)}-0.5\pi )+2.2604(2{{\tan}}^{-1}{e}^{(-0.5332\Psi +0.0478)}-0.5\pi ) \\ & -0.9345(2{{\tan}}^{-1}{e}^{(0.0191\Psi -0.0942)}-0.5\pi )+1.3007(2{{\tan}}^{-1}{e}^{(-2.8534\Psi -3.4033)}-0.5\pi ),\end{aligned} $$
(16)
$$ \begin{aligned} \widehat{X}(\Psi ) & =0.5342(2{{\tan}}^{-1}{e}^{(0.1335\Psi +0.4637)}-0.5\pi )-0.8565(2{{\tan}}^{-1}{e}^{(0.5032\Psi +0.1273)}-0.5\pi ) \\ & 0.6277(2{{\tan}}^{-1}{e}^{(-2.2469\Psi -0.7075)}-0.5\pi )-1.4959(2{{\tan}}^{-1}{e}^{(-1.1810\Psi -3.0498)}-0.5\pi ) \\ & 2.5696(2{{\tan}}^{-1}{e}^{(-6.6073\Psi -3.6405)}-0.5\pi )-0.1184(2{{\tan}}^{-1}{e}^{(0.1933\Psi +2.3627)}-0.5\pi ) \\ & -2.2969(2{{\tan}}^{-1}{e}^{(-0.1593\Psi -1.7907)}-0.5\pi )-0.2461(2{{\tan}}^{-1}{e}^{(-0.2011\Psi -0.9760)}-0.5\pi ) \\ & 0.2974(2{{\tan}}^{-1}{e}^{(-0.0698\Psi -1.1331)}-0.5\pi )+0.0016(2{{\tan}}^{-1}{e}^{(3.5979\Psi -1.5463)}-0.5\pi ),\end{aligned} $$
(17)

Figures 1, 2 and 3 illustrates the best weight vectors, result comparisons and the values of AE to solve the three-dimensional food chain nonlinear model using the stochastic procedures based on GNNs-GA-ASA. The best weight values are illustrated in the three-dimensional food chain nonlinear model in Fig. 1a–c for 30 variables or 10 neurons. These weight vectors are established in Eqs. (1517). The comparative performance of the results for the three-dimensional food chain nonlinear model is illustrated in Fig. 1d–f. The plots of the AE have been established in Fig. 2a–c for the three-dimensional food chain nonlinear model. The statistical operator plots along with the performances of the boxplots are illustrated in Fig. 3 to solve the three-dimensional food chain nonlinear model. The convergence measures are plotted using the TIC, MAD and EVAF to solve the three-dimensional food chain nonlinear model. The complexity of GNNs-GA-ASA in terms of execution time consumed for learning of the weights of the networks is calculated and it is found in the close vicinity of 30 ± 10 for the single runs of the algorithm.

Fig. 1
figure 1

Comparison of the results and best weight vectors for the three-dimensional food chain nonlinear model

Fig. 2
figure 2

AE values and the performances based on MAD, TIC and EVAF for the three-dimensional food chain nonlinear model

Fig. 3
figure 3

TIC performances along with the boxplots based GNN-GA-ASA for three-dimensional food chain nonlinear model

4 Conclusions

This study aims to investigate the Gudermannian neural networks (GNNs) using the optimization procedures of genetic algorithm and active-set approach (GA-ASA) to solve the three-species food chain nonlinear model. An error function is constructed using the three classes of the three-species food chain nonlinear model names as prey populations, top-predator and specialist predator and its initial conditions. The exactness of the scheme GNN-GA-ASA is observed by comparing the proposed results and the reference Runge–Kutta results to solve the three-dimensional food chain nonlinear model. The AE values are found in good measures to solve the three-dimensional food chain nonlinear model, i.e. around 10–05–10–07. The performances of the operators TIC, EVAF and MAD proved the good illustrations to solve the three-dimensional food chain nonlinear model. The statistical Mean, S.I.R, Min, Max, MED and STD performances for 30 independent runs validate the correctness of the proposed stochastic procedures based on GNN-GA-ASA. Furthermore, the global performances through statistical trials of MED and S.I.R have been competently applied to solve the three-dimensional food chain nonlinear model.

In the future, the proposed stochastic procedures based on GNN-GA-ASA are accomplished to solve the environmental economic systems (Kiani et al. 2021; Nisar et al. 2021), information security models (Masood et al.2019, 2020, 2021) and fluid dynamic models (Awan et al. 2020, 2021; Raja et al. 2020; Umar et al. 2020b, c, d, e).