Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Model.copy()
copy ( )
Copy a model. Note that due to the lazy update approach in Gurobi, you have to call update before copying it.
Return value:
Copy of model.
Example usage:
model.update() # If you have unstaged changes in the model copy = model.copy()