-
Notifications
You must be signed in to change notification settings - Fork 76
SCIP tests fail when using HiGHs as the solver #102
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
Comments
I only made it compile again. But also our internal tests started to fail after upgrading to a more recent HiGHS, 1.7.2 in particular. You may have to go back to an older HiGHS version for now. |
Just following up on this, I tried iterating on a variety of configurations where I iterated on the dockerfile I shared above, but have continued to run into issues getting all the tests to pass. I was able to get more tests working with SCIP 9.1.0 with HiGHS 1.6.0 as long as I did You mention HiGHS 1.7.2 in particular giving you trouble on the internal tests. Are you aware of any "known good" SCIP/HiGHS version pairings that would be recommended as a baseline? How much weight should I put on getting passing tests? Any other details you can shat that might help? In other words, if a pairing of versions seems to successfully solve problems I throw at it, do you think I should I trust the results? Tests Failed with SCIP 9.1.0/ HiGHS 1.6.0:The following tests FAILED: Error (all same): [lpi_highs.cpp:496] ERROR: HiGHS terminated with model status <Unknown> (15) after simplex strategy <Dual (serial)> (1)
[lpi_highs.cpp:1486] ERROR: Error <-6> in function call |
The error happens when solving an LP in strong branching. The https://github.com/scipopt/scip/blob/master/src/lpi/lpi_highs.cpp#L519 @ambros-gleixner this happens in the codeblock:
where presolving is turned off and on again. There was a recent change in highs where the model_status is reset in @ambros-gleixner One workaround could be to set the model status to the previous value after calling |
We should not change the logic in lp.c, and I would not count on Highs changing this behavior. Another workaround, that may be easier to implement and safer:
Sounds good? |
Sounds good, I will prepare a MR for this |
@GioniMexi implemented the workaround that was suggested by @ambros-gleixner and this has been included in SCIP 9.2.0. |
...though |
@svigerske When using SCIP 9.2.1 with a recent version of HiGHS (I use https://github.com/ERGO-Code/HiGHS/tree/ccf22bd1f98de41505e1e8af9543f58dfe6d906d where an issue in the latest released version 1.10.0 that hinders compiling in this context is already resolved, cf. ERGO-Code/HiGHS#2283) I can see multiple failing tests which I wanted to inform you about:
To gather more details, I re-ran the failed tests using
For comparison, I ran SCIP with SoPlex and I cannot see any failing tests then (0 tests failed out of 1693). If I can provide any more information that helps to sort out these problems please let me know. |
Yes, we're aware that there are more issues left, in particular with recent versions of HiGHS. There hasn't been the time to look into it so far. If @ambros-gleixner or another lpi_highs dev doesn't get to it first, then I hope @Opt-Mucca will find time to look into it in a few months. |
Summary
I'm unable to get the SCIP tests to pass when compiling SCIP with HiGHS set as the solver. Specifically I tested this with SCIP 9.1.0 and HiGHS 1.7.2 (and 1.7.1). It finished compiling without error, but there are a series of tests that fail when HiGHS is set as the solver. All the HiGHS tests pass, so I figured I'd reach out here first. I didn't have any problem when setting
-DLPS=spx
.I'm unsure if this is related to #89, though I didn't see the errors specified there. @svigerske, in the same issue you mentioned being able to compile "the SCIP/HiGHS interface of SCIP 9.1.0 with HiGHS 1.7.1." Is the below configuration what you meant and were you able to successfully get the tests to pass?
I apologize in advance if I'm missing something with how I'm compiling. Solutions or next steps for troubleshooting are welcome.
Tests that fail
Specifically this is the list of failing tests from when I was trying to trying to compile the whole suite and not just SCIP. Just to speed up testing, I randomly selected one of these tests for the Dockerfile.
Error from trying to build the Dockerfile
After spot checking a few of the tests failing above, all seemed to have the same error as below.
Sample Dockerfile to try to compiling:
I saved the below as
Dockerfile_test
and tried building it with the command below. The specified test was one randomly selected from the list above.docker build -t build_test --file Dockerfile_test --progress=plain . &> build_test.log
The text was updated successfully, but these errors were encountered: