Exercises
On this page you will find exercise sets and solution proposals.
Note that the exercises are optional and should not be handed in. I do, however, recommend to try to solve them, because they will be part of the pensum.
Sessions in week | Exercise set | Solution suggestion | MATLAB code |
---|---|---|---|
3 | Exercise 1 | Solution Exercise 1 | |
4 | Exercise 2 | Solution Exercise 2 | graddesc.mnewton.m |
5 | Exercise 3 | Solution Exercise 3 | conjgrad.m |
6 | Exercise 41) | Solution Exercise 4 | bfgs.m |
8 | Exercise 5 | Solution Exercise 5 | |
16 | Exercise 6 | Solution Exercise 6 |
1)
Corrected on February 11: there has been an error in the description of the algorithm for satisfying the Wolfe conditions.