scipopt / scip

SCIP - Solving Constraint Integer Programs
Other
369 stars 63 forks source link

SCIP 8 concurrentopt #20

Closed chemrgineer closed 2 years ago

chemrgineer commented 2 years ago

Hi, I'm trying to use concurrentopt mode in SCIP. I compiled with CPLEX and IPOPT. While configuring with CMake I activated OpenMP library. So there is no problem with functionality. But my problem is working with Pyomo. Pyomo can not use internal functions as far as I know. I checked "scip --help" command and there is "-c "command" : execute single line of dialog commands (can be used multiple times)". So that I decided to pass "-c concurrentopt" but its not working. I tried "scip -c concurrentopt -f example.nl" command and I get: "cannot mix batch mode '-c' and '-b' with file mode '-f'" Is there any other alternatives to run parallel in default?

fschloesser commented 2 years ago

Hey @chemrgineer, Scip tells you what the problem is, you cannot mix batch mode with file mode. Try reading the instance in batch mode: ./scip -c "read example.nl concurrentopt" Best, Franziska