メインコンテンツへスキップ

How to copy a model in c++

回答済み

コメント

2件のコメント

  • 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
    • Gurobi-versary
    • First Comment
    • First Question

    It helped! Thank you!

    0

サインインしてコメントを残してください。