Originally posted by: SystemAdmin
I read in TestData.sav, wrote it out in LP format, solved the .sav version and then read and solved the .lp version. CPLEX 12.1 reports that the objective of the SAV file version is not positive semi-definite; the objective of the LP version looks positive semi-definite, but only after a perturbation:
Warning: diagonal perturbation of 3.2e-04 required to create PSD Q.
So I suspect that the objective is not PSD, either by design or as a result of poor scaling (CPLEX reports that the non-zero quadratic coefficients range from 0.05445 to 6.6e+10). The LP version probably looks (approximately) PSD as a result of a loss of precision passing the problem through a text file, as I believe was suggested earlier in the thread.
12 orders of magnitude difference in the objective coefficients of a QP seems rather risky w.r.t. rounding/truncation errors.
/Paul
Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
#CPLEXOptimizers#DecisionOptimization