Skip to content

How to find SCIP version and dump all settings #3424

@rlevinso

Description

@rlevinso

Hello,

I'm using OR-Tools Python API with SCIP solver, and see major differences between solving a model within OR-Tools vs. creating the model in OR-Tools, saving out the model file, then loading it up in SCIP shell and solving in shell.

It takes 300-700 seconds to solve via OR-Tools, but only 8 seconds using the shell to solve the same exact model (which was created in OR-Tools).

It was taking ~300 seconds to solve in OR-Tools, then I saw this in the March 2022 release notes under Dependency Updates:
SCIP 7.0.1 -> v800.

Does that mean it changed to SCIP 8.0.0?

I'm using 8.0.0 in the shell so updated my OR-Tools, and it actually got much slower, taking about 650 seconds to solve, vs. ~250 secs before I updated, vs. 8 seconds using the SCIP shell.

I'd like to dump SCIP shell parameter settings to a file (I know how to do that), then load that settings file into my OR-Tools (I know how to load the file in pure SCIP but not in OR-Tools).

Specific questions:

  1. How can I determine the differences between the version and parameter settings used by OR-Tools vs. the SCIP shell?
  2. How can I determine what version of SCIP I'm using with OR-Tools?
  3. How can I determine all of the SCIP parameter settings being used with my OR-Tools installation? This would be equivalent of SCIP> set save in the Shell.
  4. How can I load a file of SCIP parameter settings into my OR-Tools Python API?

General question:
Do you have any suggestions about how to bring my OR-Tool SCIP performance in line with the SCIP shell?

Thank you,
Rich Levinson
NASA Ames Research Center

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions