The "Current Function Value" plot ?

조회 수: 2 (최근 30일)
amine&&
amine&& 2016년 7월 10일
댓글: amine&& 2016년 7월 11일
Hello, How can i get "current function value" giving by Optimization tool using only the command line?
Thanks !

채택된 답변

Walter Roberson
Walter Roberson 2016년 7월 11일
Construct an options structure that includes PlotFcn and give an option value of @optimplotfval . The options structure can be constructed using the new optimoptions or the older optimset .
The options structure must be passed as the 10th parameter to fmincon(), so if you do not need some of the parameters, pass [] in their place.
  댓글 수: 3
Walter Roberson
Walter Roberson 2016년 7월 11일
That looks okay.
amine&&
amine&& 2016년 7월 11일
Thanks for your efforts Roberson.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surrogate Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by