Changes between Initial Version and Version 7 of Ticket #20414


Ignore:
Timestamp:
Apr 17, 2016, 12:38:36 AM (7 years ago)
Author:
mkoeppe
Comment:

Now also contains a fix for #15159 (see description). Needs review.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20414

    • Property Status changed from new to needs_review
    • Property Commit changed from to 38c6be9df03439d604f7b6c476cbebd6e606e7fd
    • Property Branch changed from to u/mkoeppe/add_copy___copy___methods_to_cvxopt__ppl__interactivelp_backends
  • Ticket #20414 – Description

    initial v7  
    55The backend method should actually probably be called `__copy__` as well -- see https://docs.python.org/2/library/copy.html
    66
    7 See also #15159 (which may indicate that we may need a `__deepcopy__` method as well) and #20323 (in which copying a backend could be the basis for more diverse tests)
     7The branch on the ticket does this.
     8
     9We also add `__deepcopy__` methods to `MixedIntegerLinearProgram` and the backends.
     10This fixes #15159, though the semantics of `copy` and `deepcopy` of a `MixedIntegerLinearProgram` remains questionable due to its interaction with `MIPVariable`; see #15159 and #19523.
     11
     12See also #20323 (in which copying a backend could be the basis for more diverse tests).