For help!''Cannot perform the operation {affine}*{concave}"


(xieliang) #1

following is zhe whole procedure.
cvx_begin
variable p(1,10) nonnegative
sum§==1
a=1:10
sum(pa’)==4
minimize sum(p
log(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.


(xieliang) #2

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