You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trac #34878: MixedIntegerLinearProgram.add_constraint: Option to return row indices, fix handling of empty constraints
(from https://trac.sagemath.org/ticket/21003#comment:136)
... for use with methods that take row indices as input, such as `row`,
`row_bounds`, `remove_constraint`.
If a backend does not map a constraint to a unique new row (or
`check_redundant=True` and the constraint is discarded by the frontend),
the method may return `None`.
We also fix a longstanding bug in how empty constraints are handled in
`add_constraint`.
The changed interface (an optional return value) is backward-compatible
with user code.
We also add a Feature CVXOPT so that the backend gets tested again.
URL: https://trac.sagemath.org/34878
Reported by: mkoeppe
Ticket author(s): Matthias Koeppe, Martin Rubey
Reviewer(s): Martin Rubey, Matthias Koeppe
0 commit comments