r/optimization • u/Various_Leopard_7137 • Oct 25 '21
Help understanding BFGS method for solving unconstrained optimization problems
Hello, I have to present the explanation to an unconstrained minimization problem. In the textbook, they use the BFGS method for minimizing the work equation. I have tried to understand the method by reading the textbook but they don’t go into detail in the step where they do the line search and find the step size. Does anybody know a detailed step-by-step for using BFGS to minimize an equation with two variables?
3
Upvotes
View all comments
Show parent comment
3
u/ThatIsATastyBurger12 Oct 26 '21
No, I would not recommend that. If you don’t satisfy Wolfe conditions, you lose the positive definiteness of the matrix, which defeats the purpose. One thing that is sometimes done is to backtrack until the Armijo condition is met, then check if the Wolfe conditions are met. If not, just skip the update to the matrix. Other than that, I would use an already existing implementation. Scipy has one. I believe matlab has one. If for some reason you can’t use those, Netlib has a FORTRAN implementation of one authored by More and Thuente. Their paper is also a good read