<div dir="ltr">  Hello again,<br><br>  Reading the source code of SCIPcopy() method, I understood that it creates a<br>new and independent SCIP instance, and copies into this instance information<br>from the original one. Then, I concluded that my concern about changes in a<br>sub-scip affecting the original SCIP instance makes no sense.<br><br>  I will keep going with my implementation, and report on further issues.<br><br>  Best regards,<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 3, 2015 at 11:41 AM, Andrei Braga <span dir="ltr"><<a href="mailto:andreisampaio@gmail.com" target="_blank">andreisampaio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">  Dear all,<br><br>  I am new to SCIP and I am trying to code a branch-and-price method. I'd like<br>to ask you about how to implement the steps I describe below.<br><br>  I've read about "diving" and "probing", but I think these aren't approaches<br>suited for my purposes. I guess I should use a "sub-SCIP" (which I suppose is<br>obtained through a call to the scipCopy() method), but I don't understand the<br>details of the process (for example, changes made in the sub-SCIP affect the<br>original SCIP instance?).<br><br>  Let X be a subset of variables. When, after LP solving in a B&B node, all<br>variables in X have integer value, I want to:<br>  1) Create an copy of SCIP;<br>  2) In this copy, delete some variables and constraints;<br>  3) In this copy, replace the branching rules and the pricers by other ones;<br>  4) In this copy, solve the "smaller" problem to optimality;<br>  5) In the original SCIP instance, prune the B&B-node for optimality.<br>I need that the deletions made in the SCIP copy do not affect the original<br>SCIP instance.<br><br>  Thank you very much,<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div>Andrei Braga<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Andrei Braga<br></div>
</div>