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

How to copy a model in c++

回答済み

コメント

3件のコメント

  • 正式なコメント
    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.
  • Matthias Miltenberger
    • 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

投稿コメントは受け付けていません。