Adding columns to the current set of constraints and objective
AnsweredI am looking for ways ( appropriate commands) to add a column to the current set of constraints and objective variables. More specifically, I need to make sure that the search for finding a new solution after adding these columns are starting from the current solution of the problem.
0
-
Official comment
This post is more than three 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 why not try our AI Gurobot?. -
You can add a column by using the column object and the addVar method. An example of this usage can be found in the feasopt.py example.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments