Optimization articles: worked examples, solved and checked
Worked examples, step by step; every number comes from a solver.
- How to know your linear program's answer is really the best (a product-mix example in Python)
2026-11-20 · Model a two-product factory as a linear program in cvxpy, solve it, and prove the answer optimal with the dual, step by step.
Try ProvenDecisions free: type, photograph or say an optimization problem; every answer is checked by a solver.
Refreshers
Short calculus refreshers in one, two and three variables: the ideas optimization uses (slopes, critical points, convexity, gradients, Hessians, Lagrange multipliers). Every number in them is computed, not typed.
History
Your sessions
Each visit is saved as one session file for your account (your problems, the answers and your questions to Hodos), kept for 30 days. Hodos re-reads the latest questions of the current session so you can ask follow-ups.
Your solves