Optimal Morse – Smale flows with singularities on the boundary of surface (Neliniini Kolyvannya, 2018)