New Random Search Method for Global Optimization by Using Gradient Information