Fix for bug #22033, the inability to use other optimisation algorithms in the dispersion analysis.
This is reported at https://gna.org/bugs/?22033. As mentioned in comment #2, the solution is to
raise a RelaxError explaining that only 'simplex' optimisation is possible for the dispersion
analysis as the gradients are not derived and implemented in relax.