Does CVX has any limitation to the dimension of the variables?

Dear all,

Does CVX has any limitation to the dimension of the variables? I met troubles and try to find the answer. But I can't find the answer about the result displayed in the command window. If possible, please help me  pointing out my problem. Thanks all.

My codes for CVX are as follows, and it’s a small part of my codes. Note that n=500 and ss=8.

function [resu]=Source_ELW(EEs)
[n,ss]=size(EEs);
cvx_begin;
variable prob(n);
sum(prob’*EEs)==0;
prob==simplex(n);
maxmize(geo_mean(prob));
cvx_end
resu=prob;
end

I DON’T understand the error “Source_Liu_ELW (line 9)
maxmize(geo_mean(prob));”.

Actually, i think it’s definitely right and adheres to the rules of CVX. So can anyone help me out? I’ll be grateful to your reply.

I’m afraid we’re going to have difficulty helping you for a couple of reasons. For one thing, I can’t read Chinese and as such I don’t understand what the error message is saying. But also, maximize(geo_mean(prob)) appears nowhere in the code you’ve pasted, so there seems to be some disconnect between the code you’ve showed us an what you have actually tried to solve.

Aha! Actually it looks like you have misspelled maximize.

Sorry for my mistake :sweat:

Thank you very much!!!