Stochastic, Global, and Integer Optimization

When the function is wiggly, the variables are discrete, or the search space is huge: random walks that sample, meta-heuristics that explore, and branch-and-bound that prunes.

Part 1

Sampling & MCMC

Metropolis-Hastings on the Rosenbrock function. Trajectory, autocorrelation, and the slide from sampling into simulated annealing.

Start here →
Part 2

Global & Meta-heuristics

Genetic algorithms, ant colony, simulated annealing as "structured random exploration." A skeptical look at what these actually buy you.

Explore →
Part 3

Integer Programming

LP relaxation as a lower bound. Branch-and-bound on a 2-variable problem, pruning rules, and Gomory cuts that tighten the relaxation.

Discover →
CS 520 · Spring 2026