Originally posted by: sval
Hi,
I'm working on a strange behavior and cannot figure what I should do.
I have a simple model that I run in OPL.
The last line of the log shows (either by running the model in the interface or by the command line; see attached file for the full logs ) :
* 0+ 0 1479369.9183 1482022.4099 995 0.18%
The gap is still significant, and I never succeed to close the gap. The best gap reached was 0.06. I played with different parameters to reach this value. Independently of the parameters chosen, when I try modifying my model inputs, the gaps at the end of each optimization are completely unpredictable, ranging between [ 0.06, 0.9 ].
Furthermore, when I run my model with usual inputs (same inputs that I used to log the optimization with OPL) in CPLEX, the CPLEX log shows :
* 1923+ 391 1481545.5540 1481704.9239 17624 0.01%
I used a lp file generate from my OPL model in order to use CPLEX. The gap obtained with CPLEX is the gap that I will like to obtain in OPL. Both OPL and CPLEX use default parameters (I checked that default parameters are the same in OPL and in CPLEX), but the behavior seems pretty different. I don't know for what reason that happens, but the gap parameters in OPL are completely ignored when running my model.
Before testing in CPLEX, I was thinking that my model may have numerical instability. I improve my model without success in regard to the gap in OPL. Then, I found that CPLEX succeeds to solve the problem without trouble. Among all models I created so far, it's the only one having that behavior. The only significant difference between this model and my other models is that this model uses an Access files for importing input data.
Any ideas ?
Thanks,
Steve.
#DecisionOptimization#OPLusingCPLEXOptimizer