Azzera filtri
Azzera filtri

How does fminsearch generate initial simplex ?

2 visualizzazioni (ultimi 30 giorni)
Pragya Srivastava
Pragya Srivastava il 10 Mag 2017
Risposto: Alan Weiss il 10 Mag 2017
Hi, I want to understand how fminsearch generates its initial simplex with n+1 vertices, given the initial choice of parameters specified by user. For example : if I have to minimise and function f(p) where p=[p1,p2], and I supply an initial p0=[p1in p2in], then fminsearch should first generate a set of 3, 2-d points for simplex method. two of these points can be [p1in 0] and [0 p2in], but how is the third point constructed ?
Also, as a reverse problem, how are the final vertices of (n+1)-dim simplex converted to the values of optimum [p1_opt,p2_opt]. Does fminsearch takes some projection of final vertices along the parameter axes ?
  1 Commento
Pragya Srivastava
Pragya Srivastava il 10 Mag 2017
If I understand the algorithm correctly, then is the 3rd point of simplex gives by [p1+0.05*p1,p2+0.05*p2] ?

Accedi per commentare.

Risposte (1)

Alan Weiss
Alan Weiss il 10 Mag 2017
The initialization is given in the fminsearch algorithm description.
Alan Weiss
MATLAB mathematical toolbox documentation

Categorie

Scopri di più su Get Started with Optimization Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by