Opened 7 years ago

Last modified 20 months ago

#19523 new defect

Adding constraints for the wrong MILP crashes Sage — at Version 1

Reported by: Jeroen Demeyer Owned by:
Priority: major Milestone: sage-7.3
Component: linear programming Keywords:
Cc: Yuan Zhou Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #19525 Stopgaps:

Status badges

Description (last modified by Jeroen Demeyer)

sage: p = MixedIntegerLinearProgram(solver="glpk")
sage: q = MixedIntegerLinearProgram(solver="glpk")
sage: q.add_constraint(p[0] <= 1)
Unhandled SIGABRT: An abort() occurred in Sage.
This probably occurred because a *compiled* component of Sage has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Sage will now terminate.

This ticket is to actually fix this problem or give a better error message.

The fact that Sage crashes hard is handled at #19525.

Change History (1)

comment:1 Changed 7 years ago by Jeroen Demeyer

Dependencies: #19525
Description: modified (diff)
Note: See TracTickets for help on using tickets.