0
$\begingroup$

In CVX, how do we return the value of the parameter over which the problem is minimized at the optimal value?

By this, I mean, how do we obtain

$$x^* = \arg\min_x f(x)$$ when solving the problem with CVX?

I have gone through the user's guide and did some google searching. The only thing I could find was cvx_optval which only gives the optimal value of $f(x)$

$\endgroup$
2
$\begingroup$

It's just stored in the regular MATLAB variable x (or whatever you were using as the variable in your problem.

$\endgroup$
  • $\begingroup$ Ah. That simple is it? Stupid me :) $\endgroup$ – Karthik Upadhya Dec 1 '14 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.