non linear optimization with fmincon

1 次查看(过去 30 天)
Hi, I am solving a nonlinear optimization problem: Xop=fmincon(@ident1,[0.1;0.1],[],[],[],[],[1 1],[50 5]); problem.options =optimset('Display','iter-detailed'); I found Xop= 2.6147 1.0000 I don't understand why the second value of Xop don't change although i change the upper value. If upper value is 0.5 Xop(2)=0.5 Can you help me? thanks
  11 个评论
Anoire BEN JDIDIA
Anoire BEN JDIDIA 2016-11-2
if i try : problem.options = optimset('Display','iter-detailed','Algorithm','SQP','PlotFcn',@optimplotx);
[xop, ~, exitflag] = fmincon(@ident1,[3;3],[],[],[],[],[1 2.5],[100 100],[],problem.options); i found xop =
3.1273
2.5000
Alexandra Harkai
Alexandra Harkai 2016-11-2
I don't know all the parameters you are using for your optimisation, but regardless, the best advice I can give is to look at all the previous questions above and try to find out how your optimisation behaves. Check the iteration process, not just the final result. Check the linked MATLAB Documentation here too.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Least Squares 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by