When I am using CPLEX to solve a MIQP(mixed integer programs with quadratic terms), I found the progress reports just show the incorrect Objective and Best Bound. As shown below, the Objective and the Best Bound is less than -60000 but the Best Integer is 200+. The Best Integer is possible but the others make no sense.
My objective is (Y1-XW)'(Y1-XW)+(Y2-X(I-W))'(Y2-X(I-W)), where Y1, Y2 are known vectors and X is a metrix, I is a unit vector. W is the vector with 453 variables which types are all binary. My purpose is to find a best W to minimize the objective.
It's obvious that the objective value must >= 0, but when I put the linear Obj and the quadratic OBJ, things may get wrong. I also check my input and the .lp file, and they are correct. How can i fix it?
Node Left Objective IInf Best Integer Best Bound ItCnt Gap
-
0+ 0 1369.0478 -185311.5218 --- -
0+ 0 749.0133 -185311.5218 --- -
0+ 0 518.5277 -185311.5218 --- -
0+ 0 494.2433 -185311.5218 --- -
0+ 0 384.2811 -185311.5218 --- -
0+ 0 332.7754 -185311.5218 --- -
0+ 0 218.6225 -185311.5218 --- -
0+ 0 214.4162 -185311.5218 --- -
0+ 0 210.7467 -185311.5218 --- 0 0 -61255.7340 408 210.7467 -61255.7340 22 ---