Abstract

The motive of the current work is related to solving the coronavirus-based mathematical system of susceptible (S), exposed (E), infected (I), recovered (R), overall population (N), civic observation (D), and cumulative performance (C), called as SEIR-NDC. The numerical solutions of the SEIR-NDC model are presented by using the computational framework of artificial neural networks (ANNs) together with the swarming optimization procedures aided with the sequential quadratic programming. The swarming procedure based on the particle swarm optimization (PSO) works as a global search, while the sequential quadratic programming (SQP) is used as a local search algorithm. A merit function is constructed by using the nonlinear dynamics of the SEIR-NDC mathematical system based on its 7 classes, and the optimization of the merit function is performed through the PSOSQP. The numerical expressions of system are accessible with the ANNs using the PSOSQP optimization with 30 variables. The correctness of the stochastic computing scheme performances is verified by using the comparison of the obtained performances of the mathematical SEIR-NDC system and the reference Runge–Kutta scheme. Furthermore, the graphical illustrations of the performance indices, absolute error, and convergence curves are derived to validate the robustness of the proposed ANN-PSOSQP approach for the mathematical SEIR-NDC system.

1. Introduction

The focus of this study is to highlight the health issues along with various diseases that are caused by infections with viruses or bacteria. In addition to disrupting human life, infectious diseases are also seen as a significant threat to economies, businesses, education, and other facets of daily life. One of these viruses, the coronavirus, spread fast throughout the entire world. The transmitting ratio of the coronavirus was very high, and it rapidly spread in the humans from one to another. Millions of people were infected by the coronavirus, which did not discriminate between developed, developing, and underdeveloped nations. After 2.5 years, there are still high number of positive cases reported daily throughout the world. However, the recovery ratio of this virus was so high in its start and now the recovery rate is much higher due to the process of vaccination [13]. The symptom of this disease alters with its new shapes, like runny noses, fever, coughs, sore throats, headaches, and respiratory indications (shortness of breath, high fever, bleeding, phlegm, cough, and chest pain) [46].

In recent years, one of the main focuses of the researchers is to analyze the outcomes of the coronavirus dynamics by using different effects. Wang [7] presented a mathematical system formulation based on the coronavirus using its applications and capacities. Based on the coronavirus as well as the pregnancy effects, Donders et al. [8] provided the Worldwide Society of Infectious Illness in Gynecology and Obstetrics. Rhodes et al. [9] introduced the coronavirus mathematical model to control the public problems. Khrapov et al. [10] performed the comparative investigations using the mathematical systems of the coronavirus dynamics based on the data of different regions. Jewell et al. [11] presented the potential disruptive impacts using the HIV packages in sub-Saharan Africa based on coronavirus. A coronavirus dynamical system is constructed by Sánchez et al. [12]. Thompson [13] proposed an epidemiological system to consider the significant operators using the coronavirus supervisory interferences. Elsonbaty et al. [14] designed the discrete fractional-order dynamical coronavirus system. Umer et al. [15,16] studied the numerical performances using the swarming as well as heuristic schemes to present the solutions of the coronavirus system. Shikongo et al. [17] presented the fractional-order operator using the principle of quarantine and isolation based on the coronavirus.

Mathematical models appear in a wide range of disciplines, including biology, chemistry, economics, civil and mechanical engineering, and health. According to Side et al. [18] mathematical systems can be used to assess the disease’s evolution. Owolabi et al. [19] designed an efficient scheme for the biological stoichiometry model based on tumour dynamics. In another study, they presented the fitted numerical scheme using the HIV model based on the dynamics of cancer-immune system [20]. Some more relevant studies have been presented in [21]. Moreover, few mathematical systems can be accessible analytically, but it is better to perform numerical simulations of the abovementioned systems. Therefore, the computational framework of artificial neural networks (ANNs) together with the swarming optimization procedures aided with the sequential quadratic programming is provided the solve the coronavirus-based mathematical SEIR-NDC system. The swarming procedure based on the particle swarm optimization (PSO) works as a global search, while the sequential quadratic programming (SQP) is used as a local search algorithm. The ANN-based swarming procedures together with PSOSQP have never been applied before to solve the coronavirus-based mathematical SEIR-NDC system. Few famous submissions of the computing stochastic solvers are the prey-predator models [22], delay singular differential models [23, 24], multifractional systems [2527], periodic singular systems [28,29], nonlinear design of the optics [30], HIV infection system [31], eye surgery models [32, 33], functional singular model [34], mosquito spreading model [35], Thomas–Fermi system [36], smoking model [37], and food chain nonlinear models [38].

The mathematical SEIR-NDC system depends upon seven dynamics, susceptible (S(y)), exposed (E (y)), infected (I(y)), recovered (R(y)), overall population (N (y)), civic observation (D(y)), and growing performance (C(y)), shown as [4]where , , , , , , and are the emigration ratio, rate of initial spread, transmission ratio, infected rate, public response, and the severe case. The initial conditions of the model are q1, q2, q3, q4, q5, q6, and q7. The biological aspects of these initial conditions are well defined in a reported study [19] along with the setting of the parameters such as existence, uniqueness, bounded, and nonnegative of the solution.

