#11588: copying a linear program crashes SAGE
----------------------------------+-----------------------------------------
Reporter: john_perry | Owner: ncohen
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: linear programming | Keywords: MixedIntegerLinearProgram,
copy
Work_issues: | Upstream: N/A
Reviewer: John Perry | Author: Nathann Cohen
Merged: | Dependencies:
----------------------------------+-----------------------------------------
Changes (by ncohen):
* status: needs_work => needs_review
Comment:
oops ! Sorry for that `:-)`
It turns out that changing this method was not a good idea though.
Avoiding to use the C++ class was intended as a way to save on unseless
computations, but it looks like the Coin library transforms the arrays
into the same structure immediately when called, so everything is done
twice, so I removed that part `:-)`
By the way, do you know what is the difference between sage_free and free,
or between sage_malloc and malloc ? I always wondered `:-)`
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11588#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.