Skip to main content

How to copy a model in c++

Answered

Comments

2 comments

  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi Kechen,

    To copy a model in C++, you have to use the GRBModel constructor and pass the existing model as a parameter. This is explained here: GRBModel().

    I hope that helps!

    Cheers,
    Matthias

    0
  • Kechen Ouyang
    First Comment
    First Question

    It helped! Thank you!

    0

Please sign in to leave a comment.