#19525: Improve GLPK error handling
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.10
Component: cython | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: Reported | Work issues:
upstream. No feedback yet. | Commit:
Branch: | f808061d3d4cbaf2bd0cfe42f25fb67b5131a302
u/jdemeyer/improve_glpk_error_handling| Stopgaps:
Dependencies: #19527 |
-------------------------------------+-------------------------------------
Description changed by jdemeyer:
Old description:
> This ticket adds a proper error handler for GLPK (similar to what we
> already have for PARI, NTL, ...). It suffices to add
> `sig_on()`/`sig_off()` around a GLPK call to get an error message.
>
> Some more cleanup is also done:
> 1. change the implementation of `MIPSolverException` to just inherit from
> `RuntimeError` without any custom implementation.
> 2. use `MemoryAllocator` in a few places to make some allocations safer.
>
> This branch requires a patch to GLPK which has been submitted upstream.
New description:
This ticket adds a proper error handler for GLPK (similar to what we
already have for PARI, NTL, ...). It suffices to add
`sig_on()`/`sig_off()` around a GLPK call to get an error message.
Some more cleanup is also done:
1. change the implementation of `MIPSolverException` to just inherit from
`RuntimeError` without any custom implementation.
2. use `MemoryAllocator` in a few places to make some allocations safer.
This branch requires a patch to GLPK which has been submitted upstream:
[http://lists.gnu.org/archive/html/help-glpk/2015-11/msg00008.html]
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19525#comment:7>
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.