Sudarshan, Try Dijkstra's algorithm for shortest path. Follow this link. Also find the other shortest path methods given at the end of the page.

http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm