Changes between Version 12 and Version 17 of Ticket #19523


Ignore:
Timestamp:
08/23/17 08:41:59 (2 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19523

    • Property Cc ncohen removed
    • Property Summary changed from Adding constraints for the wrong MILP crashes Sage to Raise an error when constraints are added to the wrong MILP
    • Property Dependencies changed from #19525, #20360 to
    • Property Milestone changed from sage-6.10 to sage-7.3
  • Ticket #19523 – Description

    v12 v17  
    1111}}}
    1212
    13 With #19525, this improves to not crashing Sage:
    1413{{{
    15 sage: sage: p = MixedIntegerLinearProgram(solver="glpk")
    16 sage: sage: q = MixedIntegerLinearProgram(solver="glpk")
    17 sage: sage: q.add_constraint(p[0] <= 1)
     14sage: p = MixedIntegerLinearProgram(solver="glpk")
     15sage: q = MixedIntegerLinearProgram(solver="glpk")
     16sage: q.add_constraint(p[0] <= 1)
    1817---------------------------------------------------------------------------
    1918GLPKError                                 Traceback (most recent call last)
     
    2221Error detected in file glpapi01.c at line 760
    2322}}}
     23Before #19525, this would instead crash Sage. A crash still happens with COIN (#20360).
     24
    2425This ticket is to actually fix the error completely or give a better error message.
    25 
    26 Also a crash with the COIN backend (#20360).
    2726
    2827And low-level error message with the PPL and InteractiveLP (#20296 ) backends.