Perturbation Analysis of Optimization Problems