Groups
Groups
Sign in
Groups
Groups
YALMIP
Conversations
Labels
About
Send feedback
Help
Bug/performance issue report ?
17 views
enhancement
performance
sparse
Skip to first unread message
Olivier Mégel
unread,
May 11, 2015, 5:52:43 AM
5/11/15
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 yal...@googlegroups.com
Hi Johan,
I just noticed a small issue in YALMIP that can affect the speed of the tool:
in "categorizeproblem.m", on line 414, replacing
if
all
(
Q
>=
0
)
by
if
all
(
nonzeros
(
Q
)>=
0
)
can greatly reduce the computation time for large Q matrix, since Q is usually quite sparse.
Best,
Olivier
Johan Löfberg
unread,
May 11, 2015, 7:00:54 AM
5/11/15
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 yal...@googlegroups.com
Ouch, that was one horrible piece of code. Thank you for alerting me.
Reply all
Reply to author
Forward
0 new messages