The "Current Function Value" plot ?

2 次查看(过去 30 天)
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 个评论
amine&&
amine&& 2016-7-11
Thanks for your efforts Roberson.

请先登录,再进行评论。

更多回答(0 个)

类别

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