Algorithms for path optimizations: a short survey