Originally posted by: Calvin Sun Hainan
I have output my problem into an lp file. When I use the interactive optimizer to solve this lp, it returns optimal with binary variable x8 = -2.
Below is the MIP in lp format. x8 is the variable that is causing problem.
\ENCODING=ISO-8859-1
\Problem name: IloCplex
Minimize
obj: 1.069586 x1 + 0.605189676 x2 - 1.62557741 x3 - 0.311030973 x4 + 50 x5
+ 0.01 x6 + 0.01 x7 + 0.01 x8 + 0.0050382 x9 + x10
Subject To
c1: 532 x1 + 300.82 x2 + 805.1 x3 + 155.43 x4 + 1000 x5 - x9 = 0
c2: x3 + x6 <= 6000001
c3: x4 + x7 <= 77500001
c4: x5 + x8 <= 100000001
c5: x3 - 65030210 x6 <= 0
c6: x4 - 65030210 x7 <= 0
c7: x5 - 65030210 x8 <= 0
c8: x6 + x7 + x8 <= 1
c9: x6 + x7 + x8 <= 5
c10: 1.069586 x1 + 0.605189676 x2 - 1.62557741 x3 - 0.311030973 x4 + 50 x5
+ x11 = 0
c11: x11 - 10000000 x12 >= -10000000
c12: x6 + x7 + x8 - 10000000 x12 <= 0
Bounds
-10800000 <= x1 <= 0
-14500000 <= x2 <= 0
0 <= x6 <= 1
0 <= x7 <= 1
0 <= x8 <= 1
x10 = 0
x11 Free
0 <= x12 <= 1
Binaries
x6 x7 x8 x12
End
#DecisionOptimization#OPLusingCPLEXOptimizer