How to extract the dual variables of a SOCP problem using the command “dual”

93 views
Skip to first unread message

Changsen Feng

unread,
May 4, 2018, 10:26:25 AM5/4/18
to YALMIP
Hello, Professor
I program an SOCP problem in Yalmip environment and solve it by Cplex. I intend to invoke the command "dual" to directly extract the values of dual variables
However, it shows "NAN" regardless of the linear constraints or the SOC constraint.
I want to confirm whether the command 'dual" is not applicable when facing the SOCP problem or other quadratic constrained problem.
Thank you very much

Best wishes


Johan Löfberg

unread,
May 4, 2018, 10:28:17 AM5/4/18
to YALMIP

Changsen Feng

unread,
May 4, 2018, 11:06:10 AM5/4/18
to YALMIP
It works when using the operator cone.Thanks so much for you timely reply
Reply all
Reply to author
Forward
0 new messages