Choice of the best replacement for GA depends on the function (fitness function) you want to optimize. There are thousands of optimization methods. For example, if the function is differentiable, you can use gradient descent, or, if you're lucky, you can calculate the zeros of the derivative and only investigate these ones.