A general formalism for compensating accelerator lattice functions is described. It is applied to the special cases of orbit smoothing, tune adjustment, beta function compensation, local and global decoupling, and vertical dispersion suppression. Some of these algorithms are implemented, and have performed robustly, in the thin element modeling code TEAPOT, analyzing the SSC circular accelerators, sometimes with a few beam‐position monotors assumed to be malfunctioning.