Undefined function 'times' for input arguments of type 'cvxdual'

constraint is,
mu_n*an.*gnx(1,1).*exp(-an.*(gnx(1,i).*(Pi+Pj)-bn))+nu.*hix(1,1)+eta.*hjx(1,1)-phi.*qmx(1,i)==0;

As I told you in my answer at Log of sigmoid function , you can not use variable declared as dual variable other than to be associated, via: with a constraint.

Please do not keep tarting mew topics for follow-on questions from existing threads. Add a new post to the existing thread instead,

Sorry sir for making trouble, I’ll take care of it