Numerical methods based on nonlinear programming Numerical methods mathematics