How to find global minimum of a schwefel function

조회 수: 29 (최근 30일)
Atinesh Singh
Atinesh Singh 2016년 12월 1일
댓글: Asi angel 2021년 4월 16일
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
Pedro
Pedro 2020년 3월 29일
Its a benchmark function, it has many local minima in a short space
So general purpose algorithms get stock in its multiple minima

댓글을 달려면 로그인하십시오.

답변 (2개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2020년 3월 29일
You can try optimization toolbox's fsolve nonlinear equation solver with "Trust region dogleg" algorithm.

amir ansari
amir ansari 2020년 9월 5일
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!

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by