output command of fimcon

1 次查看(过去 30 天)
kintali narendra
kintali narendra 2012-5-10
x0=[6.7441;27.7461;0.0063;0.1461;0.7874];
options=optimset('Algorithm','active-set');
[x,fval,exitflag,output,lambda,grad,hessian]=fmincon(@myfun,x0,[],[],[],[],[],[],@confun,options)
dear friend these are the commands i have given in 'command window' of matlab,but i am unable to get the right answer. in 'myfun.m' i wrote the main function. in 'confun.m' i wrote my constraints. i used all the algorithms available in fmincon programming.
  1 个评论
Oleg Komarov
Oleg Komarov 2012-5-10
You didn't ask any question. Also, how do we know what the right answer should be?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Solver Outputs and Iterative Display 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by