When I solve the model, it happen "Error 10020: Objective Q not PSD" in the end.
The gurobi website said, to resolve this issue, set the NonConvex parameter to 2.
I type "model.set(GRB_IntParam_NonConvex, 2);", but it said "GRB_IntParam_NonConvex" undefined.