Hello there!
It is a sad thing when people dump their pets. What you could do to try and get him to eat is heat up some soft canned food, maybe add some nutra cal to it for extra vitamins. A trip to the vet is a good idea because you dont know why he was dumped..maybe he was found to have something and the people couldnt be bothered with him.
Missy