Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta-ticket: Audit/fix all uses of MixedIntegerLinearProgram #32191

Open
mkoeppe opened this issue Jul 12, 2021 · 21 comments
Open

Meta-ticket: Audit/fix all uses of MixedIntegerLinearProgram #32191

mkoeppe opened this issue Jul 12, 2021 · 21 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Jul 12, 2021

See

One class of bugs comes from using the raw solution values for integer or binary variables from numerical solvers. Using #32197, they can be converted to integers/booleans with integrality tolerance checking. The tolerance parameter depends on the model and the solver, but a rough guideline is that it should be greater than solvers' default integrality tolerances: 1e-5 (CPLEX: https://www.ibm.com/docs/en/icos/12.8.0.0?topic=parameters-integrality-tolerance, Gurobi: https://www.gurobi.com/documentation/9.1/refman/grb_tolerances_and_the_lim.html), 1e-6 (GLPK), ...

Tickets:

CC: @dcoudert @tscrim @seblabbe @dimpase @DaveWitteMorris

Component: graph theory

Issue created by migration from https://trac.sagemath.org/ticket/32191

@mkoeppe mkoeppe added this to the sage-9.4 milestone Jul 12, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title Meta-ticket: Audit/fix all uses of MixedIntegerLinearProgram in sage.combinat, sage.graphs Meta-ticket: Audit/fix all uses of MixedIntegerLinearProgram Jul 17, 2021
@mkoeppe

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 22, 2021
@dcoudert
Copy link
Contributor

comment:21

Using our new way of converting variables, we can avoid some conversions of the objective values (using Integer(round(...))).
See #32428 for a first attempt.

@dcoudert

This comment has been minimized.

@dcoudert

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.8, sage-9.9 Jan 29, 2023
This was referenced Jul 25, 2021
@mkoeppe mkoeppe removed this from the sage-10.0 milestone Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants