-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Milestone
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:
- change the implementation of
MIPSolverException
to just inherit fromRuntimeError
without any custom implementation. - use
MemoryAllocator
in a few places to make some allocations safer.
This branch requires a patch to GLPK, a modified version of it was accepted upstream: http://lists.gnu.org/archive/html/help-glpk/2015-11/msg00008.html
Upstream: Fixed upstream, in a later stable release.
CC: @nathanncohen
Component: cython
Author: Jeroen Demeyer
Branch/Commit: 76a11fd
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/19525