Cody

Problem 493. Quasi-Newton Method for Unconstrained Minimization using BFGS Update

Write a function to find the values of a design variable vector, x, that minimizes an unconstrained scalar objective function, f, given a function handle to f and its gradient, a starting guess, x0, a gradient tolerance, TolGrad, and a maximum number of iterations, MaxIter, using the Quasi-Newton (Secant) Method. Initialize the Hessian approximation as an identity matrix. Update the Hessian matrix approximation using the BFGS update formula.

Solution Stats

37.74% Correct | 62.26% Incorrect
Last Solution submitted on Oct 24, 2019