[Scip] Creating a Hash Map for SCIPcopy

Matthias Walter xammy at xammy.info
Wed Jul 2 09:13:25 CEST 2014


Thank you very much - I was looking for a SCIPget* method but it seems
like I didn't look thoroughly. Now everything works like a charm!

Best regards,

Matthias

On 07/01/2014 07:36 PM, Timo Berthold wrote:
> Hi Matthias,
> 
> you can get access to the block memory pointer by calling SCIPblkmem(scip)
> which is defined in scip.h. As an example for passing information forward
> and backward between a source SCIP and a target SCIP, see, e.g., the RENS
> heuristic.
> 
> Best regards,
> Timo
> 
>> Dear list,
>>
>> I want to use SCIPcopy() to produce a global copy of a given problem. I
>> want to know which source variable corresponds to which target variable.
>> I assume that the best way is to supply SCIPcopy() with a hash map (i.e.
>> set the varmap parameter). But how do I create the hash map?
>>
>> SCIPhashmapCreate() needs a BMS_BLKMEM*, but I don't have access to
>> scip->mem->probmem! Shall I instantiate a new block memory shell?
>>
>> Best regards,
>>
>> Matthias Walter
>> _______________________________________________
>> Scip mailing list
>> Scip at zib.de
>> http://listserv.zib.de/mailman/listinfo/scip
>>
> 
> 



More information about the Scip mailing list