Use of Scip after license change #573
Replies: 2 comments 1 reply
-
To pass a solution before SCIP starts solving, better use Maybe have a look at the code starting at https://github.com/coin-or/GAMSlinks/blob/master/src/scip/reader_gmo.c#L2127 To run a Cbc heuristic within SCIP, you could add a primal heuristic plugin to SCIP (see https://www.scipopt.org/doc-8.0.3/html/HEUR.php) that communicates with Cbc and passes solution back to SCIP. |
Beta Was this translation helpful? Give feedback.
-
@jjhforrest Could we maybe do this in a separate branch? I would still like to make a new version out of what is currently in master. If you have the bandwidth, could we maybe try to get what is in master closer to release? I recall that there were some weird regressions with what is in master that we were working through, but it kind of got dropped. I still don't have a lot of bandwidth for this, but have a student working a lot with Cbc, so maybe we could move things forward a bit. |
Beta Was this translation helpful? Give feedback.
-
I have been trying to improve Cbc, and searching around, I discovered that the Scip license has changed from the ZIB Academic license to Apache 2. This make it's use much more attractive in Coin. I have added some code to Cbc to use Scip. There is so much documentation, that I found it difficult to find everything I wanted - so I would appreciate help. To use Scip you need to define -DCBC_TRY_SCIP in coinbrew and use -I, -L etc to point to files. Then adding -options usescip will use scip after Cbc does work at root node. You may want to switch off Cgl cuts. Cbc heuristics would be good - but there I need help as to how to pass in a solution to Scip. To encourage someone to play with the code, I put my attempt to use Scip in CbcGeneral.cpp. You will see TODO in several places and that is where I would appreciate help.
I think this could be important.
Since I am here, I will mention two other "improvements". In the standalone solver you can now add -optionfile filename. This can have commands you keep using - to make it easier if you always use several commands. So my file has lines like
preprocess equalall
more2 lagrangean2
depth 5
or the file could just have those all on one line as -preprocess equalall -more2 lagrangean2 -depth 5
This is actually a first step to try and make options more readable.
The second "improvement" is to allow more than 2147483647 nodes!
Beta Was this translation helpful? Give feedback.
All reactions