Skip to main content

Combining two gurobi models into a new one

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    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.
  • Jaromił Najman
    • Gurobi Staff

    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

Post is closed for comments.