Sensitivity Analysis and Real-Time Optimization of Parametric Nonlinear Programming Problems