CVX in a for loop

Uncategorized
Jan 5, 2019
M

I am using CVX to solve a sequence of large-scale problems whose feasible sets are identical to each other. Currently, I use a for loop over the entire problems which is computationally inefficient. Does anyone know a better practical way so that I can form the problem once and then use it in every iteration of the for loop?

M

That is not possible in CVX, which was designed to save human modeling and programming time, not for computational efficiency (speed) n situations such as yours.

M
Replying to #2

Thank you so much for your quick response.