How to solve these Generalized eigenvalue programming using CVX?

23->27 is based on the figure, i want to alternatively optimize {F1,F2} and lambda to miminize lambda_max,the convergence curve is shown in the second figure,
i not sure this processing is right or not, can you help me?