#17320: Memory leaks with LP Solvers are back
-------------------------------------+-------------------------------------
       Reporter:  pmueller           |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  linear             |   Resolution:
  programming                        |    Merged in:
       Keywords:                     |    Reviewers:  Nils Bruin, Nathann
        Authors:  Nils Bruin,        |  Cohen
  Nathann Cohen                      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/17320       |  5480f4e85c1a0ff96bd1502c78992073ccb854e5
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Replying to [comment:24 pmueller]:
 > (By the way, MIPSolverException cannot be used in a try/except
 environment. Not sure if this is a bug. Anyway, this was the same in the
 unpatched version.)

 Why not? Did you perhaps not import the error first?
 {{{
 sage: from sage.numerical.mip import MIPSolverException
 sage: try:
 ....:     raise MIPSolverException("Problem")
 ....: except MIPSolverException:
 ....:     print "problem caught"
 ....:
 problem caught
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17320#comment:26>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to