Look at the values of all the constituents in the argument of the pow_p term just before the time through the loops in which the error occurs. Perhaps there is an NaN.
Also, please copy and paste your code as text into your post, and apply the Preformatted text icon to it, rather than posting an image of your code. That will allow forum readers to copy and paste your code into their own MATLAB session.
0 <= y <= 1;
Thank you for your reply. I checked as you said. lambda and alpha are just constant, and temp is a cvx concave expression (scalar). Do you have other suggestions?