How to easily return extra data from fmincon?

13 views
Skip to first unread message

Lun Yang

unread,
Sep 7, 2018, 1:50:28 PM9/7/18
to YALMIP
Dear professor Löfberg:

I am trying to use Yalmip with fmincon. It seems there are options to return several internal data from fmincon, such as lambda, grad, hessian, etc. Is there an easy way to do this in Yalmip? Please see the syntax for fmincon below, and here is the doc from Mathworks on fmincon, https://www.mathworks.com/help/optim/ug/fmincon.html

[x,fval,exitflag,output,lambda,grad,hessian] = fmincon(___);

Thank you very much.

Best,
Lun Yang

Johan Löfberg

unread,
Sep 7, 2018, 2:52:59 PM9/7/18
to YALMIP
Reply all
Reply to author
Forward
0 new messages