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.
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.