Stanford University: Keith Schwarz's "Code Optimization", "Global Optimization", and "Global Optimization II"

Read these pages, which cover the material in more detail and present it in a unified formal way using semilattices.