Originally posted by: MohsenReisi
Hi,
I am using ILOLAZYCONSTRAINTCALLBACK3 to add my lazy constraints if they are violated in the branch and cut tree . In the callback function there is an alogorithm to get the new integer solutions, find the lazy constraints that are violated, and add them to the model. In order to decrease the run-time I am trying to make the algorithm more efficient.
I have noticed that when I use the call back function even when the function is empty, the tree size become larger and consequently the run-time is increased comparing with the situation that call back function is not used. I should mention that I only use one thread to solve the IP model. Does anyone know why calling an empty lazy constraint call back function make the tree size much larger?
Thanks, Mohsen
#CPLEXOptimizers#DecisionOptimization