following is zhe whole procedure.

cvx_begin

variable p(1,10) nonnegative

sum§==1

a=1:10

sum(p*a’)==4*

minimize sum(plog(p’))

cvx_end

It’s for

so I’m confused of zhe reason of that 'log§'become a concave,and why is it not allowed to multiply a CVX variable by a concave.

I know a function called “entr()” just now.The problem has been solved.Thank you for all.

Hello,

I do have the same problem for a logarithm function:

"Disciplined convex programming error:

Cannot perform the operation {affine}*{concave}"

Please, how did you came up with a solution?

Thanks a lot.