Combining two gurobi models into a new one
回答済みHi,
I am trying to combine two models objects into a new one so as to get all the variables and constraints of those models
model_final = model_1 + model_2
Is there any way to achieve this?
0
-
正式なコメント
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 try Gurobot, our chatbot interface offering instant, expert-level support. -
It is currently not possible to perform mathematical operations with the model object. You have to go through all variables and constraints of each model and perform the operations you want with the underlying Var and Constr objects and finally add the results to a new model.
Best regards,
Jaromił0
投稿コメントは受け付けていません。
コメント
2件のコメント