Skip to main content

In python api, is model.copy() deep copy or not

Answered

Comments

2 comments

  • David Torres Sanchez
    Gurobi Staff Gurobi Staff

    Yes. Please try this.

    Cheers, 
    David

    0
  • Michel Soares
    Thought Leader

    Yes, it should keep the original form.

    You may also add/remove constraints/fixations from a single model, which may be easier in some cases. See this other answer for more information.

    1

Please sign in to leave a comment.