필터 지우기
필터 지우기

How does fminsearch generate initial simplex ?

조회 수: 2 (최근 30일)
Pragya Srivastava
Pragya Srivastava 2017년 5월 10일
답변: Alan Weiss 2017년 5월 10일
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
Pragya Srivastava
Pragya Srivastava 2017년 5월 10일
If I understand the algorithm correctly, then is the 3rd point of simplex gives by [p1+0.05*p1,p2+0.05*p2] ?

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

답변 (1개)

Alan Weiss
Alan Weiss 2017년 5월 10일
The initialization is given in the fminsearch algorithm description.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by