-
-
Notifications
You must be signed in to change notification settings - Fork 111
Grey Wolf Optimization
Leo Hanisch edited this page Nov 9, 2020
·
2 revisions
The Grey Wolf Optimization (GWO) algorithm was proposed by S. Mirjalili et al. in the paper Grey Wolf Optimizer. The paper proposed a novel algorithm based on the hunting and the hierarchy structure in grey wolves
Enables the GWO algorithm to one of the provided 2D functions. The algorithm tries to find the global minimum of the selected function. Any of landscapes' 2D or nD functions can be selected.
The plot indicates the alpha, beta and delta wolves by the following colors:
- Alpha: green
- Beta: yellow
- Delta: brown
To print all available options execute:
swarm wolves -h
In addition to the cli you can also use the API:
from swarmlib import GWOProblem, FUNCTIONS
problem = GWOProblem(wolves=10, function=FUNCTIONS['michalewicz'])
best_wolf = problem.solve()
problem.replay()
Created with ❤️ by HaaLeo and contributors.