You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YALMIP
Dear all,
Now I am using Yalmip to model a SOCP model. When I use the Cplex solver to solve the model, Yalmip seems takes a very long time to deal with the model. For example, the solver time is about 1s, but Yalmip takes about 30s to deal with the model. What is the reason? How to improve speed? I would appreciate it very much if you could help me with this problem.
Best regards,
Shuai
Johan Löfberg
unread,
Sep 2, 2019, 6:48:15 AM9/2/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YALMIP
Answer depends on how you define the model
using norm is much faster than using quadratics
using cone is much faster than using norm
using vectorized cone is much faster than single cones
Shuai Lu
unread,
Sep 2, 2019, 9:50:53 PM9/2/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YALMIP
Thank you very much! Can I set up Yalmip without preprocessing? For example, directly inputing the model into the solver. Instead of judging whether it is convex.