Originally posted by: DianaHuerta
Hi,
Ok, I could see in the log file, that solution was not considered integer (I have read that there must be an * beside the IDNode to consider a solution like that), but it is almost one. I know which is the optimal solution because I have generated, and added all the constraints needed for a very small instance. When I remove the callback (not lazy) function, the optimal solution can be reached. When I add the callback again, in certain node N, this function generates 1 cut and (after resolve) cplex find a solution that is not integer at all but with a small fractional differences in some X variables (ex. -3.33e-11). Then, cplex pruned that node (but I observed that the generated cut is really needed). I thought it could be a tolerance trouble, but actually I don't know.
I'm trying to find a way that helps me to know what is happening. I had analyzed my implementation but I cannot see until now what is wrong, the generated cuts seem to be correct.
This is part of the log file where node 225 was pruned .
221 135 4974.8415 34 5477.5643 3879.0918 2457 29.18% z021 U 221 220 9
222 136 5104.2700 18 5477.5643 3879.0918 2474 29.18% z221 U 222 221 10
223 137 5185.9327 24 5477.5643 3879.0918 2479 29.18% z212 D 223 222 11
224 138 5265.6467 21 5477.5643 3879.0918 2487 29.18% z202 D 224 223 12
225 137 cutoff 5477.5643 3879.0918 2498 29.18% z222 N 225 224 13
226 136 cutoff 5477.5643 3879.0918 2507 29.18% z222 U 226 224 13
227 135 infeasible 5477.5643 3883.5332 2641 29.10% x3421 N 227 78 7
228 134 cutoff 5477.5643 3903.3361 2678 28.74% z422 U 228 68 9
229 133 infeasible 5477.5643 3913.2930 2717 28.56% z221 D 229 83 12
230 134 4967.7603 31 5477.5643 3925.6737 2780 28.33% x3412 U 230 70 11
I'm working on that, but I consider it is good to have some different ideas to understand what is happening. I will check again my implementation to be completely sure it is correct.
Thanks for your response.
Regards.
Diana
#CPLEXOptimizers#DecisionOptimization