Probably the most important characteristic is the nature of the objective function. A function is linear if the relationship between and the control variables is of the form
where is a constant-valued vector and c is a constant; a function is quadratic if
where is a constant-valued matrix. Special methods can locate the optimal solution very efficiently for linear and quadratic functions, for example.