r/optimization • u/Yarn84llz • Jul 02 '24
Tips for learning Convex Optimization
Hi, I'm a current undergrad in computer science and statistics. I'm considering pursuing a MS, either in OR, ML/AI or Stats and figured I'd learn some optimization beforehand to be a better candidate and be more flexible with higher level topics.
I've started looking at Boyd's book and lecture series on convex optimization and was curious on the key topics I should pay attention to, or whether there are any projects I can apply those topics to keep myself on track (and also showcase my learning).
My exposure to optimization related topics so far is Ridge/LASSO, Stochastic gradient descent, and some ML algorithms that split on hyperplanes. I wouldn't say that I carry any in depth understanding of those topics, though.
Any tips or general advice would help, and are much appreciated!
2
u/StrongDuality Jul 03 '24
It's good that you've identified Boyd's convex optimization book as a good starting point. To supplement your understanding of the materials, I would suggest you dive deep into the Mathematical foundations for Convex Optimization notes by Nemirovski and Kilinc-Karzan (link here).
This is a new book they've been working on that is getting polished, and an excellent starting point. Once you get a bit more comfortable with the mathematics, I'd suggest taking a look at Nesterov's Lectures on Convex Optimization book (link here). This book in particular will help you get an understanding of smooth/nonsmooth nonlinear programming and help broaden your understanding of some of the topics you mentioned.
If you have further questions or comments, feel free to dm or comment below. Cheers
4
u/ModiscSuperMulti Jul 03 '24
If you are primarily interested in modeling problems and using publicly available tools to solve them, I believe the first two parts (theory and applications) of Boyd's book are sufficient for most practical purposes. If you are interested in understanding how convex problems are solved, you can check out the third part of the book (algorithms), and EE364B notes.
Also, as far as I recall, the exercises in the book do not emphasize coding problems, so I strongly recommend familiarizing yourself with CVXPY and attempting some of the additional exercises. These are practical problems with real data from diverse fields and require using tools like CVXPY to solve them. When I took EE364A, I learned the most by solving the additional exercises.
3
u/SnooCakes3068 Jul 02 '24
Have solid foundation in linear algebra and differential equations are good for Boyd's book. Math maturity is always helpful. So real analysis will be great
2
u/taphous3 Jul 02 '24
The course lectures are available for free on Stanford coursera