key: cord-0055284-o7kmkv0h authors: Dhaiban, Ali Khaleel; Jabbar, Baydaa Khalaf title: An optimal control model of COVID-19 pandemic: a comparative study of five countries date: 2021-01-19 journal: OPSEARCH DOI: 10.1007/s12597-020-00491-4 sha: 1b68477aaa7110acadecac3c3efdee05acc0ba76 doc_id: 55284 cord_uid: o7kmkv0h This paper formulates an optimal control model of COVID-19 pandemic spreading. We discuss the health sector performance of Argentina, Hungary, Egypt, Malaysia, and Iraq. A mathematical model describes an actual case number of COVID-19. We investigate three strategies depend on recovery rate, death rate, and together (optimal). These strategies represent the percent of the health sector development. The explicit solution of the model using the Pontryagin maximum principle is derived. The results showed the ranking of countries based on the new percent of the recovery and death cases. A new percent as a result to the control variable value (health sector development). Also, the development percent of the health sector of each country, was determined. For example, 0.005 led to a significant reduce the death rates in Malaysia. Meanwhile, a half of death rates could reduce by this percent in Egypt. Covid-19 pandemic threaten a life of millions of people around the world. Also, it led a huge loss in the world economy and trade exchange between countries. The pandemic has spread around the world during a few months. Most nations have isolated to face this virus and decrease the losses. Several studies have investigated COVID-19 virus around the world. The target understanding the composition of the virus and find the appropriate treatment. To diagnose the symptoms of the disease, Wang et al. [1] clarified the long period of virus incubation without clinical symptoms earlier. It represents the most dangerous factor of a pandemic. Symptoms of COVID-19 and SARS-CoV-2-negative, such as fever, cough, levels of creatinine and Procalcitonin (PCT), were studied by Chen et al. [2] . For younger age patients, they discussed the difference in urea and creatinine, as well as parameters of routine blood work-up. Xu et al. [3] considered SARS-CoV-2 or liver injury may lead to COVID-19 injury. Also, they clarified the pathological features of COVID-19 are like to SARS and MERS. The main symptoms of the pregnant that injured by COVID-19 were indicated by X. Chen et al. [4] . Pregnant suffered from fever and cough, without vertical transmission of the virus in late pregnancy. World health organization (WHO) addressed the effect of COVID-19 pandemic on the mental health of children and elderly [5] . According to tests on 1014 patients in China, Ai et al. [6] clarified the chest CT is highly sensitive to virus diagnosis compared with reverse-transcription chain reaction. As a suggested treatment, Lipsitch et al. [7] suggested using the treatment of influenza pandemic in 2009 to treat Covid-19 patients, with provide surveillance systems. Clinical trials in many hospitals in seven cities and more than 100 patients in China were conducted by Gao et al. [8] . They recommended using Chloroquine phosphate that used with malaria disease to treat COVID-19 patients. Zhou et al. [9] collected Viral RNA samples from survivors and deaths to explore the factors that cause death in hospital by using multivariable logistic regression. As mathematical models, several researchers have formulated mathematical models to describe pandemics. Models have simulated the actual cases of diseases. Then clarify the effect of many factors on the spreading, such as vaccination, weather, isolation, and so on. The optimal control model is an example of these models. Lee et al. [10] determined the effect of treatment and isolation strategies, with a limited of antiviral on the spread of influenza. Three models of optimal control of the SIR epidemic were investigated by Hansen and Day [11] to reduce the outbreak size. Tuite et al. [12] reduced the potential effects of the cholera epidemic in Haiti by using the spread control strategies. The dengue vaccine as a control variable to paediatric and random mass, were discussed by Rodrigues et al. [13] . The total implementation costs and the number of infected cases of tuberculosis were reduced by P. Rodrigues et al. [14] by using different scenarios. Moualeu et al. [15] formulated a mathematical model of tuberculosis cases with lost-sight and latently infected. Pang et al. [16] simulated the actual cases of measles transmission, then suggest the optimal strategy of vaccine in US (1951) (1952) (1953) (1954) (1955) (1956) (1957) (1958) (1959) (1960) (1961) (1962) . Ebola virus spreading in West Africa was addressed by Rachah and Torres [17, 18] . The effect of vaccination on the virus spreading over time with different cases was investigated by the first paper. Meanwhile, the second paper addressed a control on the Ebola virus, with several strategies of exposed and vaccine. Gao and Huang [19] recommended a strategy with three controls to reduce the tuberculosis cases and the intervention cost. Follows this introduction, information about COVID-19 pandemic spreading in Sect. 2. Section 3 describes the optimal control model and its explicit solution by using the Pontryagin maximum principle (PMP). The results and its explanation of several models are collected in Sect. 4. Section 5 describes conclusions and the future suggested works. Wuhan, Hubei, China is the source of the first cases of COVID-19 that identified in December 2019 [2] . In January, the virus moved into three Asian countries; Thailand, Japan, and South Korea [20] . At the end of February, the cases have been registered in Europe, North America, Asia, African and Latin American [21] . At the begging of March, more than ten thousand patients have been dead out of China [1] . Until today, 1 July 2020, more than (10) million confirmed cases with more than (500) thousand deaths in the world [22] . The first case registered in Malaysia on 26 January [23] , While in Egypt on 19 February [24] . 24 February, the first case registered in Iraq, while in Argentina and Hungary in 5 March [25] . Argentina reached to more than 100 cases by only (9) days, while Malaysia in (44) days. Other countries, Hungary, Iraq, and Egypt have reached to more than 100 cases in 17, 22, and 25 days, respectively. The objective function of optimal control model is defined by: Subject to state equations of inpatient, recover and death: where, The total number of inpatients increases by the new cases and decrease by the number of recovering and death every day (Eq. 2). Equations (3) and (4) represent the total number of recovering and death, respectively. Control variables represent the percentage of increase of the medical capabilities of the health sector. We can find the solution of the optimal control model by using PMP. The Lagrangian function is as follows [26] : A Hamiltonian function is as follows: Substitute Eq. (6) into Eq. (5), yields: Derive the Eq. (7) with respect to I(t), R(t), D(t), separately, yields: The adjoint equations can be found from Eqs. (8)-(10) is as follows: ) and (20) , we can find the total number of recovered cases over time is as follows: We can find the total number of death cases over time by substituting Eq. (20) into Eq. (4) is as follows: Now, the value of control variables is as follows: where γ and δ are deterministic values. Equation (23) achieves the condition of a nonnegative value of the death rate. Initially the value of control variables is zero, which means the model represents the actual cases that confirmed with the real percentage of new cases, recovered, and death is as follows: where c, r, and d represent the daily cases of new cases, recover, and death, respectively. To fit the model with the real data of the COVID-19 cases, the initial values must be as follows: where i represents the inpatient cases, and π any fixed value, such as 10,000. The results of the model will be percentages that must be multiplied by π to convert it to the integer numbers. Then introduce the effect of the health sector capabilities by changing the values of control variables. According to the values of control variables, there are three strategies are as follows: • x(t) represents increase the medical capabilities for health sector to increase the recovery cases. This means a decrease in the numbers of inpatient and death cases. • y(t) represents increase the medical capabilities to decrease the death cases. This means an increase in the rates of inpatient and recover cases. This strategy focuses on the critical cases. • Increasing the medical capabilities with the values of the two control variables are equal regardless of the signal. This means the number of inpatient cases stay without change. This strategy focuses on the all cases, so it represents the optimal strategy. Finally, the solution of the optimal control model depends on Eqs. (12-14, 17, 20-22) . The study deals with COVID-19 cases in five countries: Argentina, Hungary, Egypt, Malaysia and Iraq. Approximately 2750 confirmed cases in each country represent the study period. The study period begins from registering more than 100 cases in each country, so the length of the period is more than one month. Tables 1, 2, 3, 4 and 5 (see "Appendix") show the number of COVID-19 cases in countries and parameter values of the model (β, μ, N) by using Eq. (26) . Figure 1 shows the results of the three strategies and the actual case of injuries (x = y = 0) in Argentina. The length of the study period is 30 days from 128 to 2758 confirmed cases. From Fig. 1 , we can deduce that the number of inpatient of the third strategy (green line) is the same in the actual case (blue circle). Increase the 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 The number of paƟents death (ArgenƟna) Fig. 1 The results of the optimal control model (Argentina) medical capabilities affect only on the numbers of recovering and death with the same patients number. This means increased the recover cases by 0.2%, while a significant decrease the death cases (green area) by 0.861. A difference in percentages back to the big difference between the actual numbers of recovering and death cases. The first strategy leads to decrease the number of inpatient (red line) by 0.123. At the same time a significant increase the recovers cases and decrease the death cases (red area) by 0.187 and 0.073, respectively. The opposite case (the second strategy) leads to increase the number of inpatient (grey line) by 0.091 due to decrease the death cases. At the same time a slight increase the recover cases and a significant decrease the death cases (yellow area) by 0.057 and 0.856, respectively. Figure 2 shows the number of inpatient, recover and death cases in Hungary. The length of the study period is 39 days from 131 to 2727 confirmed cases. This means COVID-19 cases spreads in Argentina is faster than Hungary. From Fig. 2 , the number of cases a significant increase 17 days later of the beginning of the study period (April 7th). The third strategy leads to increase the recover cases and a significant decrease the death cases (green area) by 0.325 and 0.581, respectively. This means the most of the actual daily percentages of death are higher than 0.005 over the study period. The first strategy leads to decrease the number of inpatient (red line) by 0.162. At the same time increase the recover cases and decrease the death cases (red area) by 0.191 and 0.102, respectively. The low change percentage of the recovery cases represent the best health sector. Thus, the health sector in Argentina is better than in Hungary, according to the change percentage of the recovery cases. 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 The number of paƟents death (Hungary) Fig. 2 The results of the optimal control model (Hungary) Increase in the number of inpatient (grey line) by 0.173, according to the second strategy. At the same time a slight increase the recover cases and a significant decrease the death cases (yellow area) by 0.108 and 0.544, respectively. The high change percentage represents the best health sector in the case of death cases. Thus, the health sector in Argentina is better than in Hungary. Figure 3 shows the number of inpatient, recover and death cases in Egypt. The length of the study period is 33 days from 126 to 2673 confirmed cases. This means the ranking of countries, according to the speed of spreading of COVID-19 cases is Argentina, Egypt and Hungary. From Fig. 3 , the number of cases a significant increase 19 days later of the beginning of the study period (April 2th). Increase in the recover cases and a significant decrease the death cases (green area), according to the third strategy by 0.17 and 0.517, respectively. This means more than half of the actual daily percentages of death are higher than 0.005 over the study period. The first strategy leads to decrease the number of inpatient (red line) by 0.136. At the same time a slight increase the recovered cases and decrease the death cases (red area) by 0.079 and 0.088, respectively. The ranking of the countries is Egypt, Argentina, and Hungary, according to the change percentage of the recovery cases. Increase in the number of inpatient (grey line) by 0.141, according to the second strategy. At the same time a slight increase the recover cases and a significant decrease the death cases (yellow area) by 0.086 and 0.478, respectively. The ranking of the countries is Argentina, Hungary, and Egypt, according to the change percentage of the death cases. Figure 4 shows the number of inpatient, recover and death cases in Malaysia. 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 The number of paƟents death (Egypt) Fig. 3 The results of the optimal control model (Egypt) The length of the study period is 22 days from 129 to 2766 confirmed cases. This means the ranking of countries, according to the speed of spreading of COVID-19 cases is Malaysia, Argentina, Egypt and Hungary. From Fig. 4 , the number of cases a significant increase 6 days later of the beginning of the study period (March 15th). The number of death cases is zero, according to the second and third strategies. This means the actual daily percent of death are less than 0.005, while the increase in the recover cases by 0.08. The first strategy leads to decrease the number of inpatient (red line) by 0.087. At the same time a slight increase the recovered cases and decrease the death cases (red area) by 0.125 and 0.06, respectively. The ranking of the countries is Egypt, Malaysia, Argentina, and Hungary, according to the changing percent of the recovery cases. Increase in the number of inpatient (grey line) by 0.029, according to the second strategy. At the same time a slight increase the recover cases by 0.016 percent. The ranking of the countries is Malaysia, Argentina, Hungary, and Egypt, according to the changing percent of the death cases. Figure 5 shows the number of inpatients, recover and death cases in Iraq. The length of the study period is 55 days from 165 to 2767 confirmed cases. This means the ranking of countries is Malaysia, Argentina, Egypt, Hungary and Iraq, according to the speed of spreading. From Fig. 5 , the number of cases decreases 27 days later of the beginning of the study period (April 12th) and increase again 43 days later (April 28th). The third strategy leads to increase in the recover cases by 0.037%, while a significant decrease the death cases (green area) by 0.601. This means less than half of the actual daily percentages of death are higher than 0.005 over the study period. The first strategy leads to decrease the number of inpatient (red line) by 0.229. At the same time a slight decrease in the recover and death cases (red area) by 0.066 and 0.087%, respectively. Increase in the number of inpatient (grey line) by 0.146%, according to the second strategy. At the same time a slight increase the recover cases and a significant decrease the death cases (yellow area) by 0.092 and 0.59, respectively. Overall, the speed of COVID-19 spread depends on many factors, such as health awareness, tourism, modern technology using. The ranking of countries is Malaysia, Argentina, Egypt, Hungary and Iraq. For example, one of the reasons of the speed of spreading of COVID-19 cases in Malaysia is a gathering of thousands of people in one place on March 14. The ranking of the countries is Iraq, Egypt, Malaysia, Argentina, and Hungary, according to the first strategy (see Fig. 6 ). Meanwhile, Malaysia, Argentina, Iraq, Hungary, and Egypt, represents the ranking, according to the second strategy (see Fig. 7) . The important point is to determine the effect of developing the medical capabilities on the number of the recover and death cases. Figures 6, 7 and 8 represent a change of percentages of inpatient (I), recovery (R) and death (D), according to the change in control variable's value. From Fig. 6 , a small change in the recovery percent (green line) means better health sector (Iraq), and vice versa (Hungary). Meanwhile, a big change in the death percent (red line) means better health sector (Malaysia), and vice versa (Egypt) (see Fig. 7 . From Fig. 8 , there is no change in the percent of inpatients as a result to the values of the two control variables are equal regardless of the signal. The number of paƟents death (Iraq) Fig. 5 The results of the optimal control model (Iraq) We developed an optimal control model of COVID-19 pandemic spreading. The health sector performance in Argentina, Hungary, Egypt, Malaysia, and Iraq, was discussed. The explicit solution of the model using the Pontryagin maximum principle was derived. At first, we formulated an optimal control model to fit the real case of COVID-19 in the countries. Control variables x(t) and y(t) representing the percentage of change in the rates of recovering and death, respectively. Zero value of the control variables representing the actual data of COVID-19 cases. Then, changed the value of the control variables, according to the three strategies of the health sector development. Finally, we determined the ranking of countries based on the change in the recovering and death percent. It has been shown that speed of COVID-19 spreading (from 100 to 2750 cases) in Malaysia was the fastest with 22 days, and vice versa in Iraq with 55 days. The first strategy focused on increase the recovery cases by increase the medical capabilities by a specific percent. The ranking of the countries was Iraq, Egypt, Malaysia, Argentina, and Hungary. Meanwhile, the second strategy focused on reducing the death cases by increase the medical. The ranking was Malaysia, Argentina, Iraq, Hungary, and Egypt, according to the change percentage of the death cases. A change in the recovery and death cases without change in inpatient cases was the third strategy. Development the health sector by a specific percent (0.5%) led to reduce the death cases. Malaysia with the highest percent (100%) and Egypt with the lowest percent (48%). Meanwhile, 1.6% and 8.6% represented the increase in the recover cases in Malaysia and Egypt, respectively. Our model can apply in other countries to determine the health sector performance and development percent that its need. Also, with other factors, such as isolation and communications, that can affect on pandemic spreading. The datasets generated and/or analysed during the current study are available in the Active and effective measures for the care of patients with cancer during the COVID-19 spread in China Clinical characteristics and intrauterine vertical transmission potential of COVID-19 infection in nine pregnant women: a retrospective review of medical records Pathological findings of COVID-19 associated with acute respiratory distress syndrome Differences between COVID-19 and suspected then confirmed SARS-CoV-2-negative pneumonia: a retrospective study from a single center World Health Organization (2020) Coronavirus disease 2019 (COVID-19): situation report Correlation of chest CT and RT-PCR testing in coronavirus disease 2019 (COVID-19) in China: a report of 1014 cases Defining the epidemiology of Covid-19-studies needed Breakthrough: Chloroquine phosphate has shown apparent efficacy in treatment of COVID-19 associated pneumonia in clinical studies Clinical course and risk factors for mortality of adult inpatient with COVID-19 in Wuhan, China: a retrospective cohort study Optimal control for pandemic influenza: the role of limited antiviral treatment and isolation Optimal control of epidemics with limited resources Cholera epidemic in Haiti, 2010: using a transmission model to explain spatial spread of disease and identify optimal control interventions Vaccination models and optimal control strategies to dengue Cost-effectiveness analysis of optimal control measures for tuberculosis Optimal control for a tuberculosis model with undetected cases in Cameroon Transmission dynamics and optimal control of measles epidemics Mathematical modelling, simulation, and optimal control of the 2014 Ebola outbreak in West Africa Dynamics and optimal control of Ebola transmission Optimal control analysis of a tuberculosis model World Health Organization (2020) Coronavirus disease 2019 (COVID-19): situation report World Health Organization (2020) Coronavirus disease 2019 (COVID-19): situation report World Health Organization (2020) Coronavirus disease 2019 (COVID-19): situation report World Health Organization (2020) Coronavirus disease 2019 (COVID-19): situation report World Health Organization (2020) Coronavirus disease 2019 (COVID-19): situation report World Health Organization (2020) Coronavirus disease 2019 (COVID-19): situation report Optimal Control Theory Application to Management Science and Economics Acknowledgements Not Applicable. Funding Not Applicable. Conflict of interest The authors declare that they have no competing interests. See Tables 1, 2, 3, 4 and 5.