Optimization, collection of mathematical principles and methods used for solving quantitative problems. Optimization problems typically have three fundamental elements: a quantity to be maximized or minimized, a collection of variables, and a set of constraints that restrict the variables.