first post on SO.
I'm working on a quadratic optimization problem.
I'm getting the following error:
Aeq = beq = sostype =sosind = soswt = [] % for my specific problem
The others paramers look like correctly define.
Error using cplexmiqp
CPLEX Error 5002: %s is not convex.
Error in MIP_CPLEX_OptL2_CstrL0 (line 78)
[x,z,exitflag,output] = cplexmiqp(Hprim'*Hprim,(-y'*Hprim)',Aineq,bineq,Aeq,beq,sostype,sosind,soswt,lb,ub,ctype,z0,solveur);
I've already checked the properties of the matrix (it's semi-PSD).
The error only appears for a dimension greater than 600 variables (continuous and binary -> MIQP). Below this value, the model works correctly.
Anybody got any ideas? Thx a lot :)