The purpose of this talk is to survey some methods applicable to many problems arising in design of freeform mirrors and lenses.