[SCIP] Help with setting up parallel solve in pyscipopt

Ambros Gleixner gleixner at zib.de
Thu Apr 13 12:22:05 CEST 2023


Hi Hon Fai,

Great!  And yes, we have fixed some things in the concurrent mode 
recently.  Can you try with the latest version of the v80-bugfix branch 
on github.com/scipopt/scip ?

Best,
Ambros


Am 13.04.2023 um 01:52 schrieb Hon Fai Vuong:
> Hi Ambrose, thanks for your response.  I missed that detail and made the 
> change.  I uninstalled the conda version of pyscipopt since it came with 
> it's own version of scip.  I reinstalled pyscipopt via pip and it now 
> appears that pyscipopt is using the version of scip that I build from 
> src. It runs normally with the optimize() function.
> 
> However when I try with the concurrentopt, it segfaults and produces a 
> core file.  I'm not sure what to do next.
> 
> -Hon Fai
> 
> On Wednesday, April 12, 2023 at 05:39:55 AM PDT, Ambros Gleixner 
> <gleixner at zib.de> wrote:
> 
> 
> Hi Hon Fai,
> 
> Did you see the description at
> 
> https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md 
> <https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md>
> 
> ?  You may have to set `export SCIPOPTDIR=<path_to_install_dir>` in your
> shell.
> 
> Best,
> Ambros
> 
> Am 11.04.2023 um 21:08 schrieb Hon Fai Vuong:
>  > Hello All,
>  >      I'm new to SCIP and wanted to try running with concurrent opt
>  > mode.  I'm working on Linux and was able to install the scip package via
>  > cond-forge, but when I attempted to use the parallel functionality via
>  > solveConcurrent(),
>  >
>  > I received the following warning:
>  >
>  > *UserWarning('SCIP was compiled without task processing interface.
>  > Parallel solve not possible - using optimize() instead of
>  > solveConcurrent()')*
>  >
>  > I read that by default SCIP isn't compiled with the TPI option, so went
>  > through the process of building it after much fumbling around.
>  > I can solve problems via command line with parallel mode with the
>  > rebuilt version.
>  >
>  > My question now is how to I tell psyscipopt to use that version?  I
>  > naively created a symlink to point the version of scipt in my virtual
>  > environment to the rebuilt version, but still running into the same 
> problem.
>  >
>  > Any help would be appreciated.
>  >
>  > Thanks,
>  > Hon Fai
> 
>  >
>  > _______________________________________________
>  > Scip mailing list
>  > Scip at zib.de <mailto:Scip at zib.de>
>  > https://listserv.zib.de/mailman/listinfo/scip 
> <https://listserv.zib.de/mailman/listinfo/scip>
> _______________________________________________
> Scip mailing list
> Scip at zib.de <mailto:Scip at zib.de>
> https://listserv.zib.de/mailman/listinfo/scip 
> <https://listserv.zib.de/mailman/listinfo/scip>
> 


More information about the Scip mailing list