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
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
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
to YALMIP
Yes

llL o0O

unread,
Aug 14, 2023, 4:49:11 AM8/14/23
to YALMIP
Thx, glad to see you back
Reply all
Reply to author
Forward
0 new messages