Numerical Methods in Extremal Problems