<div dir="ltr"><div>Dear SCIP community,<br><br>In my branch-and-price implementation in SCIP, I have a number of continuous variables that I have to modify multiple times. This should happen once every number of times that the pricing function is called. So, these variables are meant to be modified several times while the (progressively growing) LP is being solved. <br>

<br>The modification involves changing the objective function values as well as variable bounds. I know that I can change the bounds using SCIPchgVarLb(...) and SCIPchgVarUb(...). However, I don&#39;t know how to change the objective function value while in SCIP_STAGE_SOLVING, especially when the lp has not been solved to optimality yet. <br>

<br>So far, the only safe way that I have found for doing so is to fix all these variables to zero, and create another set with different objective function coefficients and different bounds within the pricing function. Also, By setting these variables as removable and reducing &quot;lp/colagelimit&quot; I hope that they are removed from the LP soon enough after they are fixed to zero. <br>

<br>My question is that whether there is a better way for modifying the objective function values without having to remove and re-create the variables?<br><br></div>Behrouz<br></div>