This is a simple toolbox with a use-friendly graphical interface, which is very suitable for those without high programming skills.
The parameters of the GWO algorithm can be easily defined in the toolbox.
The default name of the objective function is CostFunction. If you have a look at the CostFunction.m file, you may notice that the cost function gets the variables in a vector ([x1 x2 ... xn]) and returns the objective value. You can either write you objective function in this file or create a new file and pass its name to the toolbox. Remember to follow the same structure for input and output if you decided to go for the second option.
The lower bounds and upper bounds of variables should also be written as lb1,lb2,...,lbn and ub1,ub2,...,ubn. If all of the variables have equal lower and/or upper bounds you can just define lb and ub as two single number numbers: lb, ub.
Just run the GWO_toolbox.m file and enjoy!
The GWO algorithm can also be downloaded here:
http://www.mathworks.com.au/matlabcentral/fileexchange/44974-grey-wolf-optimizer--gwo-
This is the source codes of the paper:
S. Mirjalili, S. M. Mirjalili, A. Lewis, Grey Wolf Optimizer, Advances in Engineering Software, Volume 69, March 2014, Pages 46-61, ISSN 0965-9978, http://dx.doi.org/10.1016/j.advengsoft.2013.12.007.
More information can be found in: http://www.alimirjalili.com/GWO.html
Other relevant submissions: https://au.mathworks.com/matlabcentral/fileexchange/49772-grey-wolf-optimizer-for-training-multi-layer-perceptrons
I have a number of relevant courses in this area. You can enrol via the following links with 95% discount:
*******************************************************************************************************************************************
A course on “Optimization Problems and Algorithms: how to understand, formulation, and solve optimization problems”:
https://www.udemy.com/optimisation/?couponCode=MATHWORKSREF
A course on “Introduction to Genetic Algorithms: Theory and Applications”
https://www.udemy.com/geneticalgorithm/?couponCode=MATHWORKSREF
*******************************************************************************************************************************************
Seyedali Mirjalili (2021). Grey Wolf Optimizer Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/47258-grey-wolf-optimizer-toolbox), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
How can I load the convergence curve to base workspace please?
如何提取这个工具箱
how to extract the results of the toolbox to the workspace?
Sir,
how can I initialize a population for speed control of PMSM using GWO ?
Hi,
can anybody tell me how can put values GWO in mat-lab
Hi,
can anybody send IEEE-33 bus i want apply in GWO IEEE-69 bus system
Can you please explain how do you apply nonlinear constraints to the GWO?
Many thanks for an excellent algorithm, i want to use it in image segmentation, any help
Many thanks for an excellent algorithm, i want to use it in image segmentation, any help