When adding user cuts via a callback to Gurobi, you should disable certain dual reductions during the presolving phase. This is to ensure that the cuts can be formulated with respect to the presolved space.
Please set the parameter PreCrush to 1 to enforce this when working with user cuts.
Otherwise, you might encounter errors, typically error code 20000.
Comments
0 comments
Article is closed for comments.