Changes between Version 1 and Version 6 of Ticket #26363


Ignore:
Timestamp:
Oct 21, 2019, 9:37:59 AM (3 years ago)
Author:
gh-kliem
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26363

    • Property Cc gh-kliem added
    • Property Dependencies changed from to #28639
    • Property Milestone changed from sage-8.4 to sage-9.0
  • Ticket #26363 – Description

    v1 v6  
    77}}}
    88
    9 As a workaround, #22701 makes it possible to convert to 'field' backend, which can be pickled.
     9We fix this by removing the cone with `__getstate__` on pickling.
     10
     11On unpickling we use `__setstate__` and `_cone_from_Vrepresentation_and_Hrepresentation` from #28639 to restore the cone.
     12
     13Special care has to be taken in the following cases:
     14- no inequalities (the cone can only be initialized from Vrep),
     15- no vertices and rays (the cone can only be initialized from Hrep),
     16- multiple lines (they are being recomputed and there is no guarantee that they appear in the same order).