The major goal of this study is to create an optimal technique for managing COVID-19 spread by transforming the SEIQR model into a dynamic (multistage) programming problem with continuous and discrete time-varying transmission rates as optimizing variables. We have developed control discrete-time, deterministic susceptible class (S), exposed (E), infected (I), quarantined (Q), recovered (R) epi...