qcml icon indicating copy to clipboard operation
qcml copied to clipboard

Question: norm(x, p)?

Open steve3141 opened this issue 11 years ago • 2 comments

Thanks for a brilliant package. I see that CVX (matlab) supports p-norms for values of p>=1 other than 1, 2, \infty. I'm wondering if there are any plans to support that in QCML?

steve3141 avatar Jun 27 '14 16:06 steve3141

I don't have any plans to do this yet; is there a specific kind of norm you wanted to use?

On Fri, Jun 27, 2014 at 9:45 AM, steve3141 [email protected] wrote:

Thanks for a brilliant package. I see that CVX (matlab) supports p-norms for values of p>=1 other than 1, 2, \infty. I'm wondering if there are any plans to support that in QCML?

— Reply to this email directly or view it on GitHub https://github.com/cvxgrp/qcml/issues/43.

echu avatar Jun 27 '14 18:06 echu

Thanks. I don't have any real requirement for other p-norms at the moment, I'm really just trying to compare CVX and QCML to use for future projects.

I dug into CVX a bit just now and I see that for p different from 1, 2, \infty it converts a p-norm into a semidefinite cone, thus generating an SDP not an SOCP. So it seems that wouldn't fit into QCML unless it expands from generating SOCP to generating SDP. (Or unless it uses an alternative transformation that produces an SOCP...)

steve3141 avatar Jun 27 '14 18:06 steve3141