A symplectic pseudospectral method for constrained time-delayed optimal control problems and its application to biological control problems. (2nd December 2021)