Originally posted by: TheOptimizer
PROBLEM: I am running an optimization problem in CPLEXQCP for MATLAB. The problem is a problem where I maximize a mean subject to a target variance. The matrix that I supply for the target variance (Q) is a large matrix of 9000x9000. Most of the entries are 0s. MATLAB finds this matrix to be POSITIVE DEFINITE. However, the CPLEX optimizer CRASHES with the following error:
Error using cplexqcp (line 649)
CPLEX Error 5002: Q in %s is not positive semi-definite.
It is very frustrating. I have tried several work-arounds, but nothing has worked. Does anyone have any helps on this? I have not supplied the data, but the command line is the following. NOTE: With other matrices, this command line works fine.
[x,~,output,~]=cplexqcp([],-mu,[],[],Aeq,beq,0,Sigma,15,lb,ub,[],options)
If you do supply a solution, please give DETAILED steps, since it is already becoming very complex and frustrating.
Thank you,
#CPLEXOptimizers#DecisionOptimization