Understanding scipy.minimize part 2: Line search

A visualization of how the line search algorithm from scipy.minimize works. Animations are made with the manimce library. Part 1 is here:    • Understanding scipy.minimize part 1: The B...   00:00 Introduction 0:50 Line Search 2:22 Wolfe Conditions 4:35 Line Search Algorithm 6:38 Zoom Step 9:43 Second Example 10:20 Putting it all together Sources: Code from scipy.optimize.line_search Nocedal & Wright: Numerical Optimization, Ch. 3.