I would like to ask what happened to the code in the program with no execution restrictions, that is, none of the restrictions after Subject to are executed, and none of the variables in the for loop are generated in the workspace. From cvx_begin to cVX_end, the restriction is inside. Why does this problem occur
Please show us your complete code and all output. Otherwise I don’t think anyone knows what problem you are describing.