Originally posted by: oozaltin
Hello,
I am trying to print the objective function value and the time for each integer feasible solution recovered during the optimization of an MIP.
I figured out that the easiest way would be doing this in the incumbent callback. However, setting incumbent callback disables the dynamic search, and I would like to have dynamic search because it is in the default settings of CPLEX.
Another way I tried is setting the CPX_PARAM_INTSOLLIM parameter to 1 and re-optimizing the problem until it finds the optimal solution. This way, I can print the time and objective function of every solution to a file before resuming the optimization. However, this approach caused a significant performance decay in CPLEX, probably because stopping and resuming the optimization over and over after each feasible solution.
So, I am looking for a way to print the objective function value and the time for each integer feasible solution recovered during the optimization of an MIP WITHOUT changing the default behavior of CPLEX. By default behavior, I mean the way CPLEX mipopt would work without making any changes to the optimization strategy.
Thanks
Osman
#CPLEXOptimizers#DecisionOptimization