14 | | The fact that Sage crashes hard is handled at #19525. |
| 13 | With #19525, this improves to not crashing Sage: |
| 14 | {{{ |
| 15 | sage: sage: p = MixedIntegerLinearProgram(solver="glpk") |
| 16 | sage: sage: q = MixedIntegerLinearProgram(solver="glpk") |
| 17 | sage: sage: q.add_constraint(p[0] <= 1) |
| 18 | --------------------------------------------------------------------------- |
| 19 | GLPKError Traceback (most recent call last) |
| 20 | ... |
| 21 | GLPKError: glp_set_mat_row: i = 1; len = 1; invalid row length |
| 22 | Error detected in file glpapi01.c at line 760 |
| 23 | }}} |
| 24 | This ticket is to actually fix the error completely or give a better error message. |