method in "gurobi" to add and remove constraints in a model easily
AnsweredIn solver "gurobi_persistent", we can use the function "add_constraint" and "remove_constraints" to add and remove constraints. But solver "gurobi" does not have these functions. Is there a similar method in "gurobi" to add and remove constraints in a model easily?
0
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
For the "gurobi" solver in Pyomo, you can use the methods documented in the Pyomo to Gurobi API documentation.
0
Post is closed for comments.
Comments
2 comments