Dear developer,

one of my constraint is something like

-(x^2) * A - (y^2) * B == hermitian_semidefinite(3),

where x and y are real scalar. A =

[1,0,1;

0,1,0;

1,0,1],

B =

[1,0,1i;

0,1,0;

-1i,0,1].

Since B contains complex constant, implementing the constraint like above will encounter the error message:

Cannot perform the operation: {complex affine} .* {convex}”.

Could you give some advice on solving this problem? I really appreciate it.

Best regards,

Jane