One fundamental question

Is it correct to compare CVX and another methods for solving one problem ( with only matlab not using CVX) in a computational manner?
It is unclear for me that some body says CVX find answer in optimal way. I believe CVX find optimal solution But I think it is not optimal in time,complexity,…
because I think it solves all kind of problems in one way. What is your idea?

CVX is designed to make it easy for humans to formulate, solve, and modify (mixed integer) convex optimization problems which can be formulated consistent with its rules… It is not designed to minimize the computer wall-clock run-time of model processing and solution.

After you have developed a model in CVX, if you desire or need to improve the run-time, you can undertake the effort to reduce run-time by developing or using some other tool(s).

1 Like

Thanks for your complete ans.