<div dir="ltr"><div><div><div><div><div><div>Dear SCIPers<br><br></div>for my branch-and -price , I spent one day trying implement (with minimal success) those stuffs in explained in  FAQ (also looking at coloring example). The question in FAQ says:<br>
"I want to store some information at the nodes and update my pricer's data structures
when entering a new node. How can I do that?"<br><br></div><div>The explanation is talking about three different things apparently.<br></div><div>What I need is basically imposing branches in master problem on variables of subproblem:<br>
</div><div>that is the last line of this FAQ question.<br></div><div><br></div><div></div>Well, I doubt that looking into the coloring example would be a very straightforward way to understand how to do that, at least for me :)<br>
<br></div>I have added<br>  <br>   SCIP_CALL( SCIPaddConsNode(scip, upchild,   up_branch_con,  NULL) );<br>   SCIP_CALL( SCIPaddConsNode(scip, downchild, down_branch_con, NULL) );<br><br></div>  Now in the SCIP_DECL_PRICERREDCOST:<br>
</div>How does one recover this constraint and the data attached to the current branch node? what about the whole history of branches along the tree up to this node?<br><br><br></div>Cheers<br>Shahin<br><div><div><br><div>
<div><div><div><br><br><div><br></div></div></div></div></div></div></div></div>