You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The COIN, CPLEX, GLPK, and Gurobi backends supply a copy method.
But it's not documented as a backend interface method in GenericBackend, and the CVXOPT, PPL, InteractiveLP backends do not implement it.
It is used by MixedIntegerLinearProgram.__copy__.
We also add __deepcopy__ methods to MixedIntegerLinearProgram and the backends.
This fixes #15159, though the semantics of copy and deepcopy of a MixedIntegerLinearProgram remains questionable due to its interaction with MIPVariable; see #15159 and #19523.
See also #20323 (in which copying a backend could be the basis for more diverse tests).