non linear optimization golden section search nonlinear optimization newton method and penalty function for optimizting constrained nonlinear optimization