Using export with non-installed solver

17 views
Skip to first unread message

Gian U.

unread,
Jul 28, 2016, 6:52:53 AM7/28/16
to YALMIP
Hi,

I would like to use YALMIP's export function to generate QP matrices that are then processed further by my own algorithm. At the moment, I specify '+quadprog' as solver. This works fine as long as quadprog is installed on the system. Otherwise, YALMIP complains that it didn't find the solver. Can I somehow suppress this error message? I don't care if quadprog is installed, since I don't use it to solve the generated QP, I'm just interested in the matrices generated by YALMIP.

Thank you in advance for any help.

Gian

Johan Löfberg

unread,
Jul 28, 2016, 6:56:11 AM7/28/16
to YALMIP
I think export(model,objective,ops,[],[],1) will work

Gian U.

unread,
Jul 28, 2016, 7:34:28 AM7/28/16
to YALMIP
Thanks! That works a treat.
Reply all
Reply to author
Forward
0 new messages