The Feynman formula representations of the solutions to evolution equations on a ramified surface