non linear optimization with fmincon

1 view (last 30 days)
Anoire BEN JDIDIA
Anoire BEN JDIDIA on 2 Nov 2016
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 Comments
Anoire BEN JDIDIA
Anoire BEN JDIDIA on 2 Nov 2016
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 on 2 Nov 2016
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.

Sign in to comment.

Answers (0)

Categories

Find more on Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!