Problems of Optimization and Numerical Stability in Computations