Curious about copying a model that has had constraints deleted

There is JuMP.copy_model which additionally returns a map between the indices:

In most cases though, I would generally recommend against copying a model. There’s almost always no need.

1 Like