- Explain what makes nonlinear optimization different from LP (nonlinearity, local minima/maxima, algorithm variety).
- Apply 1D direct search methods for unimodal functions:
- Dichotomous method
- Golden section method
- State how fast each method shrinks the uncertainty interval and how iteration counts relate to tolerance.
- Describe (and compute one step of) the gradient (steepest ascent/descent) method with line search.
- In 1D unimodal problems, optimization can be reduced to shrinking an interval containing the optimum.
- Golden section is efficient because it reuses function evaluations.
- In multi-D, “follow the gradient” is natural, but step size matters a lot.
Given a unimodal objective over
Pick two close points around the midpoint:
$$
x_L = \frac{x_u + x_l}{2} - \Delta,\quad
x_R = \frac{x_u + x_l}{2} + \Delta.
$$
Compare
Choose points using the golden ratio factor
Iterate:
$$
X^{(k+1)} = X^{(k)} + r^{(k)} \nabla f(X^{(k)})
$$
(for ascent; use minus for descent), where
Stopping rule in the lecture:
- Gradient becomes (approximately) zero, or changes become negligible.
- Start with an interval
$[a,b]$ that contains the optimum (assumed unimodal). - Evaluate at
$x_L, x_R$ (dichotomous) or golden-section points. - Shrink the interval based on which evaluation is better.
- Repeat until interval length ≤ tolerance
$\epsilon$ .
- Pick initial point
$X^{(0)}$ . - Compute gradient
$\nabla f(X^{(k)})$ . - Solve a 1D line search for
$r^{(k)}$ along that direction. - Update
$X^{(k+1)}$ . - Stop when
$|\nabla f(X^{(k)})|$ is small (necessary condition).
Lecture 10 gives a worked comparison on a 1D polynomial example, showing how the interval shrinks and how golden section reuses evaluations.
Lab10.md works through several iterations of:
- dichotomous method for different
$M$ (called$M$ in the sheet), - golden section iterations, and includes interval-based error bounds.
Not found in provided materials: Lab10.md is cut off mid-way through a later computation (the final estimate line is incomplete).
Lecture 10 provides a multi-variable polynomial example and shows:
- computing
$\nabla f$ , - updating
$X$ using$r^{(k)}$ obtained from maximizing$h(r)$ , - iterating toward a stationary point.
- Using direct search on a function that is not unimodal over the chosen interval.
- Mixing up “maximize” vs “minimize” when comparing
$f(x_L)$ and$f(x_R)$ . - Incorrect golden-section point placement (the whole point is the reuse property).
- In gradient methods: picking a step size without a line search and overshooting badly.
- Concluding optimality from
$\nabla f \approx 0$ without checking whether it’s max/min/saddle (Hessian logic from Weeks 8–9).
- 1D unimodal optimization: shrink an interval (dichotomous/golden section).
- Multi-D unconstrained optimization: follow the gradient, but choose step size carefully.
- Perform 2–4 iterations of dichotomous or golden section for a 1D problem.
- Compute how many iterations are needed for a target
$\epsilon$ . - Do one gradient step with a line search direction and compute the update.
- Explain why golden section is more evaluation-efficient than naive bisection-like methods.
- I can run the interval update rules without sign mistakes.
- I can state the golden ratio factor and how it shrinks the interval.
- I can compute
$\nabla f$ and write a gradient-method update with line search.
- F25 - Intro to Opt -Lecture_10 - NonLinear Programming (1).md
- Lab10.md (note: truncated near the end)