Does the use of loop and vectorized operations have an effect on the modeling and solving speed in Yalmip?
22 views
Skip to first unread message
llL o0O
unread,
Aug 8, 2023, 11:31:49 PM8/8/23
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
Is the modeling and solving speed the same for loop and vectorized operations when writing constraint conditions using Yalmip+Matlab?
Saeed
unread,
Aug 9, 2023, 12:38:10 AM8/9/23
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
I know that for-loops can have considerable effect on the speed. By mitigating the number of for-loops, reforming them without using the loops, we can speed-up the running process.
Johan Löfberg
unread,
Aug 14, 2023, 4:48:17 AM8/14/23
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
Yes
llL o0O
unread,
Aug 14, 2023, 4:49:11 AM8/14/23
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