Visualization of nonlinear optimization algorithms for teaching

I am looking for example code / notebooks that help visualize algorithm iterations for teaching purposes. I am looking for standard nonlinear optimization stuff (like plotting contour lines of nonlinear function in R^2, iterates of gradient descent…). Do you have any pointers ?

Check these out:

https://github.com/sisl/algforopt-notebooks
https://github.com/sisl/aa222-notebook

The first is code directly associated with the textbook Algorithms for Optimization by Prof. Mykel Kochenderfer and Dr. Tim Wheeler, and the second is supplemental material for the course taught using said textbook.

4 Likes

Thanks for the pointer, it seems great ressource !

However it seems to be for julia 0.4 and rely on a specific / private package, so I’m still open for other ressources.

says “All notebooks have Julia 1.0.1 kernels”

1 Like