Text this: Probability Theory and Combinatorial Optimization