show constraints and objective of dual

31 views
Skip to first unread message

Gustavo Goretkin

unread,
May 10, 2014, 5:52:28 PM5/10/14
to yal...@googlegroups.com
I have auto-dualized my problem and gotten Fd and objd according to this tutorial. But how can I actually see the objective and constraints as opposed to just

>> Fd
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|   ID|      Constraint|                           Type|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|   #1|   Numeric value|          Matrix inequality 4x4|
|   #2|   Numeric value|   Element-wise inequality 12x1|
|   #3|   Numeric value|        Equality constraint 1x1|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++


and

>> objd
Linear scalar (real, 6 variables)


Thank you,
Gustavo

Johan Löfberg

unread,
May 11, 2014, 2:36:25 AM5/11/14
to yal...@googlegroups.com
What is it you want to see? The dualized model is simply data extracted from your model and the put into another form. You will not be able to see any nice symbolic form in any sense.

getbase(objd)
sdisplay
(objd)
getbase
(sdpvar(Fd(1)))
sdisplay
(sdpvar(Fd(1)))


Gustavo Goretkin

unread,
May 12, 2014, 10:19:00 PM5/12/14
to yal...@googlegroups.com
I was looking for the symbolic dual, but thank you for the answer.
Reply all
Reply to author
Forward
0 new messages