Live data from Hacker News

Ask HN: Literature for mathematical optimization?

news.ycombinator.com

21–30 of 39 posts

Re: Ask HN: Literature for mathematical optimization?

#21
post #2

For theoretical continuous/nonlinear/convex optimization, your #1 is the bible, together with "Convex Optimization" by Boyd & Vandenberghe. However, beware that both are grad textbooks. They can be tough going at times. Unfortunately, I never found undergrad textbooks I liked much, for theory. If you're interested in discrete optimization too (the other half of math optimization), the classics are: "Optimization Over…

Not sure what you mean by the bible?

Sorry, I meant that those two books seem to be "classics" that are often used as references in graduate courses.

Re: Ask HN: Literature for mathematical optimization?

#22
So for medium to non-technical people reading this, I took a course in grad school that showed me how to do this in Excel with solver.

It was easily one of the top 3 courses I took and heavily based off of this text book:

https://www.amazon.com/Spreadsheet-Modeling-Decision-Analysi...

Re: Ask HN: Literature for mathematical optimization?

#23
https://www.amazon.com/Model-Building-Mathematical-Programmi...

This is the canonical introduction book recommended by Gurobi. I've found it to be great for those getting into the subject. It has math of course, but the focus is on going over the basics of LP, integer, nonlinear, Mixed-Integer...etc, followed by lots of examples. I think it's the best book to start with to get a feel for the subject of OR, before diving into the harder books.

Re: Ask HN: Literature for mathematical optimization?

#24
Sounds like you're looking more for optimization theory, but if you want a gentle introduction to applications with approachable math and lots of examples, I highly recommend "Operations Research: Applications and Algorithms (4E)" by Wayne Winston. It's a solid undergrad level text covering basic linear optimization, mixed integer linear programs, and non-linear optimization.

Re: Ask HN: Literature for mathematical optimization?

#25
post #22

So for medium to non-technical people reading this, I took a course in grad school that showed me how to do this in Excel with solver. It was easily one of the top 3 courses I took and heavily based off of this text book: https://www.amazon.com/Spreadsheet-Modeling-Decision-Analysi...

There are many programming libraries that would be better than Excel, e.g. scipy implements quite a few algorithms very accessibly, but that's not what OP is looking for.

Re: Ask HN: Literature for mathematical optimization?

#26

Mathematical Optimization still has many subfields that can be of interest. I guess that non-linear mathematical optimization is most more typical for many machine learning applications. Many pratical applications in scheduling, logistics, planning etc used linear (integer) programming and combinatorial optimization. The following are some points towards that body of literature. Alexander Schrijver [1] has lecture no…

Papadimitriou was not Gates's MSc thesis supervisor. Gates never did an MSc (nor indeed completed his BSc -- he dropped out of college to found some computer company or other).

What did happen is that Papadimitriou and Gates were co-authors of a paper about pancake sorting. (https://en.wikipedia.org/wiki/Pancake_sorting)

Re: Ask HN: Literature for mathematical optimization?

#27

Nocedal and Wright is good. +1 also to the suggestions for Boyd and Vandenberghe. I really like Boyd's writing in general; he has coauthored some good review articles on proximal algorithms and ADMM. A couple of other suggestions: Nesterov's Introductory Lectures on Convex Optimization . This one is pretty tough sledding, but I found the perspectives in the first chapter particularly to be enlightening. It seems like…

Convex analysis by Rockafellar is pretty hard for a beginner. It's a research monograph. I would recommend "Fundamentals of convex analysis" by Hiriart-Urruty & Lemaréchal

Re: Ask HN: Literature for mathematical optimization?

#28
Nocedal and Wright is an excellent overview and a good starting point. Also consider:

- R. Schneider, Convex bodies: the Brunn-Minkowski theory. The first two chapters are an excellent introduction to convex geometry (plus a little bit extra!) if you have some undergrad-level analysis.

- Hiriart-Urruty and Lemarechal, Fundamentals of convex analysis. This book has been highly recommended to me but I've never used it. Might be an easier go than Schneider for convex geometry.

- Golub and van Loan, Matrix computations. Excellent book on numerical linear algebra.

- Bonnans, Gilbert, Lemarechal, Sagastizabal, Numerical optimization: theoretical and practical aspects. This book has a detailed description of bundle methods, which are important and in my opinion underutilised.

- I. Maros, Computational techniques of the simplex method. This is the only book I'm aware of that discusses how to build a working implementation of the simplex method for linear optimisation.

I'm not aware of any books that cover line search algorithms in detail. These are important in implementations but, beyond discussing the Goldstein and Wolfe conditions, generally glossed over in prose. Even in the absence of stalling and numerical difficulties, you can see an order of magnitude speedup from replacing a bad line search with a good one. One line search algorithm I've had success with is described in More and Thuente, Line search algorithms with guaranteed sufficient decrease.

Lots of tacit engineering knowledge goes into building a fast and robust optimisation code. Some of that knowledge gets forgotten when code is rewritten or ported from one language to another.

Mercifully, a lot of that engineering knowledge has been encoded into freely-available optimisation code. Quite a bit of that code is pretty readable. Off the top of my head, I've learnt things from:

- Liu and Nocedal's Fortran L-BFGS implementation,

- The CUTEst problem collection,

- Chih-Jen Lin's LIBLINEAR and LIBSVM,

- Lin and More's TRON,

- Csaba Meszaros's BPMPD,

- Jacek Gondzio's HOPDM,

- The GNU Linear Programming Kit,

- and probably quite a few other sources!

Re: Ask HN: Literature for mathematical optimization?

#29
post #21

Earlier quoted context omitted.

Not sure what you mean by the bible?

Sorry, I meant that those two books seem to be "classics" that are often used as references in graduate courses.

I'm confused, did you maybe not list one of the ones you were thinking of? In your original post you just list Convex Optimization and then two books on discrete optimization. I'd be very curious to know what the other one you're referring to alongside Convex Optimization.

Re: Ask HN: Literature for mathematical optimization?

#30
post #21

Earlier quoted context omitted.

Sorry, I meant that those two books seem to be "classics" that are often used as references in graduate courses.

I'm confused, did you maybe not list one of the ones you were thinking of? In your original post you just list Convex Optimization and then two books on discrete optimization. I'd be very curious to know what the other one you're referring to alongside Convex Optimization.

He said "your #1", making reference to the first book in OPs list: "Numerical Optimization" by Jorge Nocedal and Stephen J. Wright.

It's pretty fun to read.

Post reply on HN