We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug A segfault occurs during reoptimization when using concurrent solving.
To Reproduce Run this program:
from pyscipopt import Model model = Model() x = model.addVar(lb=0.0, ub=10.0) y = model.addVar(lb=0.0, ub=10.0) z = x + y model.addCons(y >= 2*x) model.setObjective(z, "maximize") model.enableReoptimization() model.solveConcurrent() print(f"x = {model.getVal(x)}") print(f"y = {model.getVal(y)}") print(f"z = {model.getVal(z)}") model.freeReoptSolve() model.addCons(x <= 3) model.solveConcurrent() print(f"x = {model.getVal(x)}") print(f"y = {model.getVal(y)}") print(f"z = {model.getVal(z)}")
The issue occurs with any combination of solving methods that uses solveConcurrent()
solveConcurrent()
Expected behavior The program runs the same way as when normal model.optimize() is called.
model.optimize()
System
Additional context Not 100% sure if this is from PySCIPOpt or a bug in SCIP itself
The text was updated successfully, but these errors were encountered:
Hey @waweber! Apologies for the delay, August-time is always difficult.
Are there any updates on this? You can use solveConcurrent normally if you don't reoptimize, right?
Sorry, something went wrong.
Correct, I can use solveConcurrent without reoptimization, or reoptimize without solveConcurrent, but not both.
Notably, if I use solveConcurrent on the initial optimization, then use the single threaded optimize when reoptimizing, it also segfaults.
No branches or pull requests
Describe the bug
A segfault occurs during reoptimization when using concurrent solving.
To Reproduce
Run this program:
The issue occurs with any combination of solving methods that uses
solveConcurrent()
Expected behavior
The program runs the same way as when normal
model.optimize()
is called.System
Additional context
Not 100% sure if this is from PySCIPOpt or a bug in SCIP itself
The text was updated successfully, but these errors were encountered: