← All 44 Terms
4. Optimization, Dynamics & World Models
Read in Ch. 7: Optimization, Simulation & World Models →
Linear Programming (LP)
In One Sentence
A mathematical optimization method that finds the exact global best allocation of limited resources under linear constraints.
ELI5 (Intuition)
Instead of guessing and checking schedules by trial and error, LP is a super-calculator that solves the exact most profitable plan in milliseconds.
ELI18 (Technical)
Solves \[\max_{\mathbf{x}} \mathbf{c}^\top \mathbf{x} \quad \text{subject to } A\mathbf{x} \le \mathbf{b},\; \mathbf{x} \ge 0\] (and Mixed-Integer Linear Programming, MILP, when variables must be integers). Guarantees global optimality unlike heuristic RL.
In Practice
Google OR-Tools, Gurobi, and HiGHS power airline crew scheduling, delivery routing, cloud GPU bin-packing, and energy grid dispatch—and provide exact upper-bound baselines before you reach for RL.