Exercise · ZW-LINE-SEARCH-009 · ★★★ Advanced
With \(f(x)=x^2\), \(x_k=2\), \(p_k=-4\), \(c_1=0.25\), \(\rho=0.5\) and starting at \(\alpha=1\), which step does backtracking accept?
Choose one option.
Show answer
- B. \(\alpha=\tfrac12\)
Exercise · ZW-LINE-SEARCH-009 · ★★★ Advanced
Choose one option.
With \(\alpha=1\) the point is \(-2\), with \(f=4\), and the bound is \(0\), so it fails. With \(\alpha=\tfrac12\) the point is \(0\), with \(f=0\) against a bound of \(2\), so it holds. Steps of \(2\) and \(\tfrac32\) are never reached, since backtracking has already stopped.
Line search is a procedure that chooses the step size \(\alpha\) along a descent direction \(p_k\) to reduce the value of the objective function.