CONCEPT
The Simplex Method
George Dantzig's 1947 algorithm for solving linear programs—walking the edges of a convex polytope from corner to corner until no improvement is possible, and certifying, through duality, that the answer cannot be beaten.
The simplex method is the algorithm that taught the world to optimize constrained systems with proof, and it is the direct ancestor of every optimizer that trains an AI model today. Dantzig's insight was geometric: the set of all plans satisfying a collection of linear constraints forms a convex polytope—a many-faceted jewel floating in high-dimensional space—and the best plan (measured by a linear objective) always sits at one of its corners. The method starts at any corner and walks along edges, moving only to adjacent corners that improve the objective, until no improving neighbor remains. Because the polytope is convex—the landscape has one peak, not many—this local greedy rule is globally safe: when you cannot improve further, you have reached the true optimum. The proof is supplied by duality: a complementary problem whose value bounds the original from above, and when the two values meet, the gap closes and the certificate is complete. No better answer can exist, and the
Keep reading with YOU ON AI
Unlock the full book, 10,000+ field-guide entries, and a 1000+ thinker library. If you have a book code, register now — it takes a minute.