Finding Global minimum of a function by using Powell's Method
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello all,
I want to find the global minimum of the function below, by using Powell's Method. Can you help me to create the code? Thanks!
f(x)= (36.5*x1^2)+(30*x1*x2)+(6.5*x2^2)-(89*x1)-(36*x2)
P.S= x1 and x2 in the function are unknown variables
0 comentarios
Respuestas (1)
Star Strider
el 25 de Dic. de 2020
According to the Wikipedia article, Powell’s method is a derivative-free approach to finding the local miniimum of a function. As with any other nonlinear parameter estimation algorithm, I suspect is is extremely sensitive to the initial parameter estimates. Likely the closest you can get to that using core MATLAB functions is the Nelder-Mead algorithm implimetation in the fminsearch function.
To find the global minimum. it is necessary to search the entire parameter space, and the most efficient algorithm for that (in my opinion, at least) is to use the Global Optiomization Toolbox ga (genetic algorithm) function. If your problelm is well-posed, ga will find the best parameter estimates, although with difficult problems, it may require a few runs with different random initial populations to converge on them.
0 comentarios
Ver también
Categorías
Más información sobre Develop Apps Using App Designer 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!