Help what should i do ,about convex*real affine or concave*real affine

Have you proven this is a convex optimization problem? It is somewhat confusing because the error message shows code which you don’t display or talk about.