Originally posted by: gabb
Hi,
I have built an MIP model and coded the problem using Java concert technology. Because the size of the problem is really huge, I set the running time by the following sentence.
cplex.setParam(DoubleParam.TiLim, CPLEX_TIME_LIMIT);
and set CPLEX_TIME_LIMIT to 60 seconds.
I ran the same model with same input data twice but got different solutions and log info. The "best integer", "best bound", and "gap" are different in two runs. Below is part of the log info.
Run #1:
|
Best Integer
|
Best Bound
|
ItCnt
|
Gap
|
|
|
|
|
|
|
3425.966
|
10.7527
|
2818
|
99.69%
|
|
3425.966
|
453.815
|
2818
|
86.75%
|
|
3425.966
|
Cuts: 8
|
2988
|
86.72%
|
|
3425.966
|
Cuts: 26
|
3122
|
86.69%
|
|
3425.966
|
Cuts: 24
|
3300
|
86.67%
|
|
1954.119
|
456.6501
|
3300
|
76.63%
|
|
1239.575
|
456.6501
|
3300
|
63.16%
|
Run #2:
|
Best Integer
|
Best Bound
|
ItCnt
|
Gap
|
|
|
|
|
|
|
3459.532
|
10.7527
|
3200
|
99.69%
|
|
3459.532
|
453.815
|
3200
|
86.88%
|
|
3459.532
|
Cuts: 24
|
3306
|
86.85%
|
|
3459.532
|
Cuts: 27
|
3499
|
86.17%
|
|
3459.532
|
Cuts: 24
|
3661
|
86.15%
|
|
487.6869
|
479.0781
|
3661
|
1.77%
|
|
487.6869
|
479.0781
|
3663
|
1.77%
|
Why are they different? Is it possible to get identical solutions at different runs when solving a large-scale problem to a near-optimal solution (terminate before the solver finding the real optimal solution)?
Thank you very much!
#CPLEXOptimizers#DecisionOptimization