Adding exactly k cuts at a root node. #1213
-
|
I would like to make sure for any root node that exactly k cuts are added to the root node. I have a general understanding of enabling adding cuts only at the root node from #763 and other related issues. What I'm struggling with is how enforce "use exactly k cuts" condition. Is it possible to enforce such a condition within SCIP? If so, how does one go about doing this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
Hey @ComboProblem ! You probably want to use |
Beta Was this translation helpful? Give feedback.
Okay, so a couple things to try. I see that you're using
forcecut=Truein your code. This bypasses the parameters, and you may not want that. And secondly, when you reset the separation parameters at the root and then apply your ownscip_disable_other_cuts.set, you're losing out on the parameters you set on the beginning (e.g.maxcutsroot). I don't think the handler is necessary.