Originally posted by: LucasOliveira
Here is a new problem! I try to implement the Paul's idea.
So, I construct a structure to verify if a cut was already added to the problem.
If the verification returns true, the cut is added with the purgeable parameter set to 0.
Otherwise, the cut is added with purgeable parameter set to 1.
I have one instance that when I used only purgeable cuts the code runs in an infinity loop.
This happens because the execution add a cut C1 and after add a cut C2 and purge cut C1,
after add cut C1 and purge cut C2, and so begins the loop.
When I try to use the fixation of repeated cuts with purgeable parameter 0, in the execution
seems that the cuts are still purgeable because the loop remains happening.
The cuts C1,C2,C1,C2... are still being generated, so they can't be in the problem,
but they are already added with purgeable parameter set to 0.
I'm doing something wrong ?
#CPLEXOptimizers#DecisionOptimization