If you need a powerful metaheuristic algorithm for solving any kind of your problem, you can use Stochastic Fractal Search algorithm. For more information please visit the article from below link, or requesting from me:
www.sciencedirect.com/science/article/pii/S0950705114002822
You can download the code from below link:
http://www.mathworks.com/matlabcentral/fileexchange/47565-stochastic-fractal-search--sfs-