Originally posted by: gangulo
Hi Daniel,
I followed your approach and managed to track the fathoming process using tags. I have one question though. In step 3, when the solve callback is invoked, I can solve the node LP manually with dual simplex and check whether the node is infeasible or not. However, I think that when I let CPLEX solve the node LP by its own, it can optimize the process, for example, by imposing a limit on the objective value of the LP (it cannot exceed the current global upper bound of the MIP, otherwise we can prune it.) Thus the manual approach is less efficient, but it lets me check the status of the node LP after optimization. So what I did was to attach an LP pointer as cbhandle, shared by the solve and delete callbacks: it points to the last LP solved by CPLEX and, in combination with the tags, it lets me check the status before deleting the node. Then my question is: how safe is this approach? Actually, I thought it wouldn't work because the delete callback does not let me retrieve a pointer to the LP node being deleted, and what I described above would be a workaround for this.
Thanks!
#CPLEXOptimizers#DecisionOptimization