The novel topographies of the ANN-PSOSQP are provided as follows:(i)A neuro swarming computing scheme is presented to solve the coronavirus-based mathematical SEIR-NDC system.(ii)The swarming procedure based on the PSO is applied as a global search, while the SQP is used as a local search algorithm to solve the coronavirus-based mathematical SEIR-NDC system.(iii)The stochastic computing scheme is presented efficiently to solve the coronavirus-based mathematical model.(iv)The comparison of the obtained and reference solutions demonstrates the stochastic approach's correctness.(v)The absolute error (AE) values are in good measures for the coronavirus-based mathematical SEIR-NDC system, which signifies the exactness of the swarming computing scheme.(vi)The robustness of the stochastic swarming computing scheme together with PSOSQP is provided by using the statistical performances for multiple trials.

The rest of the paper is organized as follows. Section 2 shows the designed procedures. Section 3 is designed based on the numerical solutions. The concluding comments are presented in the last section.

2. Methodology

The current section provides the stochastic ANN procedure in two steps using the optimization of PSOSQP procedures for solving the mathematical SEIR-NDC system.(i)A cost function based on the differential SEIR-NDS system is provided.(ii)Optimization performances of the PSOSQP are provided.

2.1. Modeling: ANNs

The mathematical representations of the SEIR-NDC system are stated using the feed-forward ANNs based on the solutions of 1st derivative aswhere m shows the number of neurons, T is the activation function, and the first derivative is used due to the nature of the 1st order SEIR-NDC system. The unidentified weights are represented by W and written as , where , , , , , , and .

, , , , , , , , , , , , , , , , , , , , .

A log-sigmoid activation function (LSAF) is used in this work, and the mathematical formulation of LSAF is provided as . Put the values of LSAF in equation (2), and then first-order derivative has been performed, which is shown in the following equation:

The cost function is provided aswhere , , , and . The proposed results are and . Moreover, , , , , , , , and are the cost functions using SEIR-NDC system and its initial conditions, respectively.

2.2. Optimization: PSOSQP

The optimization performances based on the swarming procedures based on the PSO along with the SQP procedures are presented using the mathematical SEIR-NDC system.

The global search swarming procedure PSO is used as an alteration of the genetic algorithm. PSO was discovered in the 7th decade of the 19th century. PSO provides best solution performance to solve the stiff and nonstiff natured problems. Recently, PSO has been applied in widespread applications, such as mixed-variable optimization systems [39], solar energy systems [40], plant diseases diagnosis [41], feature selection in cataloging [42], organizing the single, double, and three diode photovoltaic systems [43], particle filter noise reduction in mechanical fault diagnosis [44], big data excavation of hot subjects about recycled water based on the microblog [45], 2nd order functional singular differential system [34], and green coal production problem [46].

The efficient and rapid performances of the results have been obtained through the hybridization of the swarming optimization schemes with the local search method. Hence, SQP is used as a local search scheme with the hybridization of PSO. The local search PSO approach is used by taking the initial PSO input to perform the quick results. In recent decades, PSO has been functional in the variety of applications, like optimal power flow problem [47], dynamic economic dispatch [48], constrained nonlinear control allocation with singularity avoidance [49], four-level integrated supply chain with the aim of determining the optimum stockpile and period length [50], and multivariate regression based on the fuel cell using the electric vehicle [51]. The present investigations are related to indicate the numerical performances based on the mathematical system using the PSOSQP. The stochastic PSOSQP procedure for the mathematical SEIR-NDC system is provided in Figure 1. The descriptions of the PSO and SQP are tabulated in Table 1.

2.3. Statistical Performance

The current section presents the statistical representations of the mean square error (MSE), Theil’s inequality coefficient (TIC), and semi-interquartile range (SIR) for mathematical SEIR-NDC system. The statistical performances are used to check the reliability of the stochastic scheme. The mathematical form of these operators is given aswhere S(y), E (y), I(y), R(y), N(y), D(y), and C(y) indicate the reference solutions, while the hat terms present the proposed solutions that have been obtained by using the proposed scheme.

3. Result Performances

The current section shows the numerical performances of the results for the mathematical SEIR-NDC system by applying the proposed ANN-PSOSQP procedure.

3.1. Mathematical SEIR-NDC System

The updated form of the mathematical SEIR-NDC system is provided by adjusting the appropriate parameter performances, written as

The cost function is designed in terms of mean square error, which is based on the differential SEIR-NDC system given in equation (1) by keeping the methodology of equation (5) shown as

The solutions of the mathematical model are obtained through the optimization-based PSOSQP for 30 runs together with 10 neurons and 30 variables. The best values of the weights using the ANNs along with the optimization procedures of PSOSQP are illustrated in Figure 2. These weight vectors are capable to achieve the proposed outcomes based on the mathematical SEIR-NDC system. The obtained solutions are presented as

