Originally posted by: davidfk
Dear all,
I have been testing an algorithm (written in C++) that iteratively adds variables to an LP model and (re-)solves it with CPLEX 12.7.0 (using the C++ Concert API).
On my Windows 7 desktop computer (using MSVC), I can see that CPLEX automatically does LP warm starts each time I add variables and resolve the model. I.e. at each solve() call the algorithm starts with the last known best solution and keeps improving it until LP optimality.
When I run exactly the same code on a Linux server (using gcc) I can see that CPLEX does not do warm starts anymore, but solves the LP from scratch each time variables are added and the model is resolved.
In both cases CPLEX 12.7.0 was used and CPLEX was free to choose the LP algorithm. On both OS it either used Barrier or Primal Simplex after variables had been added.
Is this expected behaviour? How can it be explained that LP warm start is performed automatically on one OS, but not on the other given that the code is the same? How can I make sure that LP warm start is performed in both cases?
Thanks a lot!
David
#CPLEXOptimizers#DecisionOptimization