The frequency range in BA algorithm [Qmin, Qmax] is based on your problem and the scaling. You can often obtain better values by the sensitivity analysis. check different ranges or maybe use just the default settings. Check the attached MATLAB codes, it can be helpful as well.