How to solve the problem maximize x^*G*x/x^*x subject to the constraints x^*H_1x=0 and x^H_2x=0, where G , H_1 and H_2 are hermitian matrices, my question is how to code this problem in cvx ?

# Rayleigh quotient optimization

**Gyan**(Gyan Swarup Nag) #1

*G*x/x^*x subject to the constraints x^*H_1x=0 and x^H_2x=0, where G , H_1 and H_2 are hermitian matrices, my question is how to code this problem in cvx ?