# Exercises

On this page you will find exercise sets and solution proposals.

Sessions in week | Exercise set | Solution suggestion | MATLAB code |
---|---|---|---|

4 | Exercise 1 | Solution proposal | |

5 | Exercise 2 | Solution proposal | newton.m |

6 | Exercise 3 | Solution proposal | dogleg.m |

7 | Exercise 4 | Solution proposal | conjgrad.m |

8 | Exercise 5 (version 2) | Solution proposal | bfgs.m |

9 | Exercise 6 | Solution proposal | |

10 | Exercise 7 | Solution proposal | |

11-13, 16 | In these weeks the exercise sessions are dedicated to the project. | ||

17 | Exercise 8 (version 2) | Solution proposal |

Note that exercise 2b on sheet 4 is intended to be a bit more challenging than the other exercises. You need not be alarmed if you do not manage to solve it.

Exercise sheet 5 has been replaced by an updated version, which contains some hints on how to implement the Wolfe line search that is required for the BFGS method (the exercises are unchanged).

There have been some errors on exercise sheet 8 (problems 8 and 11), which have been corrected in version 2.