The above equations are given to evaluate the outputs of the SEIR-NDC model by operating the ANNs and PSOSQP. The achieved outcomes are illustrated in Figures 24 using 10 neurons and 30 variables. Figures 2(a)2(g) represent the optimal weight vectors for the model. These optimal weights have been obtained by using equations (17)–(23). The solutions have been obtained by using these weight vectors. Figures 3(a)3(g) show the proposed, mean, and best result comparison for the mathematical SEIR-NDC system. The proposed results have been obtained by using the designed ANN procedure along with the computing swarming scheme, and the best solutions indicate the ideal solutions, while the mean solutions have been achieved by using the mean performances. The matching of the mean, obtained, and best results indicates the exactness of the designed ANN procedure along with the computing swarming scheme. Figure 4 presents the AE performances based on the mean and the best solutions for the mathematical SEIR-NDC system. It is shown that the best outcomes of the AE to solve the respective categories of the model are 10−05–10−06, 10−05–10−07, 10−03–10−05, 10−04–10−07, 10−07–10−08, 10−05–10−08, and 10−06–10−09 for each category of the model. The performances based on the mean for the respective categories of the model are presented as 10−04–10−05, 10−03–10−05, 10−03–10−04, 10−04–10−05, 10−05–10−06, 10−04–10−06, and 10−05–10−06 for each dynamics of the model. These observed AE values show the accurateness of ANN-PSOSQP procedure for SEIR-NDC. It is shown that the proposed stochastic ANN-PSOSQP procedure is precisely based on the AE for the SEIR-NDC.

Figure 5 presents the statistical performances using the MSE and TIC operators to solve the mathematical model. The MSE measures for the SEIR-NDC model are found as 10−08–10−10, 10−09–10−10, 10−07–10−08, 10−08–10−09, 10−11–10−12, 10−09–10−10, and 10−10–10−12 for each dynamics of the model. The TIC performance for the SEIR-NDC model are found around 10−06–10−08, 10−07–10−08, 10−03–10−04, 10−04–10−05, 10−12–10−13, 10−04–10−05, and 10−08–10−10 for respective dynamics of the system. These optimal small performances enhance the value and correctness of proposed stochastic ANN-PSOSQP procedure.

Figure 6 shows the convergence study based on the MSE and TIC operators. It was noted that most of the runs resulted in a high level of fitness. Based on these analyses, it is shown that most of the executions produced higher fitness levels that proves the procedure is reliable and stable.

Tables 28 provide the correctness, precision, and accurateness of the designed ANN-PSOSQP approach based on the statistical representations of the classes , , , , and of the SEIR-NDC mathematical system. The statistical illustrations are presented for the maximum (Max), semi-interquartile range (SIR), minimum (Min), standard deviation (SD), mean, and median (MD) operators. The Max and Min operators specify the worst and best runs. The Max values based on the worst runs lie as 10−04 to 10−06 for the classes. The statistical Min operator values performed were found as 10−06–10−13, 10−07–10−10, 10−05–10−12, 10−05–10−10, 10−07–10−11, 10−06–10−11, and 10−07–10−11 for each dynamics of the system. The SIR, MD, mean, and SD statistical values lie around 10−06–10−09 of each dynamics of the model. These statistical performances present the consistency and trustworthiness of the designed ANN-PSOSQP.

4. Concluding Remarks

The current work obtains the numerical solutions of the coronavirus mathematical system using the computational structure of artificial neural networks, swarming optimization procedures, and the sequential quadratic programming. The particle swarm optimization works as a global swarming procedure, whereas the sequential quadratic programming is implemented as a local search algorithm approach. The optimization of the cost function which is constructed using the mathematical SEIR-NDC system is performed through the stochastic swarming procedures. The correctness of the stochastic ANN-PSOSQP computing scheme has been verified through the comparison of the obtained performances of the mathematical SEIR-NDC system and the Runge–Kutta scheme. The statistical MSE and TIC operators have been provided in good ranges for 10 neurons or 30 variables for the mathematical SEIR-NDC system. The negligible statistical Max, Min, SIR, SD, mean, and MD operator values show the accuracy. Moreover, the graphical illustrations of the performance indices, absolute error, and convergence curves have been derived to validate the robustness of the proposed ANN-PSOSQP approach for the mathematical SEIR-NDC system. These statistical operator performances authenticate that the proposed ANN-PSOSQP approach is stable, reliable, accurate, and robust for the numerical solutions of the mathematical SEIR-NDC system.

The proposed stochastic paradigms can be explored in the future to present the numerical solutions of the nonlinear mathematical systems [5261].

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Authors’ Contributions

All authors contributed equally and significantly in writing this paper. All authors read and approved the final manuscript.

Acknowledgments

This research was supported by Chiang Mai University and the NSRF via the Program Management Unit for Human Resources and Institutional Development, Research and Innovation (grant no. B05F640183). Watcharaporn Cholamjiak would like to thank National Research Council of Thailand (N42A650334) and Thailand Science Research and Innovation, the University of Phayao (FF66-UoE).