Can I add locally valid constraints in Gurobi MIP? Greg Glockner June 17, 2020 02:10 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 you implement lazy constraints in Gurobi? User Cuts: How to fix error 20000 Related articles Why is Gurobi slow to build a model matrix? How do I model logical expressions? Where can I learn more about building optimization models? How do I model piecewise-linear functions? Can you modify the branch-and-bound algorithm or create a branch-cut-and-price algorithm?