Can I add locally valid constraints in Gurobi MIP? Greg Glockner November 25, 2020 12:18 Updated Follow No. You can only add globally valid constraints inside a callback. Further information What is the difference between user cuts and lazy constraints? How do I implement lazy constraints in Gurobi? User Cuts: How to fix error 20000 Related articles How do I improve the time to build my model? How do I modify the branch-and-bound algorithm or create a branch-cut-and-price algorithm? How do I model logical expressions? Where can I learn more about building optimization models? How do I model piecewise-linear functions?