pset 4 solutions

This commit is contained in:
Steven G. Johnson 2023-04-08 18:11:45 -04:00
parent da64ac497b
commit b0649a5e44
2 changed files with 710 additions and 1 deletions

View File

@ -290,7 +290,7 @@ Described the KKT conditions for a (local) optimum/extremum (Boyd, section 5.5.3
* Quick review of augmented Lagrangians and ADMM from last lecture. Indicator function example from section III.4.
* CCSA interior-point algorithm
* pset 4 solutions: coming soon
* [pset 4 solutions](psets/pset4sol.ipynb)
* pset 5: coming soon, due 4/21
Went over very different example of a nonlinear optimization scheme, solving a fairly general inequality-constrained nonlinear-programming problem: the CCSA algorithm(s), as described by Svanberg (2002). This is a surprisingly simple algorithm (the [NLopt](http://ab-initio.mit.edu/nlopt) implementation is only 300 lines of C code), but is robust and provably convergent, and illustrates a number of important ideas in optimization: optimizing an approximation to update the parameters **x**, guarding the approximation with trust regions and penalty terms, and optimizing via the dual function (Lagrange multipliers). Like many optimization algorithms, the general ideas are very straightforward, but getting the details right can be delicate!

709
psets/pset4sol.ipynb Normal file

File diff suppressed because one or more lines are too long