Disciplined convex programming error:Cannot perform the operation: {real affine} ./ {real affine}

Based on that, I will declare this problem to be non-convex.,

In the future, please show the code which resulted in the error message you show, not a different code. The code you show does not declare r_iA as a variable.