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

If compile SCIP with option of TPI=tny while using whole SCIPsuite tarball, seems it makes crash #887

Open
adover134 opened this issue Sep 4, 2024 · 2 comments

Comments

@adover134
Copy link

adover134 commented Sep 4, 2024

Describe the bug
There are two environments I tried. Both used python version 3.10.

First one is Windows server 2012 R2. I used anaconda environment, and installed most recent pyscipopt with anaconda.
Also I could not pre-compile with tarball since the OS does not supports the WSL. This means, I used scip which automatically installed with pyscipopt.
In this case, every models I tried, even with almost 20k constraints, was optimized with showing output normally. The output was shown per every 3 to 5 minutes.
I was using model.setParam("display/freq", 20000), and there was no problem in windows environment.

Second one is Ubuntu 20.04 LTS. I used miniconda environment.
I downloaded the tarball of full SCIPsuite, and only replaced scip folder inside with main branch of scip.
I compiled full SCIPsuite with replaced scip with option TPI=tny.
Then added the installed folder as environment variable.
Also I installed pyscipopt with master branch using pip.
In this case, it does not showed any output - but seems it was solving since the computer made really big noise.
However, when noise was stopped, jupyter kernel had timed out, and no results came out.

To Reproduce
I cannot upload the experienced model, but I think if you make a model with constraints more than 10k and make similar environment as I wrote, then it can be reproduced.

Expected behavior
The output table must be shown.

Screenshots
Screenshot from 2024-09-05 09-49-05

Sorry that I needed to hide the codes; but as you can see, the cell which is optimizing was started almost half of day ago. However, the CPU spec of linux environment is as this:
Screenshot from 2024-09-05 09-53-40
And memory spec is as this:
Screenshot from 2024-09-05 09-55-32
This is almost same with windows environment which shows output very well.

System
Skip this because already explained on question.

Additional context
These are my theories.
First, as I mentioned, I used whole SCIPsuite when compiled. Maybe I needed to compile only scip.
Second, it can be a problem which happens only on Ubuntu 20.04.
Third, it might be a crash from optional libraries; some optional ones were essential in reality.

@adover134
Copy link
Author

I forgot to mention; it seems this is not a segfault problem.

@adover134
Copy link
Author

scipopt/scip#106 (comment)

Seems first theory was right; rather I should say, SCIP itself has a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant