Reputation: 187
How can I set (and see the default) maximum number of iteration in CVX? I want to set a smaller number of iterations to make my algorithm faster. Also is there any way I can set the convergence threshold?
Any help is highly appreciated.
Upvotes: 0
Views: 1892
Reputation: 301
To set number of iteration of solver use cvx_slvitr
instruction and for convergence threshold, I think, setting the tolerance level achieved by the solver with cvx_slvtol
would work.
For more details refer to CVX manual at:
http://cvxr.com/cvx/doc/solver.html
Upvotes: 2