“…Next, we will use the Pontryagin’s Maximum Principle [60] to derive the necessary conditions for the optimal control function, transform the optimal control problem into a Hamiltonian function minimization problem. The Hamiltonian is written as where , is a comorphic variable associated with , and .…”