Firstly thanks a lot for your support,

Sir author is using successive convex approximation in which objective function is convex and objective function is transformed by updating value. I also provided you my algorithm in previous question, i have seen you have discussed this problem 3 years ago,’’ [A concave maximization problem with Disciplined convex programming error: {invalid} .* {real affine} or {negative constant} "

this is my objective function

maximize(Mn-mu_n*(1+exp(-an*(gnx(1,t)*(P(1,1)+P(2,1))-bn))))*

(Mn,an,bn are constant value, mu_n is nonnegative variable (10^-6) ,P(1,1) & P(2,1) are optimizing variable and gnx is array of 10 random value

Getting error,

Disciplined convex programming error:

Cannot perform the operation: {invalid} . {log-convex}

In one program it runs easily but by changing some parameter it is showing like that, please help me, and only because of you i have an hope to solve problem.