Changes between Version 12 and Version 17 of Ticket #19523
- Timestamp:
- 08/23/17 08:41:59 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19523
- Property Cc ncohen removed
-
Property
Summary
changed from
Adding constraints for the wrong MILP crashes Sage
toRaise an error when constraints are added to the wrong MILP
-
Property
Dependencies
changed from
#19525, #20360
to -
Property
Milestone
changed from
sage-6.10
tosage-7.3
-
Ticket #19523 – Description
v12 v17 11 11 }}} 12 12 13 With #19525, this improves to not crashing Sage:14 13 {{{ 15 sage: sage:p = MixedIntegerLinearProgram(solver="glpk")16 sage: sage:q = MixedIntegerLinearProgram(solver="glpk")17 sage: sage:q.add_constraint(p[0] <= 1)14 sage: p = MixedIntegerLinearProgram(solver="glpk") 15 sage: q = MixedIntegerLinearProgram(solver="glpk") 16 sage: q.add_constraint(p[0] <= 1) 18 17 --------------------------------------------------------------------------- 19 18 GLPKError Traceback (most recent call last) … … 22 21 Error detected in file glpapi01.c at line 760 23 22 }}} 23 Before #19525, this would instead crash Sage. A crash still happens with COIN (#20360). 24 24 25 This ticket is to actually fix the error completely or give a better error message. 25 26 Also a crash with the COIN backend (#20360).27 26 28 27 And low-level error message with the PPL and InteractiveLP (#20296 ) backends.