Changes between Initial Version and Version 1 of Ticket #20461
- Timestamp:
- 04/19/16 04:10:07 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20461 – Description
initial v1 8 8 sage: q.<newx,newy> = p.copy() 9 9 }}} 10 and the less magical syntax 11 {{{ 12 sage: q, newx, newy = p.copy([x, y]) 13 }}} 10 14 * `copy` and `__copy__` (and `__deepcopy__`) should make a copy of _default_variable (this requires writing a `__copy__` method for `MIPVariable`) 11 * if `MixedIntegerLinearProgram.new_variable` has been called, it should set a flag and then if __copy__ (or __deepcopy__) are called, it should display a warning (deprecation??) and refer the user to the new `copy` method.15 * if `MixedIntegerLinearProgram.new_variable` has been called, it should set a flag and then if `__copy__` (or `__deepcopy__`) are called, it should display a warning (deprecation??) and refer the user to the new `copy` method.