Borrar filtros
Borrar filtros

How to find global minimum of a schwefel function

31 visualizaciones (últimos 30 días)
Atinesh Singh
Atinesh Singh el 1 de Dic. de 2016
Comentada: Mohammad Basil el 16 de Abr. de 2021
I am trying to find the global minimum of a schwefel function which is 0 at [420.9687,..., 420.9687]. I have used 'fmincon', Particle swarm Optimization algorithm (I'm using my code for this approach) and some other evolutionary algorithms. But none of them is giving global minimum at 0, All are giving some large positive value. Can anybody tell me how can I find global minimum of the schwefel function.
function y = schwefel(x)
s = sum(-x.*sin(sqrt(abs(x))));
y = 418.9829*length(x) + s;
end
  1 comentario
Pedro
Pedro el 29 de Mzo. de 2020
Its a benchmark function, it has many local minima in a short space
So general purpose algorithms get stock in its multiple minima

Iniciar sesión para comentar.

Respuestas (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 29 de Mzo. de 2020
You can try optimization toolbox's fsolve nonlinear equation solver with "Trust region dogleg" algorithm.

amir ansari
amir ansari el 5 de Sept. de 2020
you can try cuckoo search on this problem, schwefel function is a hard function for optimizition algorithm even PSO..but cuckoo can solve it better... trust me!

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by