[Scip] Creating a Hash Map for SCIPcopy

Matthias Walter xammy at xammy.info
Tue Jul 1 17:55:59 CEST 2014


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


More information about the Scip mailing list