-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Segfault after deepcopy of MixedIntegerLinearProgram #15159
Comments
comment:4
Is |
comment:5
See also #20414 |
comment:6
These segfaults happen because
#20414 supplies the necessary However, the same example with
What's happening in this example is that the variable w[0] is created in the wrong MIP -- in If one creates the variable
We should conclude that |
Dependencies: #20414 |
Reviewer: Travis Scrimshaw |
I wanted to make a copy of a linear program and modify the copy somewhat further. Using
deepcopy
I get a segfault (tested under 5.12.beta4) running the following:The same segfault happens when one instead defines a new variable for the new linear program and tries to add constraints in terms of that variable:
Everything works well when using
copy
instead ofdeepcopy
. Nevertheless, could this be related to #11588?Depends on #20414
CC: @videlec @vbraun @dimpase
Component: linear programming
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/15159
The text was updated successfully, but these errors were encountered: