I am trying to use benders decomposition with callback, at some point I have to add a lazy constraint to a model as follows
MOI.submit(model, MOI.LazyConstraint(cb_data), cut)
What is the way if I want to remove the cut from the model?
Thanks
I am trying to use benders decomposition with callback, at some point I have to add a lazy constraint to a model as follows
MOI.submit(model, MOI.LazyConstraint(cb_data), cut)
What is the way if I want to remove the cut from the model?
Thanks
You cannot remove cuts from a callback. They must be globally valid.