[SCIP] parameters not all coped to subscip
Stefan Vigerske
stefan at math.hu-berlin.de
Mon Oct 22 18:30:45 CEST 2018
Hi,
the SCIP core and SCIP plugins are responsible to copy also their
parameters. So parameters that are added neither by the core nor a
plugin are not copied. So at least this is expected behavior, probably
also intended because only plugins get copied to subscips, too.
So if your separator needs one of these uncopied parameter, it might be
better to have this parameter added by this separator than expect it to
be added from somewhere "outside".
Best,
Stefan
On 10/22/18 2:58 PM, James Cussens wrote:
> Dear SCIP,
>
>
> I have a SCIP problem where I add many parameters.
> I've noticed that the RINS and ALNS heuristics create a subscip (from the
> main scip instance) using SCIPcopyLargeNeighborhoodSearch. One problem I
> have encountered is that not all parameters from my main scip instance get
> copied to the subscip, and this causes errors during the subscip solving
> since e.g. I have a separator in one of my constraint handlers that asks
> for a value from one of these uncopied parameters. All of SCIP's parameters
> (in contrast to those added by my project code) get copied fine.
>
> The parameters that I add during SCIPincludeConshdlr... for my constraint
> handlers are copied (along with their current values), but not the
> parameters added during problem construction.
>
> This is not a big problem, and indeed the value that my separator needs
> should be stored in the constraint handler data (current code was an easy
> hack). But I am interested to know whether this is intended behaviour or
> not.
>
> James
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
More information about the Scip
mailing list