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
-
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
サインインしてコメントを残してください。
コメント
1件のコメント